1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2007-2014 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 */
23 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
25 .2byte 2 /* DWARF Version */
26 .4byte .Labbrev1_begin /* Offset into abbrev section */
27 .byte 4 /* Pointer size */
30 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
31 .4byte cu_text_end /* DW_AT_high_pc */
32 .4byte cu_text_start /* DW_AT_low_pc */
33 .ascii "file1.txt\0" /* DW_AT_name */
34 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */
35 .byte 1 /* DW_AT_language (C) */
38 .uleb128 3 /* Abbrev: DW_TAG_base_type */
39 .ascii "int\0" /* DW_AT_name */
40 .byte 4 /* DW_AT_byte_size */
41 .byte 5 /* DW_AT_encoding */
44 .uleb128 5 /* Abbrev: DW_TAG_subprogram (no fb) */
45 .ascii "func_nofb\0" /* DW_AT_name */
46 .4byte func_nofb_start /* DW_AT_low_pc */
47 .4byte func_nofb_end /* DW_AT_high_pc */
49 .uleb128 7 /* Abbrev: DW_TAG_variable (location) */
50 .ascii "func_nofb_var\0" /* DW_AT_name */
51 .byte 2f - 1f /* DW_AT_location */
52 1: .byte 0x91 /* DW_OP_fbreg */
54 2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
56 .byte 0 /* End of children of func */
59 .uleb128 6 /* Abbrev: DW_TAG_subprogram (loop fb) */
60 .ascii "func_loopfb\0" /* DW_AT_name */
61 .4byte func_loopfb_start /* DW_AT_low_pc */
62 .4byte func_loopfb_end /* DW_AT_high_pc */
63 .byte 2f - 1f /* DW_AT_frame_base */
64 1: .byte 0x91 /* DW_OP_fbreg */
68 .uleb128 7 /* Abbrev: DW_TAG_variable (location) */
69 .ascii "func_loopfb_var\0" /* DW_AT_name */
70 .byte 2f - 1f /* DW_AT_location */
71 1: .byte 0x91 /* DW_OP_fbreg */
73 2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
75 .byte 0 /* End of children of func */
77 .byte 0 /* End of children of CU */
82 .section .debug_abbrev
84 .uleb128 1 /* Abbrev code */
85 .uleb128 0x11 /* DW_TAG_compile_unit */
86 .byte 1 /* has_children */
87 .uleb128 0x12 /* DW_AT_high_pc */
88 .uleb128 0x1 /* DW_FORM_addr */
89 .uleb128 0x11 /* DW_AT_low_pc */
90 .uleb128 0x1 /* DW_FORM_addr */
91 .uleb128 0x3 /* DW_AT_name */
92 .uleb128 0x8 /* DW_FORM_string */
93 .uleb128 0x25 /* DW_AT_producer */
94 .uleb128 0x8 /* DW_FORM_string */
95 .uleb128 0x13 /* DW_AT_language */
96 .uleb128 0xb /* DW_FORM_data1 */
97 .byte 0x0 /* Terminator */
98 .byte 0x0 /* Terminator */
100 .uleb128 3 /* Abbrev code */
101 .uleb128 0x24 /* DW_TAG_base_type */
102 .byte 0 /* has_children */
103 .uleb128 0x3 /* DW_AT_name */
104 .uleb128 0x8 /* DW_FORM_string */
105 .uleb128 0xb /* DW_AT_byte_size */
106 .uleb128 0xb /* DW_FORM_data1 */
107 .uleb128 0x3e /* DW_AT_encoding */
108 .uleb128 0xb /* DW_FORM_data1 */
109 .byte 0x0 /* Terminator */
110 .byte 0x0 /* Terminator */
112 .uleb128 5 /* Abbrev code */
113 .uleb128 0x2e /* DW_TAG_subprogram (no fb) */
114 .byte 1 /* has_children */
115 .uleb128 0x3 /* DW_AT_name */
116 .uleb128 0x8 /* DW_FORM_string */
117 .uleb128 0x11 /* DW_AT_low_pc */
118 .uleb128 0x1 /* DW_FORM_addr */
119 .uleb128 0x12 /* DW_AT_high_pc */
120 .uleb128 0x1 /* DW_FORM_addr */
121 .byte 0x0 /* Terminator */
122 .byte 0x0 /* Terminator */
124 .uleb128 6 /* Abbrev code */
125 .uleb128 0x2e /* DW_TAG_subprogram (loop fb) */
126 .byte 1 /* has_children */
127 .uleb128 0x3 /* DW_AT_name */
128 .uleb128 0x8 /* DW_FORM_string */
129 .uleb128 0x11 /* DW_AT_low_pc */
130 .uleb128 0x1 /* DW_FORM_addr */
131 .uleb128 0x12 /* DW_AT_high_pc */
132 .uleb128 0x1 /* DW_FORM_addr */
133 .uleb128 0x40 /* DW_AT_frame_base */
134 .uleb128 0xa /* DW_FORM_block1 */
135 .byte 0x0 /* Terminator */
136 .byte 0x0 /* Terminator */
138 .uleb128 7 /* Abbrev code (location) */
139 .uleb128 0x34 /* DW_TAG_variable */
140 .byte 0 /* has_children */
141 .uleb128 0x3 /* DW_AT_name */
142 .uleb128 0x8 /* DW_FORM_string */
143 .uleb128 0x2 /* DW_AT_location */
144 .uleb128 0xa /* DW_FORM_block1 */
145 .uleb128 0x49 /* DW_AT_type */
146 .uleb128 0x13 /* DW_FORM_ref4 */
147 .byte 0x0 /* Terminator */
148 .byte 0x0 /* Terminator */
150 .byte 0x0 /* Terminator */
151 .byte 0x0 /* Terminator */