This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/18736] New: Return address column in .debug_frame is incorrect
- From: "jcownie at etnus dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2004 11:12:30 -0000
- Subject: [Bug debug/18736] New: Return address column in .debug_frame is incorrect
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The return address column stated in the .debug_frame information for
code compiled -g is 65, however the actual unwind information refers to
register 108 when describing the return address.
This appears to be a result of the different register mappings used in
.debug_frame and .eh_frame. In .eh_frame register 65 is used both in the CIE and
in the following data.
This makes the .debug_frame information useless for backtracing, since no
valid return information is accessible.
--
Summary: Return address column in .debug_frame is incorrect
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jcownie at etnus dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-suse-linux
GCC host triplet: powerpc-suse-linux
GCC target triplet: powerpc-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18736