public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/18736] New: Return address column in .debug_frame is incorrect
@ 2004-11-30 11:12 jcownie at etnus dot com
  2004-11-30 11:19 ` [Bug debug/18736] " jcownie at etnus dot com
  2004-11-30 12:39 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: jcownie at etnus dot com @ 2004-11-30 11:12 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug debug/18736] Return address column in .debug_frame is incorrect
  2004-11-30 11:12 [Bug debug/18736] New: Return address column in .debug_frame is incorrect jcownie at etnus dot com
@ 2004-11-30 11:19 ` jcownie at etnus dot com
  2004-11-30 12:39 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jcownie at etnus dot com @ 2004-11-30 11:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jcownie at etnus dot com  2004-11-30 11:18 -------
Created an attachment (id=7641)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7641&action=view)
Test case with analysis in comments


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18736


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug debug/18736] Return address column in .debug_frame is incorrect
  2004-11-30 11:12 [Bug debug/18736] New: Return address column in .debug_frame is incorrect jcownie at etnus dot com
  2004-11-30 11:19 ` [Bug debug/18736] " jcownie at etnus dot com
@ 2004-11-30 12:39 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 12:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-30 12:39 -------


*** This bug has been marked as a duplicate of 18655 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18736


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-30 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30 11:12 [Bug debug/18736] New: Return address column in .debug_frame is incorrect jcownie at etnus dot com
2004-11-30 11:19 ` [Bug debug/18736] " jcownie at etnus dot com
2004-11-30 12:39 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).