[PATCH 2/2] handle an unspecified return address column

Tom Tromey tromey@redhat.com
Fri Nov 22 18:22:00 GMT 2013


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> Debugging PR 16155 further, I found that the DWARF unwinder found the
Tom> function in question, but thought it had no registers saved
Tom> (fs->regs.num_regs == 0).

Tom> It seems to me that if a frame does not specify the return address
Tom> column, or if the return address column is explicitly marked as
Tom> DWARF2_FRAME_REG_UNSPECIFIED, then we should set the
Tom> "undefined_retaddr" flag and let the DWARF unwinder gracefully stop.

Tom> This patch implements that idea.

I'm going to check this in shortly.

Tom



More information about the Gdb-patches mailing list