This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9343] assertion failure in linux_nat_attach() when attaching to a hung Xorg instance
- From: "drow at sources dot redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 13 Jul 2009 19:57:09 -0000
- Subject: [Bug gdb/9343] assertion failure in linux_nat_attach() when attaching to a hung Xorg instance
- References: <20070307163801.9343.bernie@codewiz.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drow at sources dot redhat dot com 2009-07-13 19:57 -------
The assertion failing in this bug was removed on May 1, 2008. The new code is
more accepting of unusual wait statuses. I believe this is fixed.
2008-05-01 Daniel Jacobowitz <dan@codesourcery.com>
Pedro Alves <pedro@codesourcery.com>
Based on work by Jan Kratochvil <jan.kratochvil@redhat.com> and Jeff
Johnston <jjohnstn@redhat.com>.
* NEWS: Mention attach to stopped process fix.
* infcmd.c (detach_command, disconnect_command): Discard the thread
list.
* infrun.c (handle_inferior_event): Do not ignore non-SIGSTOP while
attaching. Use signal_stop_state.
(signal_stop_state): Check stop_soon.
* linux-nat.c (kill_lwp): Declare earlier.
(pid_is_stopped, linux_nat_post_attach_wait): New.
(lin_lwp_attach_lwp): Use linux_nat_post_attach_wait. Update
comments.
(linux_nat_attach): Use linux_nat_post_attach_wait.
(detach_callback, linux_nat_detach): Improve handling for signalled
processes.
(linux_nat_pid_to_str): Always print out the LWP ID if it differs
from the process ID.
* Makefile.in (infcmd.o): Update.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=9343
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.