1/* This testcase is part of GDB, the GNU debugger. 2 3 Copyright 2014-2023 Free Software Foundation, Inc. 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 file is compiled from gdb.arch/amd64-invalid-stack-middle.c 19 using: 'gcc -g -O0 -S -dA' and gcc version '4.7.2'. 20 Changes were then made to the CFI entry for func2. */ 21 22 .file "amd64-invalid-stack-middle.c" 23 .text 24.Ltext0: 25 .globl breakpt 26 .type breakpt, @function 27breakpt: 28.LFB0: 29 .file 1 "amd64-invalid-stack-middle.c" 30 # amd64-invalid-stack-middle.c:25 31 .loc 1 25 0 32# BLOCK 2 seq:0 33# PRED: ENTRY (fallthru) 34 pushq %rbp 35.LCFI0: 36 movq %rsp, %rbp 37.LCFI1: 38 # amd64-invalid-stack-middle.c:27 39 .loc 1 27 0 40 popq %rbp 41.LCFI2: 42# SUCC: EXIT [100.0%] 43 ret 44.LFE0: 45 .size breakpt, .-breakpt 46 .globl func5 47 .type func5, @function 48func5: 49.LFB1: 50 # amd64-invalid-stack-middle.c:31 51 .loc 1 31 0 52# BLOCK 2 seq:0 53# PRED: ENTRY (fallthru) 54 pushq %rbp 55.LCFI3: 56 movq %rsp, %rbp 57.LCFI4: 58 # amd64-invalid-stack-middle.c:32 59 .loc 1 32 0 60 movl $0, %eax 61 call breakpt 62 # amd64-invalid-stack-middle.c:33 63 .loc 1 33 0 64 popq %rbp 65.LCFI5: 66# SUCC: EXIT [100.0%] 67 ret 68.LFE1: 69 .size func5, .-func5 70 .globl func4 71 .type func4, @function 72func4: 73.LFB2: 74 # amd64-invalid-stack-middle.c:37 75 .loc 1 37 0 76# BLOCK 2 seq:0 77# PRED: ENTRY (fallthru) 78 pushq %rbp 79.LCFI6: 80 movq %rsp, %rbp 81.LCFI7: 82 # amd64-invalid-stack-middle.c:38 83 .loc 1 38 0 84 movl $0, %eax 85 call func5 86 # amd64-invalid-stack-middle.c:39 87 .loc 1 39 0 88 popq %rbp 89.LCFI8: 90# SUCC: EXIT [100.0%] 91 ret 92.LFE2: 93 .size func4, .-func4 94 .globl func3 95 .type func3, @function 96func3: 97.LFB3: 98 # amd64-invalid-stack-middle.c:43 99 .loc 1 43 0 100# BLOCK 2 seq:0 101# PRED: ENTRY (fallthru) 102 pushq %rbp 103.LCFI9: 104 movq %rsp, %rbp 105.LCFI10: 106 # amd64-invalid-stack-middle.c:44 107 .loc 1 44 0 108 movl $0, %eax 109 call func4 110 # amd64-invalid-stack-middle.c:45 111 .loc 1 45 0 112 popq %rbp 113.LCFI11: 114# SUCC: EXIT [100.0%] 115 ret 116.LFE3: 117 .size func3, .-func3 118 .globl func2 119 .type func2, @function 120func2: 121.LFB4: 122 # amd64-invalid-stack-middle.c:49 123 .loc 1 49 0 124# BLOCK 2 seq:0 125# PRED: ENTRY (fallthru) 126 pushq %rbp 127.LCFI12: 128 movq %rsp, %rbp 129.LCFI13: 130 subq $8, %rsp 131 movq %rdi, -8(%rbp) 132 # amd64-invalid-stack-middle.c:50 133 .loc 1 50 0 134 movl $0, %eax 135 call func3 136 # amd64-invalid-stack-middle.c:51 137 .loc 1 51 0 138 leave 139.LCFI14: 140# SUCC: EXIT [100.0%] 141 ret 142.LFE4: 143 .size func2, .-func2 144 .globl func1 145 .type func1, @function 146func1: 147.LFB5: 148 # amd64-invalid-stack-middle.c:55 149 .loc 1 55 0 150# BLOCK 2 seq:0 151# PRED: ENTRY (fallthru) 152 pushq %rbp 153.LCFI15: 154 movq %rsp, %rbp 155.LCFI16: 156 subq $8, %rsp 157 movq %rdi, -8(%rbp) 158 # amd64-invalid-stack-middle.c:56 159 .loc 1 56 0 160 movq -8(%rbp), %rax 161 movq %rax, %rdi 162 call func2 163 # amd64-invalid-stack-middle.c:57 164 .loc 1 57 0 165 leave 166.LCFI17: 167# SUCC: EXIT [100.0%] 168 ret 169.LFE5: 170 .size func1, .-func1 171 .section .rodata 172.LC0: 173 .string "amd64-invalid-stack-middle.c" 174.LC1: 175 .string "ptr != ((void *) -1)" 176.LC2: 177 .string "ans == 0" 178 .text 179 .type make_invalid_ptr, @function 180make_invalid_ptr: 181.LFB6: 182 # amd64-invalid-stack-middle.c:65 183 .loc 1 65 0 184# BLOCK 2 seq:0 185# PRED: ENTRY (fallthru) 186 pushq %rbp 187.LCFI18: 188 movq %rsp, %rbp 189.LCFI19: 190 subq $32, %rsp 191 # amd64-invalid-stack-middle.c:69 192 .loc 1 69 0 193 call getpagesize 194 movl %eax, -4(%rbp) 195 # amd64-invalid-stack-middle.c:70 196 .loc 1 70 0 197 movl -4(%rbp), %eax 198 cltq 199 movl $0, %r9d 200 movl $-1, %r8d 201 movl $34, %ecx 202 movl $0, %edx 203 movq %rax, %rsi 204 movl $0, %edi 205 call mmap 206 movq %rax, -16(%rbp) 207 # amd64-invalid-stack-middle.c:73 208 .loc 1 73 0 209 cmpq $-1, -16(%rbp) 210# SUCC: 3 (fallthru) 4 211 jne .L8 212# BLOCK 3 seq:1 213# PRED: 2 (fallthru) 214 movl $__PRETTY_FUNCTION__.2362, %ecx 215 movl $73, %edx 216 movl $.LC0, %esi 217 movl $.LC1, %edi 218# SUCC: 219 call __assert_fail 220# BLOCK 4 seq:2 221# PRED: 2 222.L8: 223 # amd64-invalid-stack-middle.c:74 224 .loc 1 74 0 225 movl -4(%rbp), %eax 226 movslq %eax, %rdx 227 movq -16(%rbp), %rax 228 movq %rdx, %rsi 229 movq %rax, %rdi 230 call munmap 231 movl %eax, -20(%rbp) 232 # amd64-invalid-stack-middle.c:75 233 .loc 1 75 0 234 cmpl $0, -20(%rbp) 235# SUCC: 5 (fallthru) 6 236 je .L9 237# BLOCK 5 seq:3 238# PRED: 4 (fallthru) 239 movl $__PRETTY_FUNCTION__.2362, %ecx 240 movl $75, %edx 241 movl $.LC0, %esi 242 movl $.LC2, %edi 243# SUCC: 244 call __assert_fail 245# BLOCK 6 seq:4 246# PRED: 4 247.L9: 248 # amd64-invalid-stack-middle.c:77 249 .loc 1 77 0 250 movq -16(%rbp), %rax 251 # amd64-invalid-stack-middle.c:78 252 .loc 1 78 0 253 leave 254.LCFI20: 255# SUCC: EXIT [100.0%] 256 ret 257.LFE6: 258 .size make_invalid_ptr, .-make_invalid_ptr 259 .globl main 260 .type main, @function 261main: 262.LFB7: 263 # amd64-invalid-stack-middle.c:82 264 .loc 1 82 0 265# BLOCK 2 seq:0 266# PRED: ENTRY (fallthru) 267 pushq %rbp 268.LCFI21: 269 movq %rsp, %rbp 270.LCFI22: 271 subq $16, %rsp 272 # amd64-invalid-stack-middle.c:85 273 .loc 1 85 0 274 call make_invalid_ptr 275 movq %rax, -8(%rbp) 276 # amd64-invalid-stack-middle.c:86 277 .loc 1 86 0 278 movq -8(%rbp), %rax 279 movq %rax, %rdi 280 call func1 281 # amd64-invalid-stack-middle.c:88 282 .loc 1 88 0 283 movl $0, %eax 284 # amd64-invalid-stack-middle.c:89 285 .loc 1 89 0 286 leave 287.LCFI23: 288# SUCC: EXIT [100.0%] 289 ret 290.LFE7: 291 .size main, .-main 292 .section .rodata 293 .align 16 294 .type __PRETTY_FUNCTION__.2362, @object 295 .size __PRETTY_FUNCTION__.2362, 17 296__PRETTY_FUNCTION__.2362: 297 .string "make_invalid_ptr" 298#APP 299 .section .debug_frame,"",@progbits 300.Lframe0: 301 .long .LECIE0-.LSCIE0 # Length of Common Information Entry 302.LSCIE0: 303 .long 0xffffffff # CIE Identifier Tag 304 .byte 0x1 # CIE Version 305 .ascii "\0" # CIE Augmentation 306 .uleb128 0x1 # CIE Code Alignment Factor 307 .sleb128 -8 # CIE Data Alignment Factor 308 .byte 0x10 # CIE RA Column 309 .byte 0xc # DW_CFA_def_cfa 310 .uleb128 0x7 311 .uleb128 0x8 312 .byte 0x90 # DW_CFA_offset, column 0x10 313 .uleb128 0x1 314 .align 8 315.LECIE0: 316.LSFDE0: 317 .long .LEFDE0-.LASFDE0 # FDE Length 318.LASFDE0: 319 .long .Lframe0 # FDE CIE offset 320 .quad .LFB0 # FDE initial location 321 .quad .LFE0-.LFB0 # FDE address range 322 .byte 0x4 # DW_CFA_advance_loc4 323 .long .LCFI0-.LFB0 324 .byte 0xe # DW_CFA_def_cfa_offset 325 .uleb128 0x10 326 .byte 0x86 # DW_CFA_offset, column 0x6 327 .uleb128 0x2 328 .byte 0x4 # DW_CFA_advance_loc4 329 .long .LCFI1-.LCFI0 330 .byte 0xd # DW_CFA_def_cfa_register 331 .uleb128 0x6 332 .byte 0x4 # DW_CFA_advance_loc4 333 .long .LCFI2-.LCFI1 334 .byte 0xc # DW_CFA_def_cfa 335 .uleb128 0x7 336 .uleb128 0x8 337 .align 8 338.LEFDE0: 339.LSFDE2: 340 .long .LEFDE2-.LASFDE2 # FDE Length 341.LASFDE2: 342 .long .Lframe0 # FDE CIE offset 343 .quad .LFB1 # FDE initial location 344 .quad .LFE1-.LFB1 # FDE address range 345 .byte 0x4 # DW_CFA_advance_loc4 346 .long .LCFI3-.LFB1 347 .byte 0xe # DW_CFA_def_cfa_offset 348 .uleb128 0x10 349 .byte 0x86 # DW_CFA_offset, column 0x6 350 .uleb128 0x2 351 .byte 0x4 # DW_CFA_advance_loc4 352 .long .LCFI4-.LCFI3 353 .byte 0xd # DW_CFA_def_cfa_register 354 .uleb128 0x6 355 .byte 0x4 # DW_CFA_advance_loc4 356 .long .LCFI5-.LCFI4 357 .byte 0xc # DW_CFA_def_cfa 358 .uleb128 0x7 359 .uleb128 0x8 360 .align 8 361.LEFDE2: 362.LSFDE4: 363 .long .LEFDE4-.LASFDE4 # FDE Length 364.LASFDE4: 365 .long .Lframe0 # FDE CIE offset 366 .quad .LFB2 # FDE initial location 367 .quad .LFE2-.LFB2 # FDE address range 368 .byte 0x4 # DW_CFA_advance_loc4 369 .long .LCFI6-.LFB2 370 .byte 0xe # DW_CFA_def_cfa_offset 371 .uleb128 0x10 372 .byte 0x86 # DW_CFA_offset, column 0x6 373 .uleb128 0x2 374 .byte 0x4 # DW_CFA_advance_loc4 375 .long .LCFI7-.LCFI6 376 .byte 0xd # DW_CFA_def_cfa_register 377 .uleb128 0x6 378 .byte 0x4 # DW_CFA_advance_loc4 379 .long .LCFI8-.LCFI7 380 .byte 0xc # DW_CFA_def_cfa 381 .uleb128 0x7 382 .uleb128 0x8 383 .align 8 384.LEFDE4: 385.LSFDE6: 386 .long .LEFDE6-.LASFDE6 # FDE Length 387.LASFDE6: 388 .long .Lframe0 # FDE CIE offset 389 .quad .LFB3 # FDE initial location 390 .quad .LFE3-.LFB3 # FDE address range 391 .byte 0x4 # DW_CFA_advance_loc4 392 .long .LCFI9-.LFB3 393 .byte 0xe # DW_CFA_def_cfa_offset 394 .uleb128 0x10 395 .byte 0x86 # DW_CFA_offset, column 0x6 396 .uleb128 0x2 397 .byte 0x4 # DW_CFA_advance_loc4 398 .long .LCFI10-.LCFI9 399 .byte 0xd # DW_CFA_def_cfa_register 400 .uleb128 0x6 401 .byte 0x4 # DW_CFA_advance_loc4 402 .long .LCFI11-.LCFI10 403 .byte 0xc # DW_CFA_def_cfa 404 .uleb128 0x7 405 .uleb128 0x8 406 .align 8 407.LEFDE6: 408.LSFDE8: 409 .long .LEFDE8-.LASFDE8 # FDE Length 410.LASFDE8: 411 .long .Lframe0 # FDE CIE offset 412 .quad .LFB4 # FDE initial location 413 .quad .LFE4-.LFB4 # FDE address range 414 .byte 0xf # DW_CFA_def_cfa_expression 415 .uleb128 .LEDWBLK1 - .LSDWBLK1 416.LSDWBLK1: 417 .byte 0x75 # DW_OP_breg5 418 .sleb128 0x0 # offset 419 .byte 0x94 # DW_OP_dref_size 420 .byte 0x8 # size 421.LEDWBLK1: 422 .align 8 # Padding. 423.LEFDE8: 424.LSFDE10: 425 .long .LEFDE10-.LASFDE10 # FDE Length 426.LASFDE10: 427 .long .Lframe0 # FDE CIE offset 428 .quad .LFB5 # FDE initial location 429 .quad .LFE5-.LFB5 # FDE address range 430 .byte 0x4 # DW_CFA_advance_loc4 431 .long .LCFI15-.LFB5 432 .byte 0xe # DW_CFA_def_cfa_offset 433 .uleb128 0x10 434 .byte 0x86 # DW_CFA_offset, column 0x6 435 .uleb128 0x2 436 .byte 0x4 # DW_CFA_advance_loc4 437 .long .LCFI16-.LCFI15 438 .byte 0xd # DW_CFA_def_cfa_register 439 .uleb128 0x6 440 .byte 0x4 # DW_CFA_advance_loc4 441 .long .LCFI17-.LCFI16 442 .byte 0xc # DW_CFA_def_cfa 443 .uleb128 0x7 444 .uleb128 0x8 445 .align 8 446.LEFDE10: 447.LSFDE12: 448 .long .LEFDE12-.LASFDE12 # FDE Length 449.LASFDE12: 450 .long .Lframe0 # FDE CIE offset 451 .quad .LFB6 # FDE initial location 452 .quad .LFE6-.LFB6 # FDE address range 453 .byte 0x4 # DW_CFA_advance_loc4 454 .long .LCFI18-.LFB6 455 .byte 0xe # DW_CFA_def_cfa_offset 456 .uleb128 0x10 457 .byte 0x86 # DW_CFA_offset, column 0x6 458 .uleb128 0x2 459 .byte 0x4 # DW_CFA_advance_loc4 460 .long .LCFI19-.LCFI18 461 .byte 0xd # DW_CFA_def_cfa_register 462 .uleb128 0x6 463 .byte 0x4 # DW_CFA_advance_loc4 464 .long .LCFI20-.LCFI19 465 .byte 0xc # DW_CFA_def_cfa 466 .uleb128 0x7 467 .uleb128 0x8 468 .align 8 469.LEFDE12: 470.LSFDE14: 471 .long .LEFDE14-.LASFDE14 # FDE Length 472.LASFDE14: 473 .long .Lframe0 # FDE CIE offset 474 .quad .LFB7 # FDE initial location 475 .quad .LFE7-.LFB7 # FDE address range 476 .byte 0x4 # DW_CFA_advance_loc4 477 .long .LCFI21-.LFB7 478 .byte 0xe # DW_CFA_def_cfa_offset 479 .uleb128 0x10 480 .byte 0x86 # DW_CFA_offset, column 0x6 481 .uleb128 0x2 482 .byte 0x4 # DW_CFA_advance_loc4 483 .long .LCFI22-.LCFI21 484 .byte 0xd # DW_CFA_def_cfa_register 485 .uleb128 0x6 486 .byte 0x4 # DW_CFA_advance_loc4 487 .long .LCFI23-.LCFI22 488 .byte 0xc # DW_CFA_def_cfa 489 .uleb128 0x7 490 .uleb128 0x8 491 .align 8 492.LEFDE14: 493#NO_APP 494#APP 495 .section .eh_frame,"a",@progbits 496.Lframe1: 497 .long .LECIE1-.LSCIE1 # Length of Common Information Entry 498.LSCIE1: 499 .long 0 # CIE Identifier Tag 500 .byte 0x1 # CIE Version 501 .ascii "zR\0" # CIE Augmentation 502 .uleb128 0x1 # CIE Code Alignment Factor 503 .sleb128 -8 # CIE Data Alignment Factor 504 .byte 0x10 # CIE RA Column 505 .uleb128 0x1 # Augmentation size 506 .byte 0x3 # FDE Encoding (udata4) 507 .byte 0xc # DW_CFA_def_cfa 508 .uleb128 0x7 509 .uleb128 0x8 510 .byte 0x90 # DW_CFA_offset, column 0x10 511 .uleb128 0x1 512 .align 8 513.LECIE1: 514.LSFDE17: 515 .long .LEFDE17-.LASFDE17 # FDE Length 516.LASFDE17: 517 .long .LASFDE17-.Lframe1 # FDE CIE offset 518 .long .LFB0 # FDE initial location 519 .long .LFE0-.LFB0 # FDE address range 520 .uleb128 0 # Augmentation size 521 .byte 0x4 # DW_CFA_advance_loc4 522 .long .LCFI0-.LFB0 523 .byte 0xe # DW_CFA_def_cfa_offset 524 .uleb128 0x10 525 .byte 0x86 # DW_CFA_offset, column 0x6 526 .uleb128 0x2 527 .byte 0x4 # DW_CFA_advance_loc4 528 .long .LCFI1-.LCFI0 529 .byte 0xd # DW_CFA_def_cfa_register 530 .uleb128 0x6 531 .byte 0x4 # DW_CFA_advance_loc4 532 .long .LCFI2-.LCFI1 533 .byte 0xc # DW_CFA_def_cfa 534 .uleb128 0x7 535 .uleb128 0x8 536 .align 8 537.LEFDE17: 538.LSFDE19: 539 .long .LEFDE19-.LASFDE19 # FDE Length 540.LASFDE19: 541 .long .LASFDE19-.Lframe1 # FDE CIE offset 542 .long .LFB1 # FDE initial location 543 .long .LFE1-.LFB1 # FDE address range 544 .uleb128 0 # Augmentation size 545 .byte 0x4 # DW_CFA_advance_loc4 546 .long .LCFI3-.LFB1 547 .byte 0xe # DW_CFA_def_cfa_offset 548 .uleb128 0x10 549 .byte 0x86 # DW_CFA_offset, column 0x6 550 .uleb128 0x2 551 .byte 0x4 # DW_CFA_advance_loc4 552 .long .LCFI4-.LCFI3 553 .byte 0xd # DW_CFA_def_cfa_register 554 .uleb128 0x6 555 .byte 0x4 # DW_CFA_advance_loc4 556 .long .LCFI5-.LCFI4 557 .byte 0xc # DW_CFA_def_cfa 558 .uleb128 0x7 559 .uleb128 0x8 560 .align 8 561.LEFDE19: 562.LSFDE21: 563 .long .LEFDE21-.LASFDE21 # FDE Length 564.LASFDE21: 565 .long .LASFDE21-.Lframe1 # FDE CIE offset 566 .long .LFB2 # FDE initial location 567 .long .LFE2-.LFB2 # FDE address range 568 .uleb128 0 # Augmentation size 569 .byte 0x4 # DW_CFA_advance_loc4 570 .long .LCFI6-.LFB2 571 .byte 0xe # DW_CFA_def_cfa_offset 572 .uleb128 0x10 573 .byte 0x86 # DW_CFA_offset, column 0x6 574 .uleb128 0x2 575 .byte 0x4 # DW_CFA_advance_loc4 576 .long .LCFI7-.LCFI6 577 .byte 0xd # DW_CFA_def_cfa_register 578 .uleb128 0x6 579 .byte 0x4 # DW_CFA_advance_loc4 580 .long .LCFI8-.LCFI7 581 .byte 0xc # DW_CFA_def_cfa 582 .uleb128 0x7 583 .uleb128 0x8 584 .align 8 585.LEFDE21: 586.LSFDE23: 587 .long .LEFDE23-.LASFDE23 # FDE Length 588.LASFDE23: 589 .long .LASFDE23-.Lframe1 # FDE CIE offset 590 .long .LFB3 # FDE initial location 591 .long .LFE3-.LFB3 # FDE address range 592 .uleb128 0 # Augmentation size 593 .byte 0x4 # DW_CFA_advance_loc4 594 .long .LCFI9-.LFB3 595 .byte 0xe # DW_CFA_def_cfa_offset 596 .uleb128 0x10 597 .byte 0x86 # DW_CFA_offset, column 0x6 598 .uleb128 0x2 599 .byte 0x4 # DW_CFA_advance_loc4 600 .long .LCFI10-.LCFI9 601 .byte 0xd # DW_CFA_def_cfa_register 602 .uleb128 0x6 603 .byte 0x4 # DW_CFA_advance_loc4 604 .long .LCFI11-.LCFI10 605 .byte 0xc # DW_CFA_def_cfa 606 .uleb128 0x7 607 .uleb128 0x8 608 .align 8 609.LEFDE23: 610.LSFDE25: 611 .long .LEFDE25-.LASFDE25 # FDE Length 612.LASFDE25: 613 .long .LASFDE25-.Lframe1 # FDE CIE offset 614 .long .LFB4 # FDE initial location 615 .long .LFE4-.LFB4 # FDE address range 616 .uleb128 0 # Augmentation size 617 .byte 0x4 # DW_CFA_advance_loc4 618 .long .LCFI12-.LFB4 619 .byte 0xe # DW_CFA_def_cfa_offset 620 .uleb128 0x10 621 .byte 0x86 # DW_CFA_offset, column 0x6 622 .uleb128 0x2 623 .byte 0x4 # DW_CFA_advance_loc4 624 .long .LCFI13-.LCFI12 625 .byte 0xd # DW_CFA_def_cfa_register 626 .uleb128 0x6 627 .byte 0x4 # DW_CFA_advance_loc4 628 .long .LCFI14-.LCFI13 629 .byte 0xc # DW_CFA_def_cfa 630 .uleb128 0x7 631 .uleb128 0x8 632 .align 8 633.LEFDE25: 634.LSFDE27: 635 .long .LEFDE27-.LASFDE27 # FDE Length 636.LASFDE27: 637 .long .LASFDE27-.Lframe1 # FDE CIE offset 638 .long .LFB5 # FDE initial location 639 .long .LFE5-.LFB5 # FDE address range 640 .uleb128 0 # Augmentation size 641 .byte 0x4 # DW_CFA_advance_loc4 642 .long .LCFI15-.LFB5 643 .byte 0xe # DW_CFA_def_cfa_offset 644 .uleb128 0x10 645 .byte 0x86 # DW_CFA_offset, column 0x6 646 .uleb128 0x2 647 .byte 0x4 # DW_CFA_advance_loc4 648 .long .LCFI16-.LCFI15 649 .byte 0xd # DW_CFA_def_cfa_register 650 .uleb128 0x6 651 .byte 0x4 # DW_CFA_advance_loc4 652 .long .LCFI17-.LCFI16 653 .byte 0xc # DW_CFA_def_cfa 654 .uleb128 0x7 655 .uleb128 0x8 656 .align 8 657.LEFDE27: 658.LSFDE29: 659 .long .LEFDE29-.LASFDE29 # FDE Length 660.LASFDE29: 661 .long .LASFDE29-.Lframe1 # FDE CIE offset 662 .long .LFB6 # FDE initial location 663 .long .LFE6-.LFB6 # FDE address range 664 .uleb128 0 # Augmentation size 665 .byte 0x4 # DW_CFA_advance_loc4 666 .long .LCFI18-.LFB6 667 .byte 0xe # DW_CFA_def_cfa_offset 668 .uleb128 0x10 669 .byte 0x86 # DW_CFA_offset, column 0x6 670 .uleb128 0x2 671 .byte 0x4 # DW_CFA_advance_loc4 672 .long .LCFI19-.LCFI18 673 .byte 0xd # DW_CFA_def_cfa_register 674 .uleb128 0x6 675 .byte 0x4 # DW_CFA_advance_loc4 676 .long .LCFI20-.LCFI19 677 .byte 0xc # DW_CFA_def_cfa 678 .uleb128 0x7 679 .uleb128 0x8 680 .align 8 681.LEFDE29: 682.LSFDE31: 683 .long .LEFDE31-.LASFDE31 # FDE Length 684.LASFDE31: 685 .long .LASFDE31-.Lframe1 # FDE CIE offset 686 .long .LFB7 # FDE initial location 687 .long .LFE7-.LFB7 # FDE address range 688 .uleb128 0 # Augmentation size 689 .byte 0x4 # DW_CFA_advance_loc4 690 .long .LCFI21-.LFB7 691 .byte 0xe # DW_CFA_def_cfa_offset 692 .uleb128 0x10 693 .byte 0x86 # DW_CFA_offset, column 0x6 694 .uleb128 0x2 695 .byte 0x4 # DW_CFA_advance_loc4 696 .long .LCFI22-.LCFI21 697 .byte 0xd # DW_CFA_def_cfa_register 698 .uleb128 0x6 699 .byte 0x4 # DW_CFA_advance_loc4 700 .long .LCFI23-.LCFI22 701 .byte 0xc # DW_CFA_def_cfa 702 .uleb128 0x7 703 .uleb128 0x8 704 .align 8 705.LEFDE31: 706#NO_APP 707 .text 708.Letext0: 709 .section .debug_info,"",@progbits 710.Ldebug_info0: 711 .long 0x1f1 # Length of Compilation Unit Info 712 .value 0x2 # DWARF version number 713 .long .Ldebug_abbrev0 # Offset Into Abbrev. Section 714 .byte 0x8 # Pointer Size (in bytes) 715 .uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit) 716 .long .LASF17 # DW_AT_producer: "GNU C 4.7.2" 717 .byte 0x1 # DW_AT_language 718 .long .LASF18 # DW_AT_name: "amd64-invalid-stack-middle.c" 719 .long .LASF19 # DW_AT_comp_dir: "/home/gdb/binutils-gdb/gdb/testsuite/gdb.arch" 720 .quad .Ltext0 # DW_AT_low_pc 721 .quad .Letext0 # DW_AT_high_pc 722 .long .Ldebug_line0 # DW_AT_stmt_list 723 .uleb128 0x2 # (DIE (0x2d) DW_TAG_base_type) 724 .byte 0x8 # DW_AT_byte_size 725 .byte 0x7 # DW_AT_encoding 726 .long .LASF0 # DW_AT_name: "long unsigned int" 727 .uleb128 0x2 # (DIE (0x34) DW_TAG_base_type) 728 .byte 0x1 # DW_AT_byte_size 729 .byte 0x8 # DW_AT_encoding 730 .long .LASF1 # DW_AT_name: "unsigned char" 731 .uleb128 0x2 # (DIE (0x3b) DW_TAG_base_type) 732 .byte 0x2 # DW_AT_byte_size 733 .byte 0x7 # DW_AT_encoding 734 .long .LASF2 # DW_AT_name: "short unsigned int" 735 .uleb128 0x2 # (DIE (0x42) DW_TAG_base_type) 736 .byte 0x4 # DW_AT_byte_size 737 .byte 0x7 # DW_AT_encoding 738 .long .LASF3 # DW_AT_name: "unsigned int" 739 .uleb128 0x2 # (DIE (0x49) DW_TAG_base_type) 740 .byte 0x1 # DW_AT_byte_size 741 .byte 0x6 # DW_AT_encoding 742 .long .LASF4 # DW_AT_name: "signed char" 743 .uleb128 0x2 # (DIE (0x50) DW_TAG_base_type) 744 .byte 0x2 # DW_AT_byte_size 745 .byte 0x5 # DW_AT_encoding 746 .long .LASF5 # DW_AT_name: "short int" 747 .uleb128 0x3 # (DIE (0x57) DW_TAG_base_type) 748 .byte 0x4 # DW_AT_byte_size 749 .byte 0x5 # DW_AT_encoding 750 .ascii "int\0" # DW_AT_name 751 .uleb128 0x2 # (DIE (0x5e) DW_TAG_base_type) 752 .byte 0x8 # DW_AT_byte_size 753 .byte 0x5 # DW_AT_encoding 754 .long .LASF6 # DW_AT_name: "long int" 755 .uleb128 0x2 # (DIE (0x65) DW_TAG_base_type) 756 .byte 0x8 # DW_AT_byte_size 757 .byte 0x7 # DW_AT_encoding 758 .long .LASF7 # DW_AT_name: "sizetype" 759 .uleb128 0x4 # (DIE (0x6c) DW_TAG_pointer_type) 760 .byte 0x8 # DW_AT_byte_size 761 .uleb128 0x2 # (DIE (0x6e) DW_TAG_base_type) 762 .byte 0x1 # DW_AT_byte_size 763 .byte 0x6 # DW_AT_encoding 764 .long .LASF8 # DW_AT_name: "char" 765 .uleb128 0x5 # (DIE (0x75) DW_TAG_subprogram) 766 .byte 0x1 # DW_AT_external 767 .long .LASF9 # DW_AT_name: "breakpt" 768 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 769 .byte 0x18 # DW_AT_decl_line 770 .quad .LFB0 # DW_AT_low_pc 771 .quad .LFE0 # DW_AT_high_pc 772 .long .LLST0 # DW_AT_frame_base 773 .byte 0x1 # DW_AT_GNU_all_call_sites 774 .uleb128 0x6 # (DIE (0x92) DW_TAG_subprogram) 775 .byte 0x1 # DW_AT_external 776 .long .LASF10 # DW_AT_name: "func5" 777 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 778 .byte 0x1e # DW_AT_decl_line 779 .quad .LFB1 # DW_AT_low_pc 780 .quad .LFE1 # DW_AT_high_pc 781 .long .LLST1 # DW_AT_frame_base 782 .byte 0x1 # DW_AT_GNU_all_tail_call_sites 783 .uleb128 0x6 # (DIE (0xaf) DW_TAG_subprogram) 784 .byte 0x1 # DW_AT_external 785 .long .LASF11 # DW_AT_name: "func4" 786 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 787 .byte 0x24 # DW_AT_decl_line 788 .quad .LFB2 # DW_AT_low_pc 789 .quad .LFE2 # DW_AT_high_pc 790 .long .LLST2 # DW_AT_frame_base 791 .byte 0x1 # DW_AT_GNU_all_tail_call_sites 792 .uleb128 0x6 # (DIE (0xcc) DW_TAG_subprogram) 793 .byte 0x1 # DW_AT_external 794 .long .LASF12 # DW_AT_name: "func3" 795 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 796 .byte 0x2a # DW_AT_decl_line 797 .quad .LFB3 # DW_AT_low_pc 798 .quad .LFE3 # DW_AT_high_pc 799 .long .LLST3 # DW_AT_frame_base 800 .byte 0x1 # DW_AT_GNU_all_tail_call_sites 801 .uleb128 0x7 # (DIE (0xe9) DW_TAG_subprogram) 802 .byte 0x1 # DW_AT_external 803 .long .LASF13 # DW_AT_name: "func2" 804 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 805 .byte 0x30 # DW_AT_decl_line 806 .byte 0x1 # DW_AT_prototyped 807 .quad .LFB4 # DW_AT_low_pc 808 .quad .LFE4 # DW_AT_high_pc 809 .long .LLST4 # DW_AT_frame_base 810 .byte 0x1 # DW_AT_GNU_all_tail_call_sites 811 .long 0x11a # DW_AT_sibling 812 .uleb128 0x8 # (DIE (0x10b) DW_TAG_formal_parameter) 813 .ascii "ptr\0" # DW_AT_name 814 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 815 .byte 0x30 # DW_AT_decl_line 816 .long 0x6c # DW_AT_type 817 .byte 0x2 # DW_AT_location 818 .byte 0x91 # DW_OP_fbreg 819 .sleb128 -24 820 .byte 0 # end of children of DIE 0xe9 821 .uleb128 0x7 # (DIE (0x11a) DW_TAG_subprogram) 822 .byte 0x1 # DW_AT_external 823 .long .LASF14 # DW_AT_name: "func1" 824 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 825 .byte 0x36 # DW_AT_decl_line 826 .byte 0x1 # DW_AT_prototyped 827 .quad .LFB5 # DW_AT_low_pc 828 .quad .LFE5 # DW_AT_high_pc 829 .long .LLST5 # DW_AT_frame_base 830 .byte 0x1 # DW_AT_GNU_all_tail_call_sites 831 .long 0x14b # DW_AT_sibling 832 .uleb128 0x8 # (DIE (0x13c) DW_TAG_formal_parameter) 833 .ascii "ptr\0" # DW_AT_name 834 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 835 .byte 0x36 # DW_AT_decl_line 836 .long 0x6c # DW_AT_type 837 .byte 0x2 # DW_AT_location 838 .byte 0x91 # DW_OP_fbreg 839 .sleb128 -24 840 .byte 0 # end of children of DIE 0x11a 841 .uleb128 0x9 # (DIE (0x14b) DW_TAG_subprogram) 842 .long .LASF20 # DW_AT_name: "make_invalid_ptr" 843 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 844 .byte 0x40 # DW_AT_decl_line 845 .byte 0x1 # DW_AT_prototyped 846 .long 0x6c # DW_AT_type 847 .quad .LFB6 # DW_AT_low_pc 848 .quad .LFE6 # DW_AT_high_pc 849 .long .LLST6 # DW_AT_frame_base 850 .byte 0x1 # DW_AT_GNU_all_tail_call_sites 851 .long 0x1af # DW_AT_sibling 852 .uleb128 0xa # (DIE (0x170) DW_TAG_variable) 853 .long .LASF15 # DW_AT_name: "page_size" 854 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 855 .byte 0x42 # DW_AT_decl_line 856 .long 0x57 # DW_AT_type 857 .byte 0x2 # DW_AT_location 858 .byte 0x91 # DW_OP_fbreg 859 .sleb128 -20 860 .uleb128 0xb # (DIE (0x17e) DW_TAG_variable) 861 .ascii "ans\0" # DW_AT_name 862 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 863 .byte 0x42 # DW_AT_decl_line 864 .long 0x57 # DW_AT_type 865 .byte 0x2 # DW_AT_location 866 .byte 0x91 # DW_OP_fbreg 867 .sleb128 -36 868 .uleb128 0xb # (DIE (0x18c) DW_TAG_variable) 869 .ascii "ptr\0" # DW_AT_name 870 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 871 .byte 0x43 # DW_AT_decl_line 872 .long 0x6c # DW_AT_type 873 .byte 0x2 # DW_AT_location 874 .byte 0x91 # DW_OP_fbreg 875 .sleb128 -32 876 .uleb128 0xc # (DIE (0x19a) DW_TAG_variable) 877 .long .LASF21 # DW_AT_name: "__PRETTY_FUNCTION__" 878 .long 0x1bf # DW_AT_type 879 .byte 0x1 # DW_AT_artificial 880 .byte 0x9 # DW_AT_location 881 .byte 0x3 # DW_OP_addr 882 .quad __PRETTY_FUNCTION__.2362 883 .byte 0 # end of children of DIE 0x14b 884 .uleb128 0xd # (DIE (0x1af) DW_TAG_array_type) 885 .long 0x6e # DW_AT_type 886 .long 0x1bf # DW_AT_sibling 887 .uleb128 0xe # (DIE (0x1b8) DW_TAG_subrange_type) 888 .long 0x65 # DW_AT_type 889 .byte 0x10 # DW_AT_upper_bound 890 .byte 0 # end of children of DIE 0x1af 891 .uleb128 0xf # (DIE (0x1bf) DW_TAG_const_type) 892 .long 0x1af # DW_AT_type 893 .uleb128 0x10 # (DIE (0x1c4) DW_TAG_subprogram) 894 .byte 0x1 # DW_AT_external 895 .long .LASF22 # DW_AT_name: "main" 896 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 897 .byte 0x51 # DW_AT_decl_line 898 .long 0x57 # DW_AT_type 899 .quad .LFB7 # DW_AT_low_pc 900 .quad .LFE7 # DW_AT_high_pc 901 .long .LLST7 # DW_AT_frame_base 902 .byte 0x1 # DW_AT_GNU_all_tail_call_sites 903 .uleb128 0xa # (DIE (0x1e5) DW_TAG_variable) 904 .long .LASF16 # DW_AT_name: "invalid_ptr" 905 .byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c) 906 .byte 0x53 # DW_AT_decl_line 907 .long 0x6c # DW_AT_type 908 .byte 0x2 # DW_AT_location 909 .byte 0x91 # DW_OP_fbreg 910 .sleb128 -24 911 .byte 0 # end of children of DIE 0x1c4 912 .byte 0 # end of children of DIE 0xb 913 .section .debug_abbrev,"",@progbits 914.Ldebug_abbrev0: 915 .uleb128 0x1 # (abbrev code) 916 .uleb128 0x11 # (TAG: DW_TAG_compile_unit) 917 .byte 0x1 # DW_children_yes 918 .uleb128 0x25 # (DW_AT_producer) 919 .uleb128 0xe # (DW_FORM_strp) 920 .uleb128 0x13 # (DW_AT_language) 921 .uleb128 0xb # (DW_FORM_data1) 922 .uleb128 0x3 # (DW_AT_name) 923 .uleb128 0xe # (DW_FORM_strp) 924 .uleb128 0x1b # (DW_AT_comp_dir) 925 .uleb128 0xe # (DW_FORM_strp) 926 .uleb128 0x11 # (DW_AT_low_pc) 927 .uleb128 0x1 # (DW_FORM_addr) 928 .uleb128 0x12 # (DW_AT_high_pc) 929 .uleb128 0x1 # (DW_FORM_addr) 930 .uleb128 0x10 # (DW_AT_stmt_list) 931 .uleb128 0x6 # (DW_FORM_data4) 932 .byte 0 933 .byte 0 934 .uleb128 0x2 # (abbrev code) 935 .uleb128 0x24 # (TAG: DW_TAG_base_type) 936 .byte 0 # DW_children_no 937 .uleb128 0xb # (DW_AT_byte_size) 938 .uleb128 0xb # (DW_FORM_data1) 939 .uleb128 0x3e # (DW_AT_encoding) 940 .uleb128 0xb # (DW_FORM_data1) 941 .uleb128 0x3 # (DW_AT_name) 942 .uleb128 0xe # (DW_FORM_strp) 943 .byte 0 944 .byte 0 945 .uleb128 0x3 # (abbrev code) 946 .uleb128 0x24 # (TAG: DW_TAG_base_type) 947 .byte 0 # DW_children_no 948 .uleb128 0xb # (DW_AT_byte_size) 949 .uleb128 0xb # (DW_FORM_data1) 950 .uleb128 0x3e # (DW_AT_encoding) 951 .uleb128 0xb # (DW_FORM_data1) 952 .uleb128 0x3 # (DW_AT_name) 953 .uleb128 0x8 # (DW_FORM_string) 954 .byte 0 955 .byte 0 956 .uleb128 0x4 # (abbrev code) 957 .uleb128 0xf # (TAG: DW_TAG_pointer_type) 958 .byte 0 # DW_children_no 959 .uleb128 0xb # (DW_AT_byte_size) 960 .uleb128 0xb # (DW_FORM_data1) 961 .byte 0 962 .byte 0 963 .uleb128 0x5 # (abbrev code) 964 .uleb128 0x2e # (TAG: DW_TAG_subprogram) 965 .byte 0 # DW_children_no 966 .uleb128 0x3f # (DW_AT_external) 967 .uleb128 0xc # (DW_FORM_flag) 968 .uleb128 0x3 # (DW_AT_name) 969 .uleb128 0xe # (DW_FORM_strp) 970 .uleb128 0x3a # (DW_AT_decl_file) 971 .uleb128 0xb # (DW_FORM_data1) 972 .uleb128 0x3b # (DW_AT_decl_line) 973 .uleb128 0xb # (DW_FORM_data1) 974 .uleb128 0x11 # (DW_AT_low_pc) 975 .uleb128 0x1 # (DW_FORM_addr) 976 .uleb128 0x12 # (DW_AT_high_pc) 977 .uleb128 0x1 # (DW_FORM_addr) 978 .uleb128 0x40 # (DW_AT_frame_base) 979 .uleb128 0x6 # (DW_FORM_data4) 980 .uleb128 0x2117 # (DW_AT_GNU_all_call_sites) 981 .uleb128 0xc # (DW_FORM_flag) 982 .byte 0 983 .byte 0 984 .uleb128 0x6 # (abbrev code) 985 .uleb128 0x2e # (TAG: DW_TAG_subprogram) 986 .byte 0 # DW_children_no 987 .uleb128 0x3f # (DW_AT_external) 988 .uleb128 0xc # (DW_FORM_flag) 989 .uleb128 0x3 # (DW_AT_name) 990 .uleb128 0xe # (DW_FORM_strp) 991 .uleb128 0x3a # (DW_AT_decl_file) 992 .uleb128 0xb # (DW_FORM_data1) 993 .uleb128 0x3b # (DW_AT_decl_line) 994 .uleb128 0xb # (DW_FORM_data1) 995 .uleb128 0x11 # (DW_AT_low_pc) 996 .uleb128 0x1 # (DW_FORM_addr) 997 .uleb128 0x12 # (DW_AT_high_pc) 998 .uleb128 0x1 # (DW_FORM_addr) 999 .uleb128 0x40 # (DW_AT_frame_base) 1000 .uleb128 0x6 # (DW_FORM_data4) 1001 .uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites) 1002 .uleb128 0xc # (DW_FORM_flag) 1003 .byte 0 1004 .byte 0 1005 .uleb128 0x7 # (abbrev code) 1006 .uleb128 0x2e # (TAG: DW_TAG_subprogram) 1007 .byte 0x1 # DW_children_yes 1008 .uleb128 0x3f # (DW_AT_external) 1009 .uleb128 0xc # (DW_FORM_flag) 1010 .uleb128 0x3 # (DW_AT_name) 1011 .uleb128 0xe # (DW_FORM_strp) 1012 .uleb128 0x3a # (DW_AT_decl_file) 1013 .uleb128 0xb # (DW_FORM_data1) 1014 .uleb128 0x3b # (DW_AT_decl_line) 1015 .uleb128 0xb # (DW_FORM_data1) 1016 .uleb128 0x27 # (DW_AT_prototyped) 1017 .uleb128 0xc # (DW_FORM_flag) 1018 .uleb128 0x11 # (DW_AT_low_pc) 1019 .uleb128 0x1 # (DW_FORM_addr) 1020 .uleb128 0x12 # (DW_AT_high_pc) 1021 .uleb128 0x1 # (DW_FORM_addr) 1022 .uleb128 0x40 # (DW_AT_frame_base) 1023 .uleb128 0x6 # (DW_FORM_data4) 1024 .uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites) 1025 .uleb128 0xc # (DW_FORM_flag) 1026 .uleb128 0x1 # (DW_AT_sibling) 1027 .uleb128 0x13 # (DW_FORM_ref4) 1028 .byte 0 1029 .byte 0 1030 .uleb128 0x8 # (abbrev code) 1031 .uleb128 0x5 # (TAG: DW_TAG_formal_parameter) 1032 .byte 0 # DW_children_no 1033 .uleb128 0x3 # (DW_AT_name) 1034 .uleb128 0x8 # (DW_FORM_string) 1035 .uleb128 0x3a # (DW_AT_decl_file) 1036 .uleb128 0xb # (DW_FORM_data1) 1037 .uleb128 0x3b # (DW_AT_decl_line) 1038 .uleb128 0xb # (DW_FORM_data1) 1039 .uleb128 0x49 # (DW_AT_type) 1040 .uleb128 0x13 # (DW_FORM_ref4) 1041 .uleb128 0x2 # (DW_AT_location) 1042 .uleb128 0xa # (DW_FORM_block1) 1043 .byte 0 1044 .byte 0 1045 .uleb128 0x9 # (abbrev code) 1046 .uleb128 0x2e # (TAG: DW_TAG_subprogram) 1047 .byte 0x1 # DW_children_yes 1048 .uleb128 0x3 # (DW_AT_name) 1049 .uleb128 0xe # (DW_FORM_strp) 1050 .uleb128 0x3a # (DW_AT_decl_file) 1051 .uleb128 0xb # (DW_FORM_data1) 1052 .uleb128 0x3b # (DW_AT_decl_line) 1053 .uleb128 0xb # (DW_FORM_data1) 1054 .uleb128 0x27 # (DW_AT_prototyped) 1055 .uleb128 0xc # (DW_FORM_flag) 1056 .uleb128 0x49 # (DW_AT_type) 1057 .uleb128 0x13 # (DW_FORM_ref4) 1058 .uleb128 0x11 # (DW_AT_low_pc) 1059 .uleb128 0x1 # (DW_FORM_addr) 1060 .uleb128 0x12 # (DW_AT_high_pc) 1061 .uleb128 0x1 # (DW_FORM_addr) 1062 .uleb128 0x40 # (DW_AT_frame_base) 1063 .uleb128 0x6 # (DW_FORM_data4) 1064 .uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites) 1065 .uleb128 0xc # (DW_FORM_flag) 1066 .uleb128 0x1 # (DW_AT_sibling) 1067 .uleb128 0x13 # (DW_FORM_ref4) 1068 .byte 0 1069 .byte 0 1070 .uleb128 0xa # (abbrev code) 1071 .uleb128 0x34 # (TAG: DW_TAG_variable) 1072 .byte 0 # DW_children_no 1073 .uleb128 0x3 # (DW_AT_name) 1074 .uleb128 0xe # (DW_FORM_strp) 1075 .uleb128 0x3a # (DW_AT_decl_file) 1076 .uleb128 0xb # (DW_FORM_data1) 1077 .uleb128 0x3b # (DW_AT_decl_line) 1078 .uleb128 0xb # (DW_FORM_data1) 1079 .uleb128 0x49 # (DW_AT_type) 1080 .uleb128 0x13 # (DW_FORM_ref4) 1081 .uleb128 0x2 # (DW_AT_location) 1082 .uleb128 0xa # (DW_FORM_block1) 1083 .byte 0 1084 .byte 0 1085 .uleb128 0xb # (abbrev code) 1086 .uleb128 0x34 # (TAG: DW_TAG_variable) 1087 .byte 0 # DW_children_no 1088 .uleb128 0x3 # (DW_AT_name) 1089 .uleb128 0x8 # (DW_FORM_string) 1090 .uleb128 0x3a # (DW_AT_decl_file) 1091 .uleb128 0xb # (DW_FORM_data1) 1092 .uleb128 0x3b # (DW_AT_decl_line) 1093 .uleb128 0xb # (DW_FORM_data1) 1094 .uleb128 0x49 # (DW_AT_type) 1095 .uleb128 0x13 # (DW_FORM_ref4) 1096 .uleb128 0x2 # (DW_AT_location) 1097 .uleb128 0xa # (DW_FORM_block1) 1098 .byte 0 1099 .byte 0 1100 .uleb128 0xc # (abbrev code) 1101 .uleb128 0x34 # (TAG: DW_TAG_variable) 1102 .byte 0 # DW_children_no 1103 .uleb128 0x3 # (DW_AT_name) 1104 .uleb128 0xe # (DW_FORM_strp) 1105 .uleb128 0x49 # (DW_AT_type) 1106 .uleb128 0x13 # (DW_FORM_ref4) 1107 .uleb128 0x34 # (DW_AT_artificial) 1108 .uleb128 0xc # (DW_FORM_flag) 1109 .uleb128 0x2 # (DW_AT_location) 1110 .uleb128 0xa # (DW_FORM_block1) 1111 .byte 0 1112 .byte 0 1113 .uleb128 0xd # (abbrev code) 1114 .uleb128 0x1 # (TAG: DW_TAG_array_type) 1115 .byte 0x1 # DW_children_yes 1116 .uleb128 0x49 # (DW_AT_type) 1117 .uleb128 0x13 # (DW_FORM_ref4) 1118 .uleb128 0x1 # (DW_AT_sibling) 1119 .uleb128 0x13 # (DW_FORM_ref4) 1120 .byte 0 1121 .byte 0 1122 .uleb128 0xe # (abbrev code) 1123 .uleb128 0x21 # (TAG: DW_TAG_subrange_type) 1124 .byte 0 # DW_children_no 1125 .uleb128 0x49 # (DW_AT_type) 1126 .uleb128 0x13 # (DW_FORM_ref4) 1127 .uleb128 0x2f # (DW_AT_upper_bound) 1128 .uleb128 0xb # (DW_FORM_data1) 1129 .byte 0 1130 .byte 0 1131 .uleb128 0xf # (abbrev code) 1132 .uleb128 0x26 # (TAG: DW_TAG_const_type) 1133 .byte 0 # DW_children_no 1134 .uleb128 0x49 # (DW_AT_type) 1135 .uleb128 0x13 # (DW_FORM_ref4) 1136 .byte 0 1137 .byte 0 1138 .uleb128 0x10 # (abbrev code) 1139 .uleb128 0x2e # (TAG: DW_TAG_subprogram) 1140 .byte 0x1 # DW_children_yes 1141 .uleb128 0x3f # (DW_AT_external) 1142 .uleb128 0xc # (DW_FORM_flag) 1143 .uleb128 0x3 # (DW_AT_name) 1144 .uleb128 0xe # (DW_FORM_strp) 1145 .uleb128 0x3a # (DW_AT_decl_file) 1146 .uleb128 0xb # (DW_FORM_data1) 1147 .uleb128 0x3b # (DW_AT_decl_line) 1148 .uleb128 0xb # (DW_FORM_data1) 1149 .uleb128 0x49 # (DW_AT_type) 1150 .uleb128 0x13 # (DW_FORM_ref4) 1151 .uleb128 0x11 # (DW_AT_low_pc) 1152 .uleb128 0x1 # (DW_FORM_addr) 1153 .uleb128 0x12 # (DW_AT_high_pc) 1154 .uleb128 0x1 # (DW_FORM_addr) 1155 .uleb128 0x40 # (DW_AT_frame_base) 1156 .uleb128 0x6 # (DW_FORM_data4) 1157 .uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites) 1158 .uleb128 0xc # (DW_FORM_flag) 1159 .byte 0 1160 .byte 0 1161 .byte 0 1162 .section .debug_loc,"",@progbits 1163.Ldebug_loc0: 1164.LLST0: 1165 .quad .LFB0-.Ltext0 # Location list begin address (*.LLST0) 1166 .quad .LCFI0-.Ltext0 # Location list end address (*.LLST0) 1167 .value 0x2 # Location expression size 1168 .byte 0x77 # DW_OP_breg7 1169 .sleb128 8 1170 .quad .LCFI0-.Ltext0 # Location list begin address (*.LLST0) 1171 .quad .LCFI1-.Ltext0 # Location list end address (*.LLST0) 1172 .value 0x2 # Location expression size 1173 .byte 0x77 # DW_OP_breg7 1174 .sleb128 16 1175 .quad .LCFI1-.Ltext0 # Location list begin address (*.LLST0) 1176 .quad .LCFI2-.Ltext0 # Location list end address (*.LLST0) 1177 .value 0x2 # Location expression size 1178 .byte 0x76 # DW_OP_breg6 1179 .sleb128 16 1180 .quad .LCFI2-.Ltext0 # Location list begin address (*.LLST0) 1181 .quad .LFE0-.Ltext0 # Location list end address (*.LLST0) 1182 .value 0x2 # Location expression size 1183 .byte 0x77 # DW_OP_breg7 1184 .sleb128 8 1185 .quad 0 # Location list terminator begin (*.LLST0) 1186 .quad 0 # Location list terminator end (*.LLST0) 1187.LLST1: 1188 .quad .LFB1-.Ltext0 # Location list begin address (*.LLST1) 1189 .quad .LCFI3-.Ltext0 # Location list end address (*.LLST1) 1190 .value 0x2 # Location expression size 1191 .byte 0x77 # DW_OP_breg7 1192 .sleb128 8 1193 .quad .LCFI3-.Ltext0 # Location list begin address (*.LLST1) 1194 .quad .LCFI4-.Ltext0 # Location list end address (*.LLST1) 1195 .value 0x2 # Location expression size 1196 .byte 0x77 # DW_OP_breg7 1197 .sleb128 16 1198 .quad .LCFI4-.Ltext0 # Location list begin address (*.LLST1) 1199 .quad .LCFI5-.Ltext0 # Location list end address (*.LLST1) 1200 .value 0x2 # Location expression size 1201 .byte 0x76 # DW_OP_breg6 1202 .sleb128 16 1203 .quad .LCFI5-.Ltext0 # Location list begin address (*.LLST1) 1204 .quad .LFE1-.Ltext0 # Location list end address (*.LLST1) 1205 .value 0x2 # Location expression size 1206 .byte 0x77 # DW_OP_breg7 1207 .sleb128 8 1208 .quad 0 # Location list terminator begin (*.LLST1) 1209 .quad 0 # Location list terminator end (*.LLST1) 1210.LLST2: 1211 .quad .LFB2-.Ltext0 # Location list begin address (*.LLST2) 1212 .quad .LCFI6-.Ltext0 # Location list end address (*.LLST2) 1213 .value 0x2 # Location expression size 1214 .byte 0x77 # DW_OP_breg7 1215 .sleb128 8 1216 .quad .LCFI6-.Ltext0 # Location list begin address (*.LLST2) 1217 .quad .LCFI7-.Ltext0 # Location list end address (*.LLST2) 1218 .value 0x2 # Location expression size 1219 .byte 0x77 # DW_OP_breg7 1220 .sleb128 16 1221 .quad .LCFI7-.Ltext0 # Location list begin address (*.LLST2) 1222 .quad .LCFI8-.Ltext0 # Location list end address (*.LLST2) 1223 .value 0x2 # Location expression size 1224 .byte 0x76 # DW_OP_breg6 1225 .sleb128 16 1226 .quad .LCFI8-.Ltext0 # Location list begin address (*.LLST2) 1227 .quad .LFE2-.Ltext0 # Location list end address (*.LLST2) 1228 .value 0x2 # Location expression size 1229 .byte 0x77 # DW_OP_breg7 1230 .sleb128 8 1231 .quad 0 # Location list terminator begin (*.LLST2) 1232 .quad 0 # Location list terminator end (*.LLST2) 1233.LLST3: 1234 .quad .LFB3-.Ltext0 # Location list begin address (*.LLST3) 1235 .quad .LCFI9-.Ltext0 # Location list end address (*.LLST3) 1236 .value 0x2 # Location expression size 1237 .byte 0x77 # DW_OP_breg7 1238 .sleb128 8 1239 .quad .LCFI9-.Ltext0 # Location list begin address (*.LLST3) 1240 .quad .LCFI10-.Ltext0 # Location list end address (*.LLST3) 1241 .value 0x2 # Location expression size 1242 .byte 0x77 # DW_OP_breg7 1243 .sleb128 16 1244 .quad .LCFI10-.Ltext0 # Location list begin address (*.LLST3) 1245 .quad .LCFI11-.Ltext0 # Location list end address (*.LLST3) 1246 .value 0x2 # Location expression size 1247 .byte 0x76 # DW_OP_breg6 1248 .sleb128 16 1249 .quad .LCFI11-.Ltext0 # Location list begin address (*.LLST3) 1250 .quad .LFE3-.Ltext0 # Location list end address (*.LLST3) 1251 .value 0x2 # Location expression size 1252 .byte 0x77 # DW_OP_breg7 1253 .sleb128 8 1254 .quad 0 # Location list terminator begin (*.LLST3) 1255 .quad 0 # Location list terminator end (*.LLST3) 1256.LLST4: 1257 .quad .LFB4-.Ltext0 # Location list begin address (*.LLST4) 1258 .quad .LCFI12-.Ltext0 # Location list end address (*.LLST4) 1259 .value 0x2 # Location expression size 1260 .byte 0x77 # DW_OP_breg7 1261 .sleb128 8 1262 .quad .LCFI12-.Ltext0 # Location list begin address (*.LLST4) 1263 .quad .LCFI13-.Ltext0 # Location list end address (*.LLST4) 1264 .value 0x2 # Location expression size 1265 .byte 0x77 # DW_OP_breg7 1266 .sleb128 16 1267 .quad .LCFI13-.Ltext0 # Location list begin address (*.LLST4) 1268 .quad .LCFI14-.Ltext0 # Location list end address (*.LLST4) 1269 .value 0x2 # Location expression size 1270 .byte 0x76 # DW_OP_breg6 1271 .sleb128 16 1272 .quad .LCFI14-.Ltext0 # Location list begin address (*.LLST4) 1273 .quad .LFE4-.Ltext0 # Location list end address (*.LLST4) 1274 .value 0x2 # Location expression size 1275 .byte 0x77 # DW_OP_breg7 1276 .sleb128 8 1277 .quad 0 # Location list terminator begin (*.LLST4) 1278 .quad 0 # Location list terminator end (*.LLST4) 1279.LLST5: 1280 .quad .LFB5-.Ltext0 # Location list begin address (*.LLST5) 1281 .quad .LCFI15-.Ltext0 # Location list end address (*.LLST5) 1282 .value 0x2 # Location expression size 1283 .byte 0x77 # DW_OP_breg7 1284 .sleb128 8 1285 .quad .LCFI15-.Ltext0 # Location list begin address (*.LLST5) 1286 .quad .LCFI16-.Ltext0 # Location list end address (*.LLST5) 1287 .value 0x2 # Location expression size 1288 .byte 0x77 # DW_OP_breg7 1289 .sleb128 16 1290 .quad .LCFI16-.Ltext0 # Location list begin address (*.LLST5) 1291 .quad .LCFI17-.Ltext0 # Location list end address (*.LLST5) 1292 .value 0x2 # Location expression size 1293 .byte 0x76 # DW_OP_breg6 1294 .sleb128 16 1295 .quad .LCFI17-.Ltext0 # Location list begin address (*.LLST5) 1296 .quad .LFE5-.Ltext0 # Location list end address (*.LLST5) 1297 .value 0x2 # Location expression size 1298 .byte 0x77 # DW_OP_breg7 1299 .sleb128 8 1300 .quad 0 # Location list terminator begin (*.LLST5) 1301 .quad 0 # Location list terminator end (*.LLST5) 1302.LLST6: 1303 .quad .LFB6-.Ltext0 # Location list begin address (*.LLST6) 1304 .quad .LCFI18-.Ltext0 # Location list end address (*.LLST6) 1305 .value 0x2 # Location expression size 1306 .byte 0x77 # DW_OP_breg7 1307 .sleb128 8 1308 .quad .LCFI18-.Ltext0 # Location list begin address (*.LLST6) 1309 .quad .LCFI19-.Ltext0 # Location list end address (*.LLST6) 1310 .value 0x2 # Location expression size 1311 .byte 0x77 # DW_OP_breg7 1312 .sleb128 16 1313 .quad .LCFI19-.Ltext0 # Location list begin address (*.LLST6) 1314 .quad .LCFI20-.Ltext0 # Location list end address (*.LLST6) 1315 .value 0x2 # Location expression size 1316 .byte 0x76 # DW_OP_breg6 1317 .sleb128 16 1318 .quad .LCFI20-.Ltext0 # Location list begin address (*.LLST6) 1319 .quad .LFE6-.Ltext0 # Location list end address (*.LLST6) 1320 .value 0x2 # Location expression size 1321 .byte 0x77 # DW_OP_breg7 1322 .sleb128 8 1323 .quad 0 # Location list terminator begin (*.LLST6) 1324 .quad 0 # Location list terminator end (*.LLST6) 1325.LLST7: 1326 .quad .LFB7-.Ltext0 # Location list begin address (*.LLST7) 1327 .quad .LCFI21-.Ltext0 # Location list end address (*.LLST7) 1328 .value 0x2 # Location expression size 1329 .byte 0x77 # DW_OP_breg7 1330 .sleb128 8 1331 .quad .LCFI21-.Ltext0 # Location list begin address (*.LLST7) 1332 .quad .LCFI22-.Ltext0 # Location list end address (*.LLST7) 1333 .value 0x2 # Location expression size 1334 .byte 0x77 # DW_OP_breg7 1335 .sleb128 16 1336 .quad .LCFI22-.Ltext0 # Location list begin address (*.LLST7) 1337 .quad .LCFI23-.Ltext0 # Location list end address (*.LLST7) 1338 .value 0x2 # Location expression size 1339 .byte 0x76 # DW_OP_breg6 1340 .sleb128 16 1341 .quad .LCFI23-.Ltext0 # Location list begin address (*.LLST7) 1342 .quad .LFE7-.Ltext0 # Location list end address (*.LLST7) 1343 .value 0x2 # Location expression size 1344 .byte 0x77 # DW_OP_breg7 1345 .sleb128 8 1346 .quad 0 # Location list terminator begin (*.LLST7) 1347 .quad 0 # Location list terminator end (*.LLST7) 1348 .section .debug_aranges,"",@progbits 1349 .long 0x2c # Length of Address Ranges Info 1350 .value 0x2 # DWARF Version 1351 .long .Ldebug_info0 # Offset of Compilation Unit Info 1352 .byte 0x8 # Size of Address 1353 .byte 0 # Size of Segment Descriptor 1354 .value 0 # Pad to 16 byte boundary 1355 .value 0 1356 .quad .Ltext0 # Address 1357 .quad .Letext0-.Ltext0 # Length 1358 .quad 0 1359 .quad 0 1360 .section .debug_line,"",@progbits 1361.Ldebug_line0: 1362 .section .debug_str,"MS",@progbits,1 1363.LASF10: 1364 .string "func5" 1365.LASF20: 1366 .string "make_invalid_ptr" 1367.LASF21: 1368 .string "__PRETTY_FUNCTION__" 1369.LASF18: 1370 .string "amd64-invalid-stack-middle.c" 1371.LASF22: 1372 .string "main" 1373.LASF14: 1374 .string "func1" 1375.LASF17: 1376 .string "GNU C 4.7.2" 1377.LASF11: 1378 .string "func4" 1379.LASF0: 1380 .string "long unsigned int" 1381.LASF1: 1382 .string "unsigned char" 1383.LASF8: 1384 .string "char" 1385.LASF6: 1386 .string "long int" 1387.LASF15: 1388 .string "page_size" 1389.LASF13: 1390 .string "func2" 1391.LASF16: 1392 .string "invalid_ptr" 1393.LASF2: 1394 .string "short unsigned int" 1395.LASF4: 1396 .string "signed char" 1397.LASF9: 1398 .string "breakpt" 1399.LASF19: 1400 .string "/home/gdb/binutils-gdb/gdb/testsuite/gdb.arch" 1401.LASF5: 1402 .string "short int" 1403.LASF3: 1404 .string "unsigned int" 1405.LASF12: 1406 .string "func3" 1407.LASF7: 1408 .string "sizetype" 1409 .ident "GCC: (GNU) 4.7.2" 1410 .section .note.GNU-stack,"",@progbits 1411