This is the mail archive of the gdb@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: [rfc] dwarf2 backtrace from setcontext


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~


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