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

Reply via email to