1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2011-2022 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/>. */
24 .type outer_before, %function
29 .size outer_before, . - outer_before
37 .type outer_after, %function
42 .size outer_after, . - outer_after
44 /* Debug information */
49 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
51 .2byte 2 /* DWARF Version */
52 .4byte .Labbrev1_begin /* Offset into abbrev section */
53 .byte 4 /* Pointer size */
56 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
57 .4byte .Lline1_begin /* DW_AT_stmt_list */
58 .4byte 0 /* DW_AT_low_pc */
59 .4byte .Ldebug_ranges /* DW_AT_ranges */
60 .ascii "outer.c\0" /* DW_AT_name */
61 .ascii "/tmp\0" /* DW_AT_comp_dir */
62 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */
63 .byte 1 /* DW_AT_language (C) */
66 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
67 .byte 1 /* DW_AT_external */
68 .byte 1 /* DW_AT_decl_file */
69 .byte 1 /* DW_AT_decl_line */
70 .ascii "outer_before\0" /* DW_AT_name */
71 .4byte .Lbegin_outer_before /* DW_AT_low_pc */
72 .4byte .Lend_outer_before /* DW_AT_high_pc */
75 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
76 .byte 1 /* DW_AT_external */
77 .byte 1 /* DW_AT_decl_file */
78 .byte 2 /* DW_AT_decl_line */
79 .ascii "outer_after\0" /* DW_AT_name */
80 .4byte .Lbegin_outer_after /* DW_AT_low_pc */
81 .4byte .Lend_outer_after /* DW_AT_high_pc */
83 .byte 0 /* End of children of CU */
88 .section .debug_ranges
90 .4byte .Lbegin_outer_before
91 .4byte .Lend_outer_before
92 .4byte .Lbegin_outer_after
93 .4byte .Lend_outer_after
98 .section .debug_abbrev
100 .uleb128 1 /* Abbrev code */
101 .uleb128 0x11 /* DW_TAG_compile_unit */
102 .byte 1 /* has_children */
103 .uleb128 0x10 /* DW_AT_stmt_list */
104 .uleb128 0x6 /* DW_FORM_data4 */
105 .uleb128 0x11 /* DW_AT_low_pc */
106 .uleb128 0x1 /* DW_FORM_addr */
107 .uleb128 0x55 /* DW_AT_ranges */
108 .uleb128 0x6 /* DW_FORM_data4 */
109 .uleb128 0x3 /* DW_AT_name */
110 .uleb128 0x8 /* DW_FORM_string */
111 .uleb128 0x1b /* DW_AT_comp_dir */
112 .uleb128 0x8 /* DW_FORM_string */
113 .uleb128 0x25 /* DW_AT_producer */
114 .uleb128 0x8 /* DW_FORM_string */
115 .uleb128 0x13 /* DW_AT_language */
116 .uleb128 0xb /* DW_FORM_data1 */
117 .byte 0x0 /* Terminator */
118 .byte 0x0 /* Terminator */
120 .uleb128 2 /* Abbrev code */
121 .uleb128 0x2e /* DW_TAG_subprogram */
122 .byte 0 /* has_children */
123 .uleb128 0x3f /* DW_AT_external */
124 .uleb128 0xc /* DW_FORM_flag */
125 .uleb128 0x3a /* DW_AT_decl_file */
126 .uleb128 0xb /* DW_FORM_data1 */
127 .uleb128 0x3b /* DW_AT_decl_line */
128 .uleb128 0xb /* DW_FORM_data1 */
129 .uleb128 0x3 /* DW_AT_name */
130 .uleb128 0x8 /* DW_FORM_string */
131 .uleb128 0x11 /* DW_AT_low_pc */
132 .uleb128 0x1 /* DW_FORM_addr */
133 .uleb128 0x12 /* DW_AT_high_pc */
134 .uleb128 0x1 /* DW_FORM_addr */
135 .byte 0x0 /* Terminator */
136 .byte 0x0 /* Terminator */
138 .byte 0x0 /* Terminator */
139 .byte 0x0 /* Terminator */
144 .4byte .Lline1_end - .Lline1_start /* Initial length */
146 .2byte 2 /* Version */
147 .4byte .Lline1_lines - .Lline1_hdr /* header_length */
149 .byte 1 /* Minimum insn length */
150 .byte 1 /* default_is_stmt */
151 .byte 1 /* line_base */
152 .byte 1 /* line_range */
153 .byte 0x10 /* opcode_base */
155 /* Standard lengths */
172 /* Include directories */
185 .byte 0 /* DW_LNE_set_address */
188 .4byte .Lbegin_outer_before
190 .byte 1 /* DW_LNS_copy */
192 .byte 0 /* DW_LNE_set_address */
195 .4byte .Lbegin_outer_after
197 .byte 3 /* DW_LNS_advance_line */
198 .sleb128 2 /* ... to 3 */
200 .byte 1 /* DW_LNS_copy */
202 .byte 0 /* DW_LNE_set_address */
205 .4byte .Lend_outer_after
207 .byte 0 /* DW_LNE_end_of_sequence */