Comment 10 for bug 78875

Revision history for this message
In , Drow-sources (drow-sources) wrote :

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.