public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/12702] gdb can hang waiting for thread group leader
Date: Fri, 27 May 2011 16:57:00 -0000	[thread overview]
Message-ID: <bug-12702-4717-KN0lMeqU1r@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-12702-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=12702

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-05-27 16:55:43 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    jkratoch@sourceware.org    2011-05-27 16:55:39

Modified files:
    gdb            : ChangeLog linux-nat.c 
    gdb/testsuite  : ChangeLog 
Added files:
    gdb/testsuite/gdb.threads: leader-exit.c leader-exit.exp 

Log message:
    gdb/
    Fix PR 10970, PR 12702.
    * linux-nat.c (linux_lwp_is_zombie): New function.
    (wait_lwp): Initialize status.  New variable prev_mask.  Block signals.
    Check for linux_lwp_is_zombie.  Use WNOHANG and sigsuspend.

    gdb/testsuite/
    * gdb.threads/leader-exit.c: New file.
    * gdb.threads/leader-exit.exp: New file.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13060&r2=1.13061
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linux-nat.c.diff?cvsroot=src&r1=1.205&r2=1.206
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2728&r2=1.2729
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/leader-exit.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/leader-exit.exp.diff?cvsroot=src&r1=NONE&r2=1.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2011-05-27 16:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26  0:39 [Bug gdb/12702] New: " dje at google dot com
2011-04-26 17:58 ` [Bug gdb/12702] " jan.kratochvil at redhat dot com
2011-04-27  1:10 ` dje at google dot com
2011-05-02 17:02 ` dje at google dot com
2011-05-17 15:57 ` dje at google dot com
2011-05-17 16:06 ` jan.kratochvil at redhat dot com
2011-05-27 16:57 ` cvs-commit at gcc dot gnu.org [this message]
2011-05-27 17:03 ` jan.kratochvil at redhat dot com
2013-07-20 10:01 ` teawater at gmail dot com
2014-02-27 14:31 ` cvs-commit at gcc dot gnu.org
2014-02-27 15:02 ` palves at redhat dot com
2014-02-27 15:39 ` palves at redhat dot com

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=bug-12702-4717-KN0lMeqU1r@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).