This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Improve NetBSD/i386 signal trampoline detection
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: nick dot hudson at dsl dot pipex dot com
- Cc: drow at false dot org, gdb-patches at sourceware dot org
- Date: Sat, 29 Dec 2007 18:05:18 +0100 (CET)
- Subject: Re: [rfc] Improve NetBSD/i386 signal trampoline detection
- References: <200710021207.16451.nick.hudson@dsl.pipex.com> <200710111913.l9BJDEaa016464@brahms.sibelius.xs4all.nl> <200710182120.19350.nick.hudson@dsl.pipex.com>
> From: Nick Hudson <nick.hudson@dsl.pipex.com>
> Date: Thu, 18 Oct 2007 21:20:18 +0100
>
> * i386nbsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h"
> (sigtramp_retcode, i386nbsd_sigtramp_offset, i386nbsd_sigtramp_p):
> Remove
> (i386nbsd_mc_reg_offset): New array.
> (i386nbsd_sigtramp_cache_init): New function.
> (i386nbsd_sigtramp_sc16, i386nbsd_sigtramp_sc2, i386nbsd_sigtramp_si2)
> (i386nbsd_sigtramp_si31, i386nbsd_sigtramp_si4): New signal trampoline
> frame descriptions.
> (i386nbsd_init_abi): Override ABI sigcontext defaults and register
> new signal frame unwinders
> * Makefile.in (i386nbsd-tdep.o): Update dependencies.
> * tramp-frame.h (struct tramp_frame): Allow for 48 instructions
I've comitted this now (sorry for the delay), with a small fix to make
the prototype for i386nbsd_sigtramp_cache_init not start in column
zero.
Daniel, I think that makes Nick qualify for "Write After Approval".
Can you set him up for that?