On Wed, Oct 26, 2005 at 12:33:23AM +0200, Falk Hueffner wrote:
> Tom Evans <[EMAIL PROTECTED]> writes:
> 
> > If I simply change (in
> > linuxthreads/sysdep/unix/sysv/linux/not-cancel.h) from:
> >
> > # define waitpid_not_cancel(pid, stat_loc, options) \
> >   INLINE_SYSCALL (osf_wait4, 4, pid, stat_loc, options, NULL)
> >
> > to:
> >
> > # define waitpid_not_cancel(pid, stat_loc, options) \
> >   wait4( pid, stat_loc, options, NULL )
> >
> > all is well
> 
> That's weird. What happens with -O0? What with gcc 3.3? Can you
> perhaps attach the assembly that is generated for the "broken" case?

Oho: take a look at alpha/wait4.S.  It looks like sys_wait4 is
relatively new on Alpha.  Anyone know how new?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to