This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Re: [COMMIT] Fix decoding CIE's in DWARF frame info


   Date: Fri, 05 Nov 2004 12:00:12 -0500
   From: Andrew Cagney <cagney@gnu.org>

   Mark Kettenis wrote:
   > The old code didn't take into account that the encoding used to
   > specify the personality routine in the augmentation could be
   > DW_PE_EH_aligned.
   > 
   > Fixed by the attach patch.
   > 
   > Committed to mainline.  I'll commit this to the branch later today.

   How are you testing this?  I'm seeing:

   dwarf2-frame.c:1083: internal-error: Unsupported encoding: DW_EH_PE_indirect

If your toolchain really generates DW_EH_PE_indirect, it's a different
problem; I don't know how to properly support this :-(.

The problem fixed by the patch is different: because we failed to do
proper alignment gdb was essentially interpreting garbage.  Now if
that garbage accidentally matched DW_EH_PE_indirect, it could lead to
the error message you're seeing.

Anyway, I noticed the problem when writing some code at work.
Unfortunately I don't know how to convert it into a test case.

Cheers,

Mark


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