]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.arch/i386-gnu-cfi-asm.S
* gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.arch / i386-gnu-cfi-asm.S
1 /* Copyright 2007 Free Software Foundation, Inc.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16 *
17 * Please email any bugs, comments, and/or additions to this file to:
18 * bug-gdb@gnu.org
19 *
20 * This file is part of the gdb testsuite.
21 *
22 * It was generated using
23 * "gcc -g -O9 -S -o gate.s gate.c -fasynchronous-unwind-tables",
24 * using the following source file:
25 *
26 *
27 * void *gate (void *(*gate) (void *data), void *data)
28 * {
29 * return 1 + (*gate) (data);
30 * }
31 *
32 * Changes are marked as `CHANGE' below.
33 */
34
35 .file "gate.c"
36 .section .debug_abbrev,"",@progbits
37 .Ldebug_abbrev0:
38 .section .debug_info,"",@progbits
39 .Ldebug_info0:
40 .section .debug_line,"",@progbits
41 .Ldebug_line0:
42 .text
43 .Ltext0:
44 .p2align 4,,15
45 .globl gate
46 .type gate, @function
47 gate:
48 .LFB2:
49 .file 1 "gate.c"
50 .loc 1 2 0
51 .LVL0:
52 pushl %ebp
53 .LCFI0:
54 movl %esp, %ebp
55 .LCFI1:
56 subl $8, %esp
57 .LCFI2:
58 .loc 1 3 0
59 movl 12(%ebp), %eax
60 movl %eax, (%esp)
61 call *8(%ebp)
62 .loc 1 4 0
63 leave
64 .loc 1 3 0
65 addl $1, %eax
66 .loc 1 4 0
67 ret
68 .LFE2:
69 .size gate, .-gate
70 .section .debug_frame,"",@progbits
71 .Lframe0:
72 .long .LECIE0-.LSCIE0
73 .LSCIE0:
74 .long 0xffffffff
75 .byte 0x1
76 .string ""
77 .uleb128 0x1
78 .sleb128 -4
79 .byte 0x8
80 .byte 0xc
81 .uleb128 0x4
82 .uleb128 0x4
83 .byte 0x88
84 .uleb128 0x1
85 .align 4
86 .LECIE0:
87 .LSFDE0:
88 .long .LEFDE0-.LASFDE0
89 .LASFDE0:
90 .long .Lframe0
91 .long .LFB2
92 .long .LFE2-.LFB2
93 .byte 0x4
94 .long .LCFI0-.LFB2
95 .byte 0xe
96 .uleb128 0x8
97 .byte 0x85
98 .uleb128 0x2
99
100 /* CHANGE */
101 .byte 0x2f
102 .uleb128 0x1
103 .uleb128 0x0
104 /* CHANGE */
105
106 .byte 0x4
107 .long .LCFI1-.LCFI0
108 .byte 0xd
109 .uleb128 0x5
110 .align 4
111 .LEFDE0:
112 .section .eh_frame,"a",@progbits
113 .Lframe1:
114 .long .LECIE1-.LSCIE1
115 .LSCIE1:
116 .long 0x0
117 .byte 0x1
118 .string ""
119 .uleb128 0x1
120 .sleb128 -4
121 .byte 0x8
122 .byte 0xc
123 .uleb128 0x4
124 .uleb128 0x4
125 .byte 0x88
126 .uleb128 0x1
127 .align 4
128 .LECIE1:
129 .LSFDE1:
130 .long .LEFDE1-.LASFDE1
131 .LASFDE1:
132 .long .LASFDE1-.Lframe1
133 .long .LFB2
134 .long .LFE2-.LFB2
135 .byte 0x4
136 .long .LCFI0-.LFB2
137 .byte 0xe
138 .uleb128 0x8
139 .byte 0x85
140 .uleb128 0x2
141
142 /* CHANGE */
143 .byte 0x2f
144 .uleb128 0x1
145 .uleb128 0x0
146 /* CHANGE */
147
148 .byte 0x4
149 .long .LCFI1-.LCFI0
150 .byte 0xd
151 .uleb128 0x5
152 .align 4
153 .LEFDE1:
154 .text
155 .Letext0:
156 .section .debug_loc,"",@progbits
157 .Ldebug_loc0:
158 .LLST0:
159 .long .LFB2-.Ltext0
160 .long .LCFI0-.Ltext0
161 .value 0x2
162 .byte 0x74
163 .sleb128 4
164 .long .LCFI0-.Ltext0
165 .long .LCFI1-.Ltext0
166 .value 0x2
167 .byte 0x74
168 .sleb128 8
169 .long .LCFI1-.Ltext0
170 .long .LFE2-.Ltext0
171 .value 0x2
172 .byte 0x75
173 .sleb128 8
174 .long 0x0
175 .long 0x0
176 .section .debug_info
177 .long 0x74
178 .value 0x2
179 .long .Ldebug_abbrev0
180 .byte 0x4
181 .uleb128 0x1
182 .long .Ldebug_line0
183 .long .Letext0
184 .long .Ltext0
185 .long .LASF2
186 .byte 0x1
187 .long .LASF3
188 .long .LASF4
189 .uleb128 0x2
190 .long 0x5f
191 .byte 0x1
192 .long .LASF0
193 .byte 0x1
194 .byte 0x2
195 .byte 0x1
196 .long 0x5f
197 .long .LFB2
198 .long .LFE2
199 .long .LLST0
200 .uleb128 0x3
201 .long .LASF0
202 .byte 0x1
203 .byte 0x1
204 .long 0x71
205 .byte 0x2
206 .byte 0x91
207 .sleb128 0
208 .uleb128 0x3
209 .long .LASF1
210 .byte 0x1
211 .byte 0x1
212 .long 0x5f
213 .byte 0x2
214 .byte 0x91
215 .sleb128 4
216 .byte 0x0
217 .uleb128 0x4
218 .byte 0x4
219 .uleb128 0x5
220 .long 0x71
221 .byte 0x1
222 .long 0x5f
223 .uleb128 0x6
224 .long 0x5f
225 .byte 0x0
226 .uleb128 0x7
227 .byte 0x4
228 .long 0x61
229 .byte 0x0
230 .section .debug_abbrev
231 .uleb128 0x1
232 .uleb128 0x11
233 .byte 0x1
234 .uleb128 0x10
235 .uleb128 0x6
236 .uleb128 0x12
237 .uleb128 0x1
238 .uleb128 0x11
239 .uleb128 0x1
240 .uleb128 0x25
241 .uleb128 0xe
242 .uleb128 0x13
243 .uleb128 0xb
244 .uleb128 0x3
245 .uleb128 0xe
246 .uleb128 0x1b
247 .uleb128 0xe
248 .byte 0x0
249 .byte 0x0
250 .uleb128 0x2
251 .uleb128 0x2e
252 .byte 0x1
253 .uleb128 0x1
254 .uleb128 0x13
255 .uleb128 0x3f
256 .uleb128 0xc
257 .uleb128 0x3
258 .uleb128 0xe
259 .uleb128 0x3a
260 .uleb128 0xb
261 .uleb128 0x3b
262 .uleb128 0xb
263 .uleb128 0x27
264 .uleb128 0xc
265 .uleb128 0x49
266 .uleb128 0x13
267 .uleb128 0x11
268 .uleb128 0x1
269 .uleb128 0x12
270 .uleb128 0x1
271 .uleb128 0x40
272 .uleb128 0x6
273 .byte 0x0
274 .byte 0x0
275 .uleb128 0x3
276 .uleb128 0x5
277 .byte 0x0
278 .uleb128 0x3
279 .uleb128 0xe
280 .uleb128 0x3a
281 .uleb128 0xb
282 .uleb128 0x3b
283 .uleb128 0xb
284 .uleb128 0x49
285 .uleb128 0x13
286 .uleb128 0x2
287 .uleb128 0xa
288 .byte 0x0
289 .byte 0x0
290 .uleb128 0x4
291 .uleb128 0xf
292 .byte 0x0
293 .uleb128 0xb
294 .uleb128 0xb
295 .byte 0x0
296 .byte 0x0
297 .uleb128 0x5
298 .uleb128 0x15
299 .byte 0x1
300 .uleb128 0x1
301 .uleb128 0x13
302 .uleb128 0x27
303 .uleb128 0xc
304 .uleb128 0x49
305 .uleb128 0x13
306 .byte 0x0
307 .byte 0x0
308 .uleb128 0x6
309 .uleb128 0x5
310 .byte 0x0
311 .uleb128 0x49
312 .uleb128 0x13
313 .byte 0x0
314 .byte 0x0
315 .uleb128 0x7
316 .uleb128 0xf
317 .byte 0x0
318 .uleb128 0xb
319 .uleb128 0xb
320 .uleb128 0x49
321 .uleb128 0x13
322 .byte 0x0
323 .byte 0x0
324 .byte 0x0
325 .section .debug_pubnames,"",@progbits
326 .long 0x17
327 .value 0x2
328 .long .Ldebug_info0
329 .long 0x78
330 .long 0x25
331 .string "gate"
332 .long 0x0
333 .section .debug_aranges,"",@progbits
334 .long 0x1c
335 .value 0x2
336 .long .Ldebug_info0
337 .byte 0x4
338 .byte 0x0
339 .value 0x0
340 .value 0x0
341 .long .Ltext0
342 .long .Letext0-.Ltext0
343 .long 0x0
344 .long 0x0
345 .section .debug_str,"MS",@progbits,1
346 .LASF1:
347 .string "data"
348 .LASF0:
349 .string "gate"
350 .LASF3:
351 .string "gate.c"
352 .LASF4:
353 .string "/home/jkratoch/redhat/bz165025"
354 .LASF2:
355 .string "GNU C 4.1.1 20061213 (Red Hat 4.1.1-46)"
356 .ident "GCC: (GNU) 4.1.1 20061213 (Red Hat 4.1.1-46)"
357 .section .note.GNU-stack,"",@progbits