Commit | Line | Data |
---|---|---|
65d79d4b SDJ |
1 | /* This testcase is part of GDB, the GNU debugger. |
2 | ||
8acc9f48 | 3 | Copyright 2010-2013 Free Software Foundation, Inc. |
65d79d4b SDJ |
4 | |
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. | |
9 | ||
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. | |
14 | ||
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/>. */ | |
17 | ||
18 | /* This source file was generated from watch-notconst2.c using the following | |
19 | command line: | |
20 | ||
21 | gcc -m32 -dA -S -g -O2 watch-notconst2.c -o watch-notconst2.S | |
22 | ||
23 | */ | |
24 | ||
25 | ||
26 | .file "watch-notconst2.c" | |
27 | .section .debug_abbrev,"",@progbits | |
28 | .Ldebug_abbrev0: | |
29 | .section .debug_info,"",@progbits | |
30 | .Ldebug_info0: | |
31 | .section .debug_line,"",@progbits | |
32 | .Ldebug_line0: | |
33 | .text | |
34 | .Ltext0: | |
35 | .cfi_sections .debug_frame | |
36 | .p2align 4,,15 | |
37 | .globl f | |
38 | .type f, @function | |
39 | f: | |
40 | .LFB0: | |
41 | .file 1 "watch-notconst2.c" | |
42 | # watch-notconst2.c:30 | |
43 | .loc 1 30 0 | |
44 | .cfi_startproc | |
45 | .LVL0: | |
46 | # basic block 2 | |
47 | pushl %ebp | |
48 | .cfi_def_cfa_offset 8 | |
49 | movl %esp, %ebp | |
50 | .cfi_offset 5, -8 | |
51 | .cfi_def_cfa_register 5 | |
52 | pushl %ebx | |
53 | subl $20, %esp | |
54 | # watch-notconst2.c:30 | |
55 | .loc 1 30 0 | |
56 | movl 8(%ebp), %ebx | |
57 | .cfi_offset 3, -12 | |
58 | # watch-notconst2.c:32 | |
59 | .loc 1 32 0 | |
60 | movl $2, (%esp) | |
61 | call g | |
62 | .LVL1: | |
63 | # watch-notconst2.c:34 | |
64 | .loc 1 34 0 | |
65 | movl %ebx, 8(%ebp) | |
66 | # watch-notconst2.c:35 | |
67 | .loc 1 35 0 | |
68 | addl $20, %esp | |
69 | popl %ebx | |
70 | .cfi_restore 3 | |
71 | popl %ebp | |
72 | .cfi_restore 5 | |
73 | .cfi_def_cfa 4, 4 | |
74 | .LVL2: | |
75 | # watch-notconst2.c:34 | |
76 | .loc 1 34 0 | |
77 | jmp g | |
78 | .cfi_endproc | |
79 | .LFE0: | |
80 | .size f, .-f | |
81 | .Letext0: | |
82 | .section .debug_loc,"",@progbits | |
83 | .Ldebug_loc0: | |
84 | .LLST0: | |
85 | .long .LVL0-.Ltext0 # Location list begin address (*.LLST0) | |
86 | .long .LVL1-.Ltext0 # Location list end address (*.LLST0) | |
87 | .value 0x2 # Location expression size | |
88 | .byte 0x35 # DW_OP_lit5 | |
89 | .byte 0x9f # DW_OP_stack_value | |
90 | .long .LVL1-.Ltext0 # Location list begin address (*.LLST0) | |
91 | .long .LVL2-.Ltext0 # Location list end address (*.LLST0) | |
92 | .value 0x1 # Location expression size | |
93 | .byte 0x53 # DW_OP_reg3 | |
94 | .long 0x0 # Location list terminator begin (*.LLST0) | |
95 | .long 0x0 # Location list terminator end (*.LLST0) | |
96 | .section .debug_info | |
97 | .long 0x5c # Length of Compilation Unit Info | |
98 | .value 0x3 # DWARF version number | |
99 | .long .Ldebug_abbrev0 # Offset Into Abbrev. Section | |
100 | .byte 0x4 # Pointer Size (in bytes) | |
101 | .uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit) | |
102 | .long .LASF0 # DW_AT_producer: "GNU C 4.4.3 20100127 (Red Hat 4.4.3-4)" | |
103 | .byte 0x1 # DW_AT_language | |
104 | .long .LASF1 # DW_AT_name: "watch-notconst2.c" | |
105 | .long .LASF2 # DW_AT_comp_dir: "" | |
106 | .long .Ltext0 # DW_AT_low_pc | |
107 | .long .Letext0 # DW_AT_high_pc | |
108 | .long .Ldebug_line0 # DW_AT_stmt_list | |
109 | .uleb128 0x2 # (DIE (0x25) DW_TAG_subprogram) | |
110 | .byte 0x1 # DW_AT_external | |
111 | .ascii "f\0" # DW_AT_name | |
112 | .byte 0x1 # DW_AT_decl_file (watch-notconst2.c) | |
113 | .byte 0x1d # DW_AT_decl_line | |
114 | .byte 0x1 # DW_AT_prototyped | |
115 | .long 0x58 # DW_AT_type | |
116 | .long .LFB0 # DW_AT_low_pc | |
117 | .long .LFE0 # DW_AT_high_pc | |
118 | .byte 0x1 # DW_AT_frame_base | |
119 | .byte 0x9c # DW_OP_call_frame_cfa | |
120 | .long 0x58 # DW_AT_sibling | |
121 | .uleb128 0x3 # (DIE (0x3e) DW_TAG_formal_parameter) | |
122 | .ascii "i\0" # DW_AT_name | |
123 | .byte 0x1 # DW_AT_decl_file (watch-notconst2.c) | |
124 | .byte 0x1d # DW_AT_decl_line | |
125 | .long 0x58 # DW_AT_type | |
126 | .byte 0x2 # DW_AT_location | |
127 | .byte 0x91 # DW_OP_fbreg | |
128 | .sleb128 0 | |
129 | .uleb128 0x4 # (DIE (0x4a) DW_TAG_variable) | |
130 | .ascii "x\0" # DW_AT_name | |
131 | .byte 0x1 # DW_AT_decl_file (watch-notconst2.c) | |
132 | .byte 0x1f # DW_AT_decl_line | |
133 | .long 0x58 # DW_AT_type | |
134 | .long .LLST0 # DW_AT_location | |
135 | .byte 0x0 # end of children of DIE 0x25 | |
136 | .uleb128 0x5 # (DIE (0x58) DW_TAG_base_type) | |
137 | .byte 0x4 # DW_AT_byte_size | |
138 | .byte 0x5 # DW_AT_encoding | |
139 | .ascii "int\0" # DW_AT_name | |
140 | .byte 0x0 # end of children of DIE 0xb | |
141 | .section .debug_abbrev | |
142 | .uleb128 0x1 # (abbrev code) | |
143 | .uleb128 0x11 # (TAG: DW_TAG_compile_unit) | |
144 | .byte 0x1 # DW_children_yes | |
145 | .uleb128 0x25 # (DW_AT_producer) | |
146 | .uleb128 0xe # (DW_FORM_strp) | |
147 | .uleb128 0x13 # (DW_AT_language) | |
148 | .uleb128 0xb # (DW_FORM_data1) | |
149 | .uleb128 0x3 # (DW_AT_name) | |
150 | .uleb128 0xe # (DW_FORM_strp) | |
151 | .uleb128 0x1b # (DW_AT_comp_dir) | |
152 | .uleb128 0xe # (DW_FORM_strp) | |
153 | .uleb128 0x11 # (DW_AT_low_pc) | |
154 | .uleb128 0x1 # (DW_FORM_addr) | |
155 | .uleb128 0x12 # (DW_AT_high_pc) | |
156 | .uleb128 0x1 # (DW_FORM_addr) | |
157 | .uleb128 0x10 # (DW_AT_stmt_list) | |
158 | .uleb128 0x6 # (DW_FORM_data4) | |
159 | .byte 0x0 | |
160 | .byte 0x0 | |
161 | .uleb128 0x2 # (abbrev code) | |
162 | .uleb128 0x2e # (TAG: DW_TAG_subprogram) | |
163 | .byte 0x1 # DW_children_yes | |
164 | .uleb128 0x3f # (DW_AT_external) | |
165 | .uleb128 0xc # (DW_FORM_flag) | |
166 | .uleb128 0x3 # (DW_AT_name) | |
167 | .uleb128 0x8 # (DW_FORM_string) | |
168 | .uleb128 0x3a # (DW_AT_decl_file) | |
169 | .uleb128 0xb # (DW_FORM_data1) | |
170 | .uleb128 0x3b # (DW_AT_decl_line) | |
171 | .uleb128 0xb # (DW_FORM_data1) | |
172 | .uleb128 0x27 # (DW_AT_prototyped) | |
173 | .uleb128 0xc # (DW_FORM_flag) | |
174 | .uleb128 0x49 # (DW_AT_type) | |
175 | .uleb128 0x13 # (DW_FORM_ref4) | |
176 | .uleb128 0x11 # (DW_AT_low_pc) | |
177 | .uleb128 0x1 # (DW_FORM_addr) | |
178 | .uleb128 0x12 # (DW_AT_high_pc) | |
179 | .uleb128 0x1 # (DW_FORM_addr) | |
180 | .uleb128 0x40 # (DW_AT_frame_base) | |
181 | .uleb128 0xa # (DW_FORM_block1) | |
182 | .uleb128 0x1 # (DW_AT_sibling) | |
183 | .uleb128 0x13 # (DW_FORM_ref4) | |
184 | .byte 0x0 | |
185 | .byte 0x0 | |
186 | .uleb128 0x3 # (abbrev code) | |
187 | .uleb128 0x5 # (TAG: DW_TAG_formal_parameter) | |
188 | .byte 0x0 # DW_children_no | |
189 | .uleb128 0x3 # (DW_AT_name) | |
190 | .uleb128 0x8 # (DW_FORM_string) | |
191 | .uleb128 0x3a # (DW_AT_decl_file) | |
192 | .uleb128 0xb # (DW_FORM_data1) | |
193 | .uleb128 0x3b # (DW_AT_decl_line) | |
194 | .uleb128 0xb # (DW_FORM_data1) | |
195 | .uleb128 0x49 # (DW_AT_type) | |
196 | .uleb128 0x13 # (DW_FORM_ref4) | |
197 | .uleb128 0x2 # (DW_AT_location) | |
198 | .uleb128 0xa # (DW_FORM_block1) | |
199 | .byte 0x0 | |
200 | .byte 0x0 | |
201 | .uleb128 0x4 # (abbrev code) | |
202 | .uleb128 0x34 # (TAG: DW_TAG_variable) | |
203 | .byte 0x0 # DW_children_no | |
204 | .uleb128 0x3 # (DW_AT_name) | |
205 | .uleb128 0x8 # (DW_FORM_string) | |
206 | .uleb128 0x3a # (DW_AT_decl_file) | |
207 | .uleb128 0xb # (DW_FORM_data1) | |
208 | .uleb128 0x3b # (DW_AT_decl_line) | |
209 | .uleb128 0xb # (DW_FORM_data1) | |
210 | .uleb128 0x49 # (DW_AT_type) | |
211 | .uleb128 0x13 # (DW_FORM_ref4) | |
212 | .uleb128 0x2 # (DW_AT_location) | |
213 | .uleb128 0x6 # (DW_FORM_data4) | |
214 | .byte 0x0 | |
215 | .byte 0x0 | |
216 | .uleb128 0x5 # (abbrev code) | |
217 | .uleb128 0x24 # (TAG: DW_TAG_base_type) | |
218 | .byte 0x0 # DW_children_no | |
219 | .uleb128 0xb # (DW_AT_byte_size) | |
220 | .uleb128 0xb # (DW_FORM_data1) | |
221 | .uleb128 0x3e # (DW_AT_encoding) | |
222 | .uleb128 0xb # (DW_FORM_data1) | |
223 | .uleb128 0x3 # (DW_AT_name) | |
224 | .uleb128 0x8 # (DW_FORM_string) | |
225 | .byte 0x0 | |
226 | .byte 0x0 | |
227 | .byte 0x0 | |
228 | .section .debug_pubnames,"",@progbits | |
229 | .long 0x14 # Length of Public Names Info | |
230 | .value 0x2 # DWARF Version | |
231 | .long .Ldebug_info0 # Offset of Compilation Unit Info | |
232 | .long 0x60 # Compilation Unit Length | |
233 | .long 0x25 # DIE offset | |
234 | .ascii "f\0" # external name | |
235 | .long 0x0 | |
236 | .section .debug_aranges,"",@progbits | |
237 | .long 0x1c # Length of Address Ranges Info | |
238 | .value 0x2 # DWARF Version | |
239 | .long .Ldebug_info0 # Offset of Compilation Unit Info | |
240 | .byte 0x4 # Size of Address | |
241 | .byte 0x0 # Size of Segment Descriptor | |
242 | .value 0x0 # Pad to 8 byte boundary | |
243 | .value 0x0 | |
244 | .long .Ltext0 # Address | |
245 | .long .Letext0-.Ltext0 # Length | |
246 | .long 0x0 | |
247 | .long 0x0 | |
248 | .section .debug_str,"MS",@progbits,1 | |
249 | .LASF1: | |
250 | .string "watch-notconst2.c" | |
251 | .LASF2: | |
252 | .string "" | |
253 | .LASF0: | |
254 | .string "GNU C 4.4.3 20100127 (Red Hat 4.4.3-4)" | |
255 | .ident "GCC: (GNU) 4.4.3 20100127 (Red Hat 4.4.3-4)" | |
256 | .section .note.GNU-stack,"",@progbits |