1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2008 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 /* Debug information */
22 .long .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
24 .value 2 /* DWARF version number */
25 .long .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
26 .byte 4 /* Pointer Size (in bytes) */
29 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
30 .long .Lproducer /* DW_AT_producer */
31 .byte 1 /* DW_AT_language (C) */
34 .uleb128 2 /* Abbrev: DW_TAG_array_type */
35 .long .Lchar_type-.Lcu1_begin /* DW_AT_type */
37 .uleb128 3 /* Abbrev: DW_TAG_subrange_type */
38 .long .Luint_type-.Lcu1_begin /* DW_AT_type */
39 .byte 0xd /* DW_AT_upper_bound */
40 .byte 0 /* End of children of die */
43 .uleb128 4 /* Abbrev: DW_TAG_base_type */
44 .long .Luint_str /* DW_AT_name */
45 .byte 4 /* DW_AT_byte_size */
46 .byte 7 /* DW_AT_encoding */
49 .uleb128 4 /* Abbrev: DW_TAG_base_type */
50 .long .Lchar_str /* DW_AT_name */
51 .byte 1 /* DW_AT_byte_size */
52 .byte 6 /* DW_AT_encoding */
54 .uleb128 5 /* Abbrev: DW_TAG_variable */
55 .long .Lvarname /* DW_AT_name */
56 .long .Lconst_type-.Lcu1_begin/* DW_AT_type */
57 .long .Lvarcontents /* DW_AT_const_value */
58 .byte 1 /* DW_AT_external */
61 .uleb128 6 /* Abbrev: DW_TAG_const_type */
62 .long .Larray_type-.Lcu1_begin/* DW_AT_type */
63 .byte 0 /* End of children of CU */
66 .section .debug_abbrev
68 .uleb128 1 /* Abbrev code */
69 .uleb128 0x11 /* DW_TAG_compile_unit */
70 .byte 0x1 /* has_children */
71 .uleb128 0x25 /* DW_AT_producer */
72 .uleb128 0xe /* DW_FORM_strp */
73 .uleb128 0x13 /* DW_AT_language */
74 .uleb128 0xb /* DW_FORM_data1 */
75 .byte 0x0 /* Terminator */
76 .byte 0x0 /* Terminator */
78 .uleb128 2 /* Abbrev code */
79 .uleb128 0x1 /* TAG: DW_TAG_array_type */
80 .byte 0x1 /* DW_children_yes */
81 .uleb128 0x49 /* DW_AT_type */
82 .uleb128 0x13 /* DW_FORM_ref4 */
83 .byte 0x0 /* Terminator */
84 .byte 0x0 /* Terminator */
86 .uleb128 3 /* Abbrev code */
87 .uleb128 0x21 /* DW_TAG_subrange_type */
88 .byte 0x0 /* no children */
89 .uleb128 0x49 /* DW_AT_type */
90 .uleb128 0x13 /* DW_FORM_ref4 */
91 .uleb128 0x2f /* DW_AT_upper_bound */
92 .uleb128 0xb /* DW_FORM_data1 */
93 .byte 0x0 /* Terminator */
94 .byte 0x0 /* Terminator */
96 .uleb128 4 /* Abbrev code */
97 .uleb128 0x24 /* DW_TAG_base_type */
98 .byte 0x0 /* no_children */
99 .uleb128 0x3 /* DW_AT_name */
100 .uleb128 0xe /* DW_FORM_strp */
101 .uleb128 0xb /* DW_AT_byte_size */
102 .uleb128 0xb /* DW_FORM_data1 */
103 .uleb128 0x3e /* DW_AT_encoding */
104 .uleb128 0xb /* DW_FORM_data1 */
105 .byte 0x0 /* Terminator */
106 .byte 0x0 /* Terminator */
108 .uleb128 5 /* Abbrev code */
109 .uleb128 0x34 /* DW_TAG_variable */
110 .byte 0x0 /* no_children */
111 .uleb128 0x3 /* DW_AT_name */
112 .uleb128 0xe /* DW_FORM_strp */
113 .uleb128 0x49 /* DW_AT_type */
114 .uleb128 0x13 /* DW_FORM_ref4 */
115 .uleb128 0x1c /* DW_AT_const_value */
116 .uleb128 0xe /* DW_FORM_strp */
117 .uleb128 0x3f /* DW_AT_external */
118 .uleb128 0xc /* DW_FORM_flag */
119 .byte 0x0 /* Terminator */
120 .byte 0x0 /* Terminator */
122 .uleb128 6 /* Abbrev code */
123 .uleb128 0x26 /* DW_TAG_const_type */
124 .byte 0x0 /* DW_children_no */
125 .uleb128 0x49 /* DW_AT_type */
126 .uleb128 0x13 /* DW_FORM_ref4 */
127 .byte 0x0 /* Terminator */
128 .byte 0x0 /* Terminator */
129 .byte 0x0 /* Terminator */
134 .string "GNU C 3.3.3"
138 .string "unsigned int"
142 .string "hello world!\n"