[Bug threads/20743] can't usefully "continue" due to "ptrace: No such process" after gdb switches thread (gdb7.11.1 on FreeBSD 11)

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Apr 18 16:50:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=20743

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by John Baldwin <jhb@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d56060f08aa4ed5786042a066f62aa8e474cc0fd

commit d56060f08aa4ed5786042a066f62aa8e474cc0fd
Author: John Baldwin <jhb@FreeBSD.org>
Date:   Tue Apr 18 09:44:32 2017 -0700

    PR threads/20743: Don't attempt to suspend or resume exited threads.

    When resuming a native FreeBSD process, ignore exited threads when
    suspending/resuming individual threads prior to continuing the process.

    gdb/ChangeLog:

        PR threads/20743
        * fbsd-nat.c (resume_one_thread_cb): Remove.
        (resume_all_threads_cb): Remove.
        (fbsd_resume): Use ALL_NON_EXITED_THREADS instead of
        iterate_over_threads.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list