[rfc] dwarf2 backtrace from setcontext

Richard Henderson rth@redhat.com
Mon Jan 12 23:52:00 GMT 2004


On Mon, Jan 12, 2004 at 06:19:19PM -0500, Daniel Jacobowitz wrote:
>   It seems to me that the best solution would be a new rule, either
>   val_expression(E) or the simpler val_cfa_offset(N).  Then the unwind
>   information can accurately describe the stack pointer.

That would certainly work for me.

> That would probably work for this example - I can't see any reason that
> GDB would care.  And for setcontext it makes a certain sense, since you
> do seem to have "fallen through" into a different backtrace.

I'll recommend we do that for glibc then.


r~



More information about the Gdb mailing list