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