[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-patches
Subject: SIGCHLD ignored
From: pedro () codesourcery ! com (Pedro Alves)
Date: 2008-06-28 11:57:00
Message-ID: 200806281217.45204.pedro () codesourcery ! com
[Download RAW message or body]
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>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic