This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: inconsistent sigtramp code in mips target
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: Kevin Nomura <nomura at netapp dot com>, gdb-patches at sources dot redhat dot com
- Date: Wed, 29 Oct 2003 17:30:01 -0500
- Subject: Re: inconsistent sigtramp code in mips target
- References: <20031028215814.GY4320@bughouse.netapp.com> <3FA03EDC.2090407@redhat.com>
On Wed, Oct 29, 2003 at 05:27:40PM -0500, Andrew Cagney wrote:
> >The logical patch would be to move the special cases up front,
> >but I have no way to test this out (no access to a MIPS UNIX
> >platform).
> >
> >On the other hand this isn't purely academic. I came across this
> >because I need to define a custom sigtramp frame for our own
> >MIPS embedded platform. It was baffling for a while that my
> >modification to the SP_REGNUM override had no effect.
>
> Rather than the MIPS, check the x86 family for how to add a custom
> sigtramp handler (ex, i386_sigtramp_frame_sniffer). Hopefully the new
> mechanism is less baffling - the current MIPS code is not a good reference.
But since he's got a MIPS target, the frame sniffers won't help him at
all, will they? They can't be used until the MIPS is converted.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer