http://sourceware.org/bugzilla/show_bug.cgi?id=12571

           Summary: .plt has no associated .eh_frame/.debug_frame
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: jan.kratoch...@redhat.com
                CC: f...@redhat.com
        Depends on: 12570


+++ This bug was initially created as a clone of Bug #12570 +++

echo 'main(){pause();}' | gcc -x c - -g
gdb -nx ./a.out 
GNU gdb (GDB) 7.2.50.20110311-cvs
This GDB was configured as "x86_64-unknown-linux-gnu".
(gdb) b 'pause@plt'
Breakpoint 1 at 0x4003a0
(gdb) run
(gdb) stepi 2
(gdb) disass
Dump of assembler code for function pause@plt:
   0x00000000004003a0 <+0>:    jmpq   *0x200482(%rip)
   0x00000000004003a6 <+6>:    pushq  $0x0
=> 0x00000000004003ab <+11>:    jmpq   0x400390
End of assembler dump.
(gdb) bt
#0  0x00000000004003ab in pause@plt ()
#1  0x0000000000000000 in ?? ()


.plt needs associated .eh_frame/.debug_frame entries.

GDB could workaround it but it affects also oprofile, probably systemtap etc.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to