1 .file "implptr.c" 2 .text 3.Ltext0: 4 .p2align 4,,15 5 .globl foo 6 .type foo, @function 7foo: 8.LFB1: 9 .file 1 "implptr.c" 10 .loc 1 45 0 11 .cfi_startproc 12.LVL0: 13 .loc 1 45 0 14 movl 4(%esp), %eax 15.LVL1: 16.LBB6: 17.LBB7: 18 .loc 1 36 0 19 addl $1, u 20.LVL2: 21 .loc 1 38 0 22 addl $1, u+4 23.LVL3: 24 .loc 1 40 0 25 addl $1, u+8 26.LVL4: 27.LBE7: 28.LBE6: 29.LBB8: 30.LBB9: 31 .loc 1 36 0 32 addl $1, u+12 33.LVL5: 34 .loc 1 38 0 35 addl $1, u+16 36.LVL6: 37 .loc 1 40 0 38 addl $1, u+20 39.LBE9: 40.LBE8: 41 .loc 1 52 0 42 leal (%eax,%eax,4), %eax 43 .loc 1 53 0 44 ret 45 .cfi_endproc 46.LFE1: 47 .size foo, .-foo 48 .p2align 4,,15 49 .globl bar 50 .type bar, @function 51bar: 52.LFB2: 53 .loc 1 57 0 54 .cfi_startproc 55.LVL7: 56 .loc 1 61 0 57 movl 4(%esp), %eax 58 addl $1, %eax 59 .loc 1 63 0 60 ret 61 .cfi_endproc 62.LFE2: 63 .size bar, .-bar 64 .p2align 4,,15 65 .globl main 66 .type main, @function 67main: 68.LFB3: 69 .loc 1 66 0 70 .cfi_startproc 71 pushl %ebx 72 .cfi_def_cfa_offset 8 73 .cfi_offset 3, -8 74 subl $4, %esp 75 .cfi_def_cfa_offset 12 76 .loc 1 67 0 77 movl $5, (%esp) 78 call bar 79 movl $23, (%esp) 80 movl %eax, %ebx 81 call foo 82 .loc 1 68 0 83 addl $4, %esp 84 .cfi_def_cfa_offset 8 85 .loc 1 67 0 86 addl %ebx, %eax 87 .loc 1 68 0 88 popl %ebx 89 .cfi_def_cfa_offset 4 90 .cfi_restore 3 91 ret 92 .cfi_endproc 93.LFE3: 94 .size main, .-main 95 .comm u,24,4 96.Letext0: 97 .section .debug_types,"G",@progbits,wt.ade46b36db7edab6,comdat 98 .long 0x46 99 .value 0x4 100 .long .Ldebug_abbrev0 101 .byte 0x4 102 .byte 0xad 103 .byte 0xe4 104 .byte 0x6b 105 .byte 0x36 106 .byte 0xdb 107 .byte 0x7e 108 .byte 0xda 109 .byte 0xb6 110 .long 0x1d 111 .uleb128 0x1 112 .byte 0x1 113 .long .Ldebug_line0 114 .uleb128 0x2 115 .string "S" 116 .byte 0x8 117 .byte 0x1 118 .byte 0x18 119 .long 0x3c 120 .uleb128 0x3 121 .string "x" 122 .byte 0x1 123 .byte 0x1a 124 .long 0x3c 125 .byte 0 126 .uleb128 0x3 127 .string "y" 128 .byte 0x1 129 .byte 0x1a 130 .long 0x42 131 .byte 0x4 132 .byte 0 133 .uleb128 0x4 134 .byte 0x4 135 .long 0x42 136 .uleb128 0x5 137 .byte 0x4 138 .byte 0x5 139 .string "int" 140 .byte 0 141 .section .debug_info,"",@progbits 142.Ldebug_info0: 143 .long 0x1b6 144 .value 0x4 145 .long .Ldebug_abbrev0 146 .byte 0x4 147 .uleb128 0x6 148 .long .LASF1 149 .byte 0x1 150 .long .LASF2 151 .long .LASF3 152 .long .Ltext0 153 .long .Letext0 154 .long .Ldebug_line0 155 .uleb128 0x4 156 .byte 0x4 157 .long 0x2b 158 .uleb128 0x5 159 .byte 0x4 160 .byte 0x5 161 .string "int" 162 .uleb128 0x7 163 .string "add" 164 .byte 0x1 165 .byte 0x20 166 .byte 0x3 167 .long 0x5a 168 .uleb128 0x8 169 .string "a" 170 .byte 0x1 171 .byte 0x20 172 .long 0x5a 173 .uleb128 0x8 174 .string "b" 175 .byte 0x1 176 .byte 0x20 177 .long 0x5a 178 .uleb128 0x8 179 .string "c" 180 .byte 0x1 181 .byte 0x20 182 .long 0x2b 183 .byte 0 184 .uleb128 0x9 185 .byte 0x4 186 .byte 0xad 187 .byte 0xe4 188 .byte 0x6b 189 .byte 0x36 190 .byte 0xdb 191 .byte 0x7e 192 .byte 0xda 193 .byte 0xb6 194 .uleb128 0xa 195 .string "foo" 196 .byte 0x1 197 .byte 0x2c 198 .long 0x2b 199 .long .LFB1 200 .long .LFE1 201 .uleb128 0x1 202 .byte 0x9c 203 .long 0xff 204 .uleb128 0xb 205 .string "i" 206 .byte 0x1 207 .byte 0x2c 208 .long 0x2b 209 .long .LLST0 210 .uleb128 0xc 211 .string "j" 212 .byte 0x1 213 .byte 0x2e 214 .long 0x2b 215 .long .LLST1 216 .uleb128 0xc 217 .string "p" 218 .byte 0x1 219 .byte 0x2f 220 .long 0xff 221 .long .LLST2 222 .uleb128 0xd 223 .long 0x32 224 .long .LBB6 225 .long .LBE6 226 .byte 0x1 227 .byte 0x30 228 .long 0xd3 229 .uleb128 0xe 230 .long 0x50 231 .byte 0 232 .uleb128 0xf 233 .long 0x47 234 .uleb128 0x6 235 .byte 0xf2 236 .long .Ldebug_info0+151 237 .sleb128 8 238 .uleb128 0x10 239 .long 0x3e 240 .long .LLST3 241 .byte 0 242 .uleb128 0x11 243 .long 0x32 244 .long .LBB8 245 .long .LBE8 246 .byte 0x1 247 .byte 0x33 248 .uleb128 0xe 249 .long 0x50 250 .byte 0x3 251 .uleb128 0xf 252 .long 0x47 253 .uleb128 0x6 254 .byte 0xf2 255 .long .Ldebug_info0+151 256 .sleb128 8 257 .uleb128 0x10 258 .long 0x3e 259 .long .LLST4 260 .byte 0 261 .byte 0 262 .uleb128 0x12 263 .byte 0xad 264 .byte 0xe4 265 .byte 0x6b 266 .byte 0x36 267 .byte 0xdb 268 .byte 0x7e 269 .byte 0xda 270 .byte 0xb6 271 .long 0x113 272 .uleb128 0x13 273 .long 0x113 274 .byte 0x1 275 .byte 0 276 .uleb128 0x14 277 .byte 0x4 278 .byte 0x7 279 .long .LASF0 280 .uleb128 0xa 281 .string "bar" 282 .byte 0x1 283 .byte 0x38 284 .long 0x2b 285 .long .LFB2 286 .long .LFE2 287 .uleb128 0x1 288 .byte 0x9c 289 .long 0x170 290 .uleb128 0x15 291 .string "i" 292 .byte 0x1 293 .byte 0x38 294 .long 0x2b 295 .uleb128 0x2 296 .byte 0x91 297 .sleb128 0 298 .uleb128 0x16 299 .string "j" 300 .byte 0x1 301 .byte 0x3a 302 .long 0x25 303 .uleb128 0x6 304 .byte 0xf2 305 .long .Ldebug_info0+307 306 .sleb128 0 307 .uleb128 0x16 308 .string "k" 309 .byte 0x1 310 .byte 0x3b 311 .long 0x170 312 .uleb128 0x6 313 .byte 0xf2 314 .long .Ldebug_info0+319 315 .sleb128 0 316 .uleb128 0x16 317 .string "l" 318 .byte 0x1 319 .byte 0x3c 320 .long 0x176 321 .uleb128 0x6 322 .byte 0xf2 323 .long .Ldebug_info0+335 324 .sleb128 0 325 .byte 0 326 .uleb128 0x4 327 .byte 0x4 328 .long 0x25 329 .uleb128 0x4 330 .byte 0x4 331 .long 0x170 332 .uleb128 0x17 333 .long .LASF4 334 .byte 0x1 335 .byte 0x41 336 .long 0x2b 337 .long .LFB3 338 .long .LFE3 339 .uleb128 0x1 340 .byte 0x9c 341 .uleb128 0x18 342 .long 0x2b 343 .long 0x1a1 344 .uleb128 0x13 345 .long 0x113 346 .byte 0x5 347 .byte 0 348 .uleb128 0x19 349 .string "u" 350 .byte 0x1 351 .byte 0x1d 352 .long 0x191 353 .uleb128 0x1a 354 .string "u" 355 .byte 0x1 356 .byte 0x1d 357 .long 0x191 358 .uleb128 0x5 359 .byte 0x3 360 .long u 361 .byte 0 362 .section .debug_abbrev,"",@progbits 363.Ldebug_abbrev0: 364 .uleb128 0x1 365 .uleb128 0x41 366 .byte 0x1 367 .uleb128 0x13 368 .uleb128 0xb 369 .uleb128 0x10 370 .uleb128 0x17 371 .byte 0 372 .byte 0 373 .uleb128 0x2 374 .uleb128 0x13 375 .byte 0x1 376 .uleb128 0x3 377 .uleb128 0x8 378 .uleb128 0xb 379 .uleb128 0xb 380 .uleb128 0x3a 381 .uleb128 0xb 382 .uleb128 0x3b 383 .uleb128 0xb 384 .uleb128 0x1 385 .uleb128 0x13 386 .byte 0 387 .byte 0 388 .uleb128 0x3 389 .uleb128 0xd 390 .byte 0 391 .uleb128 0x3 392 .uleb128 0x8 393 .uleb128 0x3a 394 .uleb128 0xb 395 .uleb128 0x3b 396 .uleb128 0xb 397 .uleb128 0x49 398 .uleb128 0x13 399 .uleb128 0x38 400 .uleb128 0xb 401 .byte 0 402 .byte 0 403 .uleb128 0x4 404 .uleb128 0xf 405 .byte 0 406 .uleb128 0xb 407 .uleb128 0xb 408 .uleb128 0x49 409 .uleb128 0x13 410 .byte 0 411 .byte 0 412 .uleb128 0x5 413 .uleb128 0x24 414 .byte 0 415 .uleb128 0xb 416 .uleb128 0xb 417 .uleb128 0x3e 418 .uleb128 0xb 419 .uleb128 0x3 420 .uleb128 0x8 421 .byte 0 422 .byte 0 423 .uleb128 0x6 424 .uleb128 0x11 425 .byte 0x1 426 .uleb128 0x25 427 .uleb128 0xe 428 .uleb128 0x13 429 .uleb128 0xb 430 .uleb128 0x3 431 .uleb128 0xe 432 .uleb128 0x1b 433 .uleb128 0xe 434 .uleb128 0x11 435 .uleb128 0x1 436 .uleb128 0x12 437 .uleb128 0x1 438 .uleb128 0x10 439 .uleb128 0x17 440 .byte 0 441 .byte 0 442 .uleb128 0x7 443 .uleb128 0x2e 444 .byte 0x1 445 .uleb128 0x3 446 .uleb128 0x8 447 .uleb128 0x3a 448 .uleb128 0xb 449 .uleb128 0x3b 450 .uleb128 0xb 451 .uleb128 0x27 452 .uleb128 0x19 453 .uleb128 0x20 454 .uleb128 0xb 455 .uleb128 0x1 456 .uleb128 0x13 457 .byte 0 458 .byte 0 459 .uleb128 0x8 460 .uleb128 0x5 461 .byte 0 462 .uleb128 0x3 463 .uleb128 0x8 464 .uleb128 0x3a 465 .uleb128 0xb 466 .uleb128 0x3b 467 .uleb128 0xb 468 .uleb128 0x49 469 .uleb128 0x13 470 .byte 0 471 .byte 0 472 .uleb128 0x9 473 .uleb128 0xf 474 .byte 0 475 .uleb128 0xb 476 .uleb128 0xb 477 .uleb128 0x49 478 .uleb128 0x20 479 .byte 0 480 .byte 0 481 .uleb128 0xa 482 .uleb128 0x2e 483 .byte 0x1 484 .uleb128 0x3f 485 .uleb128 0x19 486 .uleb128 0x3 487 .uleb128 0x8 488 .uleb128 0x3a 489 .uleb128 0xb 490 .uleb128 0x3b 491 .uleb128 0xb 492 .uleb128 0x27 493 .uleb128 0x19 494 .uleb128 0x49 495 .uleb128 0x13 496 .uleb128 0x11 497 .uleb128 0x1 498 .uleb128 0x12 499 .uleb128 0x1 500 .uleb128 0x40 501 .uleb128 0x18 502 .uleb128 0x1 503 .uleb128 0x13 504 .byte 0 505 .byte 0 506 .uleb128 0xb 507 .uleb128 0x5 508 .byte 0 509 .uleb128 0x3 510 .uleb128 0x8 511 .uleb128 0x3a 512 .uleb128 0xb 513 .uleb128 0x3b 514 .uleb128 0xb 515 .uleb128 0x49 516 .uleb128 0x13 517 .uleb128 0x2 518 .uleb128 0x17 519 .byte 0 520 .byte 0 521 .uleb128 0xc 522 .uleb128 0x34 523 .byte 0 524 .uleb128 0x3 525 .uleb128 0x8 526 .uleb128 0x3a 527 .uleb128 0xb 528 .uleb128 0x3b 529 .uleb128 0xb 530 .uleb128 0x49 531 .uleb128 0x13 532 .uleb128 0x2 533 .uleb128 0x17 534 .byte 0 535 .byte 0 536 .uleb128 0xd 537 .uleb128 0x1d 538 .byte 0x1 539 .uleb128 0x31 540 .uleb128 0x13 541 .uleb128 0x11 542 .uleb128 0x1 543 .uleb128 0x12 544 .uleb128 0x1 545 .uleb128 0x58 546 .uleb128 0xb 547 .uleb128 0x59 548 .uleb128 0xb 549 .uleb128 0x1 550 .uleb128 0x13 551 .byte 0 552 .byte 0 553 .uleb128 0xe 554 .uleb128 0x5 555 .byte 0 556 .uleb128 0x31 557 .uleb128 0x13 558 .uleb128 0x1c 559 .uleb128 0xb 560 .byte 0 561 .byte 0 562 .uleb128 0xf 563 .uleb128 0x5 564 .byte 0 565 .uleb128 0x31 566 .uleb128 0x13 567 .uleb128 0x2 568 .uleb128 0x18 569 .byte 0 570 .byte 0 571 .uleb128 0x10 572 .uleb128 0x5 573 .byte 0 574 .uleb128 0x31 575 .uleb128 0x13 576 .uleb128 0x2 577 .uleb128 0x17 578 .byte 0 579 .byte 0 580 .uleb128 0x11 581 .uleb128 0x1d 582 .byte 0x1 583 .uleb128 0x31 584 .uleb128 0x13 585 .uleb128 0x11 586 .uleb128 0x1 587 .uleb128 0x12 588 .uleb128 0x1 589 .uleb128 0x58 590 .uleb128 0xb 591 .uleb128 0x59 592 .uleb128 0xb 593 .byte 0 594 .byte 0 595 .uleb128 0x12 596 .uleb128 0x1 597 .byte 0x1 598 .uleb128 0x49 599 .uleb128 0x20 600 .uleb128 0x1 601 .uleb128 0x13 602 .byte 0 603 .byte 0 604 .uleb128 0x13 605 .uleb128 0x21 606 .byte 0 607 .uleb128 0x49 608 .uleb128 0x13 609 .uleb128 0x2f 610 .uleb128 0xb 611 .byte 0 612 .byte 0 613 .uleb128 0x14 614 .uleb128 0x24 615 .byte 0 616 .uleb128 0xb 617 .uleb128 0xb 618 .uleb128 0x3e 619 .uleb128 0xb 620 .uleb128 0x3 621 .uleb128 0xe 622 .byte 0 623 .byte 0 624 .uleb128 0x15 625 .uleb128 0x5 626 .byte 0 627 .uleb128 0x3 628 .uleb128 0x8 629 .uleb128 0x3a 630 .uleb128 0xb 631 .uleb128 0x3b 632 .uleb128 0xb 633 .uleb128 0x49 634 .uleb128 0x13 635 .uleb128 0x2 636 .uleb128 0x18 637 .byte 0 638 .byte 0 639 .uleb128 0x16 640 .uleb128 0x34 641 .byte 0 642 .uleb128 0x3 643 .uleb128 0x8 644 .uleb128 0x3a 645 .uleb128 0xb 646 .uleb128 0x3b 647 .uleb128 0xb 648 .uleb128 0x49 649 .uleb128 0x13 650 .uleb128 0x2 651 .uleb128 0x18 652 .byte 0 653 .byte 0 654 .uleb128 0x17 655 .uleb128 0x2e 656 .byte 0 657 .uleb128 0x3f 658 .uleb128 0x19 659 .uleb128 0x3 660 .uleb128 0xe 661 .uleb128 0x3a 662 .uleb128 0xb 663 .uleb128 0x3b 664 .uleb128 0xb 665 .uleb128 0x49 666 .uleb128 0x13 667 .uleb128 0x11 668 .uleb128 0x1 669 .uleb128 0x12 670 .uleb128 0x1 671 .uleb128 0x40 672 .uleb128 0x18 673 .byte 0 674 .byte 0 675 .uleb128 0x18 676 .uleb128 0x1 677 .byte 0x1 678 .uleb128 0x49 679 .uleb128 0x13 680 .uleb128 0x1 681 .uleb128 0x13 682 .byte 0 683 .byte 0 684 .uleb128 0x19 685 .uleb128 0x34 686 .byte 0 687 .uleb128 0x3 688 .uleb128 0x8 689 .uleb128 0x3a 690 .uleb128 0xb 691 .uleb128 0x3b 692 .uleb128 0xb 693 .uleb128 0x49 694 .uleb128 0x13 695 .uleb128 0x3f 696 .uleb128 0x19 697 .uleb128 0x3c 698 .uleb128 0x19 699 .byte 0 700 .byte 0 701 .uleb128 0x1a 702 .uleb128 0x34 703 .byte 0 704 .uleb128 0x3 705 .uleb128 0x8 706 .uleb128 0x3a 707 .uleb128 0xb 708 .uleb128 0x3b 709 .uleb128 0xb 710 .uleb128 0x49 711 .uleb128 0x13 712 .uleb128 0x3f 713 .uleb128 0x19 714 .uleb128 0x2 715 .uleb128 0x18 716 .byte 0 717 .byte 0 718 .byte 0 719 .section .debug_loc,"",@progbits 720.Ldebug_loc0: 721.LLST0: 722 .long .LVL0-.Ltext0 723 .long .LVL1-.Ltext0 724 .value 0x2 725 .byte 0x91 726 .sleb128 0 727 .long .LVL1-.Ltext0 728 .long .LFE1-.Ltext0 729 .value 0x6 730 .byte 0x91 731 .sleb128 0 732 .byte 0x6 733 .byte 0x31 734 .byte 0x24 735 .byte 0x9f 736 .long 0 737 .long 0 738.LLST1: 739 .long .LVL1-.Ltext0 740 .long .LVL4-.Ltext0 741 .value 0x2 742 .byte 0x91 743 .sleb128 0 744 .long .LVL4-.Ltext0 745 .long .LFE1-.Ltext0 746 .value 0x6 747 .byte 0x91 748 .sleb128 0 749 .byte 0x6 750 .byte 0x33 751 .byte 0x1e 752 .byte 0x9f 753 .long 0 754 .long 0 755.LLST2: 756 .long .LVL1-.Ltext0 757 .long .LVL4-.Ltext0 758 .value 0x20 759 .byte 0xf2 760 .long .Ldebug_info0+125 761 .sleb128 0 762 .byte 0x93 763 .uleb128 0x4 764 .byte 0x91 765 .sleb128 0 766 .byte 0x6 767 .byte 0x32 768 .byte 0x24 769 .byte 0x9f 770 .byte 0x93 771 .uleb128 0x4 772 .byte 0xf2 773 .long .Ldebug_info0+138 774 .sleb128 0 775 .byte 0x93 776 .uleb128 0x4 777 .byte 0x91 778 .sleb128 0 779 .byte 0x6 780 .byte 0x31 781 .byte 0x24 782 .byte 0x9f 783 .byte 0x93 784 .uleb128 0x4 785 .long .LVL4-.Ltext0 786 .long .LFE1-.Ltext0 787 .value 0x20 788 .byte 0xf2 789 .long .Ldebug_info0+138 790 .sleb128 0 791 .byte 0x93 792 .uleb128 0x4 793 .byte 0x91 794 .sleb128 0 795 .byte 0x6 796 .byte 0x36 797 .byte 0x1e 798 .byte 0x9f 799 .byte 0x93 800 .uleb128 0x4 801 .byte 0xf2 802 .long .Ldebug_info0+125 803 .sleb128 0 804 .byte 0x93 805 .uleb128 0x4 806 .byte 0x91 807 .sleb128 0 808 .byte 0x6 809 .byte 0x31 810 .byte 0x24 811 .byte 0x9f 812 .byte 0x93 813 .uleb128 0x4 814 .long 0 815 .long 0 816.LLST3: 817 .long .LVL1-.Ltext0 818 .long .LVL2-.Ltext0 819 .value 0x6 820 .byte 0xf2 821 .long .Ldebug_info0+151 822 .sleb128 0 823 .long .LVL2-.Ltext0 824 .long .LVL3-.Ltext0 825 .value 0x2 826 .byte 0x30 827 .byte 0x9f 828 .long .LVL3-.Ltext0 829 .long .LFE1-.Ltext0 830 .value 0x6 831 .byte 0xf2 832 .long .Ldebug_info0+151 833 .sleb128 8 834 .long 0 835 .long 0 836.LLST4: 837 .long .LVL4-.Ltext0 838 .long .LVL5-.Ltext0 839 .value 0x6 840 .byte 0xf2 841 .long .Ldebug_info0+151 842 .sleb128 0 843 .long .LVL5-.Ltext0 844 .long .LVL6-.Ltext0 845 .value 0x2 846 .byte 0x30 847 .byte 0x9f 848 .long .LVL6-.Ltext0 849 .long .LFE1-.Ltext0 850 .value 0x6 851 .byte 0xf2 852 .long .Ldebug_info0+151 853 .sleb128 8 854 .long 0 855 .long 0 856 .section .debug_aranges,"",@progbits 857 .long 0x1c 858 .value 0x2 859 .long .Ldebug_info0 860 .byte 0x4 861 .byte 0 862 .value 0 863 .value 0 864 .long .Ltext0 865 .long .Letext0-.Ltext0 866 .long 0 867 .long 0 868 .section .debug_line,"",@progbits 869.Ldebug_line0: 870 .section .debug_str,"MS",@progbits,1 871.LASF0: 872 .string "unsigned int" 873.LASF3: 874 .string "/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.dwarf2" 875.LASF4: 876 .string "main" 877.LASF2: 878 .string "implptr.c" 879.LASF1: 880 .string "GNU C 4.6.0 20101116 (experimental) [trunk revision 166803]" 881 .ident "GCC: (GNU) 4.6.0 20101116 (experimental) [trunk revision 166803]" 882 .section .note.GNU-stack,"",@progbits 883