This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/24444] [4.1 regression] invalid register in debug info



------- Comment #9 from drow at gcc dot gnu dot org  2005-11-15 20:58 -------
Subject: Re:  [4.1 regression] invalid register in debug info

On Thu, Oct 20, 2005 at 08:35:59AM -0000, rth at gcc dot gnu dot org wrote:
> Well, the ideal fix is to make use of the dwarf3 DW_OP_call_frame_cfa
> directive, and let the debugger get the CFA information from the ia64
> unwind info.  Similarly for the arm eabi unwind info.

Note that this may be a good solution for ia64, but it really is not
for ARM.  ARM unwind information is only usable by the debugger in very
few cases, because everything interesting is handled by a personality
routine; it's only if you use one of the standard table formats (which
GCC does) that the debugger can decode it.

But we do still emit .debug_frame for ARM, and the debugger does use
that.  So presumably that's plenty to use DW_OP_call_frame_cfa.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]