mips64 sigaction changes

Daniel Jacobowitz drow@mvista.com
Fri Mar 14 15:53:00 GMT 2003


On Fri, Mar 14, 2003 at 12:48:48PM -0300, Alexandre Oliva wrote:
> On Mar 14, 2003, Daniel Jacobowitz <drow@mvista.com> wrote:
> 
> >> >> +/* NOTE: Please think twice before making any changes to the bits of
> >> >> +   code below.  GDB needs some intimate knowledge about it to
> >> >> +   recognize them as signal trampolines, and make backtraces through
> >> >> +   signal handlers work right.  Important are both the names
> >> >> +   (__restore_rt) and the exact instruction sequence.
> >> >> +   If you ever feel the need to make any changes, please notify the
> >> >> +   appropriate GDB maintainer.  */
> 
> > By recognizing the code, not by recognizing the names.  Only the i386
> > GDB port does this to my knowledge.
> 
> Err...  I copied this bit from x86_64, IIRC.  Seems like it's
> spreading :-)

x86_64 is actually part of of the i386 port of GDB, more or less.  And
there's a branch converting the less to more right now; it has almost
no separate code.  Just like in GCC.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Libc-alpha mailing list