bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12570] New: .plt has no associated .eh_frame/.debug_frame


From: jan.kratochvil at redhat dot com
Subject: [Bug ld/12570] New: .plt has no associated .eh_frame/.debug_frame
Date: Fri, 11 Mar 2011 13:09:27 +0000

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

           Summary: .plt has no associated .eh_frame/.debug_frame
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden


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 'address@hidden'
Breakpoint 1 at 0x4003a0
(gdb) run
(gdb) stepi 2
(gdb) disass
Dump of assembler code for function address@hidden:
   0x00000000004003a0 <+0>:    jmpq   *0x200482(%rip)
   0x00000000004003a6 <+6>:    pushq  $0x0
=> 0x00000000004003ab <+11>:    jmpq   0x400390
End of assembler dump.
(gdb) bt
#0  0x00000000004003ab in address@hidden ()
#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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]