This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH]: Fix signal handler stepping on Linux/Sparc
- From: Daniel Jacobowitz <drow at false dot org>
- To: "David S. Miller" <davem at davemloft dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 8 Apr 2006 16:29:00 -0400
- Subject: Re: [PATCH]: Fix signal handler stepping on Linux/Sparc
- References: <20060407.231843.63374146.davem@davemloft.net>
On Fri, Apr 07, 2006 at 11:18:43PM -0700, David S. Miller wrote:
> It seems that perhaps some other Linux targets don't handle this right
> too.
>
> MIPS is the most likely platform that gets this wrong in the same
> exact way, as I don't see any handling of system call instructions in
> the software single-step handler which MIPS/Linux uses.
I know that I have fixed this for MIPS before. I may have not followed
through on the patch, though. ARM has a similar problem. Those two
I'll fix at some point; Alpha I'm probably going to leave for someone
who has more need for the port...
> 2006-04-07 David S. Miller <davem@sunset.davemloft.net>
>
> * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
> (sparc32_linux_init_abi): Hook it into tdep->step_trap.
> * sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
> (sparc64_linux_init_abi): Hook it into tdep->step_trap.
> * Makefile.in: Update dependencies.
Yes, this is fine. Thanks.
--
Daniel Jacobowitz
CodeSourcery