[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] vfork bug, help needed



On Fri, Mar 10, 2000 at 05:15:05PM +0100, Andreas Schwab wrote:
> This is easy:
> 
> 	movel	sp@, sp@-		| save return address; this is important!
> 
> This line is broken.  You cannot use *any* stack space for saving values.
> That's why the Pvfork syscall explicitly preserves register a1 to use for
> saving the return address.
> 
> So the proper fix is to revert back to the old version.

Convinced.

Although, with the kernel fix for Pwaitpid the test succeeds, both with
the original and Jörg's new vfork version.

Jörg, ok to undo your patch?

Ciao

Guido
-- 
http://stud.uni-sb.de/~gufl0000/
mailto:guido@freemint.de