Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@codesourcery.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: Vladimir Prus <ghost@cs.msu.su>,
	gdb-patches@sourceware.org, 	Hamish Rodda <rodda@kde.org>
Subject: Re: SIGCHLD ignored
Date: Thu, 26 Jun 2008 14:14:00 -0000	[thread overview]
Message-ID: <20080626140936.GG22726@caradoc.them.org> (raw)
In-Reply-To: <200806130023.45571.pedro@codesourcery.com>

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


  parent reply	other threads:[~2008-06-26 14:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200806112121.06783.ghost@cs.msu.su>
     [not found] ` <200806112345.22321.pedro@codesourcery.com>
2008-06-12  5:51   ` Pedro Alves
2008-06-12 18:30     ` Vladimir Prus
2008-06-13 10:29       ` Pedro Alves
2008-06-13 13:17         ` Vladimir Prus
2008-06-13 14:32           ` Pedro Alves
2008-06-26 14:14         ` Daniel Jacobowitz [this message]
2008-06-28 11:57           ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080626140936.GG22726@caradoc.them.org \
    --to=dan@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ghost@cs.msu.su \
    --cc=pedro@codesourcery.com \
    --cc=rodda@kde.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox