This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: SIGCHLD ignored
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.
--
Daniel Jacobowitz
CodeSourcery