[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/14416] New: .eh_frame section not copied correctly by --on
From: |
rene at gollent dot com |
Subject: |
[Bug binutils/14416] New: .eh_frame section not copied correctly by --only-keep-debug |
Date: |
Sun, 29 Jul 2012 11:30:34 +0000 |
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: address@hidden
ReportedBy: address@hidden
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/14416] New: .eh_frame section not copied correctly by --only-keep-debug,
rene at gollent dot com <=