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