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@false.org>
Date: Sat, 8 Apr 2006 16:29:00 -0400
> 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...
Someone like Richard Henderson should be able to cook up a fix for
Alpha without much effort, so hopefully someone like him will get
around to it at some point.
> > 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.
Thanks a lot for reviewing, committed.