This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Stepping out of signal handler problem
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: aristovski at qnx dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 16 May 2008 19:32:38 +0200 (CEST)
- Subject: Re: Stepping out of signal handler problem
- References: <g0kcje$md5$1@ger.gmane.org>
> 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.