Stepping out of signal handler problem
Aleksandar Ristovski
aristovski@qnx.com
Fri May 16 18:48:00 GMT 2008
Mark Kettenis wrote:
>> From: Aleksandar Ristovski <aristovski@qnx.com>
>> Date: Fri, 16 May 2008 12:26:43 -0400
>>
>> This makes question 2: Is the only way to implement this similar to
>> linux-nat (scanning for sigreturn kernel call)? Is there anything
>> 'cleaner'?
>
> The clean way of doing this is provide proper unwind info for the
> signal trampoline. This shouldn't be too difficult if your signal
> trampolines live in libc, and quite a bit harder if they are in the
> kernel.
>
What is the preferred way: frame_unwind_append_sniffer or tramp_frame_prepend_unwinder?
More information about the Gdb
mailing list