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 <email address hidden>
Pedro Alves <email address hidden>
Based on work by Jan Kratochvil <email address hidden> and Jeff
Johnston <email address hidden>.
* 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.
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 <email address hidden>
Pedro Alves <email address hidden>
Based on work by Jan Kratochvil <email address hidden> and Jeff
Johnston <email address hidden>.
* NEWS: Mention attach to stopped process fix. command) : Discard the thread inferior_ event): Do not ignore non-SIGSTOP while
(signal_ stop_state) : Check stop_soon.
(pid_is_ stopped, linux_nat_ post_attach_ wait): New.
(lin_lwp_ attach_ lwp): Use linux_nat_ post_attach_ wait. Update
(linux_ nat_attach) : Use linux_nat_ post_attach_ wait.
(detach_ callback, linux_nat_detach): Improve handling for signalled
(linux_ nat_pid_ to_str) : Always print out the LWP ID if it differs
* infcmd.c (detach_command, disconnect_
list.
* infrun.c (handle_
attaching. Use signal_stop_state.
* linux-nat.c (kill_lwp): Declare earlier.
comments.
processes.
from the process ID.
* Makefile.in (infcmd.o): Update.