Add unwind information to i386 LinuxThreads syscalls

Roland McGrath roland@redhat.com
Sat Feb 26 01:49:00 GMT 2005


> On Fri, Feb 25, 2005 at 10:40:55PM +0100, Jakub Jelinek wrote:
> > On Fri, Feb 25, 2005 at 04:36:55PM -0500, Daniel Jacobowitz wrote:
> > > LinuxThreads doesn't need unwind information for cancellation, but other
> > > things need to unwind out of cancellable syscalls from time to time - for
> > > instance, GDB.  I don't know if gcj needs this too but I suspect it does.
> > > This patch adapts the .eh_frame information from the NPTL version of
> > > sysdep-cancel.h.
> > > 
> > > Tested on i686-pc-linux-gnu.  Is this OK?
> > 
> > Can't you use .cfi_* directives instead?
> 
> Sure, but I didn't write this from scratch - as I said, I took it from
> the NPTL implementation.  Might as well keep them in sync.

Since you've adjusted the bits, they aren't in synch anyway.  That code was
done before .cfi_* were available in the assembler, and just hasn't change
since.  We do not want to add anything new that use hand-written bits.


Thanks,
Roland



More information about the Libc-alpha mailing list