This is the mail archive of the
mailing list for the GDB project.
Re: RFA[testsuite]: Fork event updates, part the fourteenth
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 9 Jan 2003 14:18:36 -0500
- Subject: Re: RFA[testsuite]: Fork event updates, part the fourteenth
- References: <20021215214426.GA5940@nevyn.them.org> <3E05A3EE.firstname.lastname@example.org>
The fix is in, the test is in. Thanks.
On Sun, Dec 22, 2002 at 06:37:18AM -0500, Fernando Nasser wrote:
> If the fix goes in, the testsuite part is approved.
> (otherwise you would have to KFAIL it).
> 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
> >Is the new test OK?
> Fernando Nasser
> Red Hat Canada Ltd. E-Mail: email@example.com
> 2323 Yonge Street, Suite #300
> Toronto, Ontario M4P 2C9
MontaVista Software Debian GNU/Linux Developer