This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/24444] [4.1 regression] invalid register in debug info
- From: "drow at false dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2005 20:58:50 -0000
- Subject: [Bug debug/24444] [4.1 regression] invalid register in debug info
- References: <bug-24444-50@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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