SIGCHLD ignored

Pedro Alves pedro@codesourcery.com
Sat Jun 28 11:57:00 GMT 2008


A Thursday 26 June 2008 15:09:36, Daniel Jacobowitz wrote:
> On Fri, Jun 13, 2008 at 12:23:45AM +0100, Pedro Alves wrote:
> > @@ -381,7 +394,7 @@ my_waitpid (int pid, int *status, int fl
> >    int ret;
> >
> >    /* There should be no concurrent calls to waitpid.  */
> > -  gdb_assert (!linux_nat_async_events_enabled);
> > +  gdb_assert (linux_nat_async_events_state != sigchld_async);
> >
> >    ret = queued_waitpid (pid, status, flags);
> >    if (ret != -1)
>
> Should this be == sigchld_sync?  IIUC we have unspecified SIGCHLD
> behavior during sigchld_default.
>
> Otherwise OK.

Commited with that change.  Thanks.

-- 
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sigchld.diff
Type: text/x-diff
Size: 14602 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080628/ffbd496c/attachment.bin>


More information about the Gdb-patches mailing list