Re: [PATCH] Teach gdb how to unwind cygwin _sigbe frames

2015-02-24 Thread Corinna Vinschen
On Feb 24 15:28, Jon TURNEY wrote: > On 23/02/2015 21:24, Corinna Vinschen wrote: > >On Feb 23 18:15, Jon TURNEY wrote: > >>I really wanted to do this by adding some DWARF CFI to the generated sigfe.s > >>file, but there doesn't seem to currently be a way to correctly describe > >>_sigbe's frame us

Re: [PATCH] Teach gdb how to unwind cygwin _sigbe frames

2015-02-24 Thread Jon TURNEY
On 23/02/2015 21:24, Corinna Vinschen wrote: On Feb 23 18:15, Jon TURNEY wrote: I really wanted to do this by adding some DWARF CFI to the generated sigfe.s file, but there doesn't seem to currently be a way to correctly describe _sigbe's frame using that. I was wondering about this already.

Re: [PATCH] Teach gdb how to unwind cygwin _sigbe frames

2015-02-23 Thread Corinna Vinschen
On Feb 23 18:15, Jon TURNEY wrote: > I really wanted to do this by adding some DWARF CFI to the generated sigfe.s > file, but there doesn't seem to currently be a way to correctly describe > _sigbe's frame using that. I was wondering about this already. It seems weird if the CFI stuff doesn't all

[PATCH] Teach gdb how to unwind cygwin _sigbe frames

2015-02-23 Thread Jon TURNEY
I really wanted to do this by adding some DWARF CFI to the generated sigfe.s file, but there doesn't seem to currently be a way to correctly describe _sigbe's frame using that. So instead, write a custom unwinder for _sigbe frames, which gets the return address from the sigstack. Implemented for