http://sourceware.org/bugzilla/show_bug.cgi?id=14416
Bug #: 14416 Summary: .eh_frame section not copied correctly by --only-keep-debug Product: binutils Version: 2.22 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sourceware.org ReportedBy: r...@gollent.com Classification: Unclassified When using objcopy --only-keep-debug to generate a separate symbolic debugging information file (as specified at http://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html ), .eh_frame doesn't appear to be copied correctly. The section is present and is the same size as that of the originating file, but doesn't contain valid CIE/FDEs, instead showing only: Contents of the .eh_frame section: 00000000 ZERO terminator 00000004 ZERO terminator 00000008 ZERO terminator [...etc.] This problem doesn't seem to be exhibited for .debug_frame though. However, since some newer versions of gcc only output .eh_frame by default, this can be a bit troublesome for debugging. -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils