This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix signal handler stepping on Linux/Sparc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]