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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils