RFA[testsuite]: Fork event updates, part the fourteenth

Fernando Nasser fnasser@redhat.com
Sun Dec 22 03:39:00 GMT 2002


If the fix goes in, the testsuite part is approved.
(otherwise you would have to KFAIL it).

Thanks.
Fernando

Daniel Jacobowitz wrote:
> This is a test for the bug I described in my previous message.  If we run a
> program; detach from it; it exits; and we run it again, wait() returns the
> exit status of the dead detached child, and we report the current process
> as having exited.  Oops!
> 
> I'm only running the test on GNU/Linux because it won't work anywhere else. 
> There's a comment above detach() which says that the odds of it working on
> something we didn't attach to are slim, and I know that the only wait
> methods I fixed to support this are for GNU/Linux.  Is this a desirable
> feature in general?  If so I should probably file a PR to implement/test it
> everywhere.
> 
> Is the new test OK?
> 


-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9



More information about the Gdb-patches mailing list