This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/10095] waitpid (xxx, &status, 0) call from gdb may hang
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 23 Apr 2009 22:21:52 -0000
- Subject: [Bug threads/10095] waitpid (xxx, &status, 0) call from gdb may hang
- References: <20090423221013.10095.dje@google.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From dje at google dot com 2009-04-23 22:21 -------
Created an attachment (id=3902)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3902&action=view)
Example to illustrate the problem
Notice that during the call to linux_thread_alive the 2nd thread has
transitioned from state "T" to "Z". Later when gdb goes to stop the main
thread (this is all-stop mode) the call to waitpid for the main thread hangs.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10095
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.