PR threads/20743: Don't attempt to suspend or resume exited threads.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 18 Apr 2017 16:44:32 +0000 (09:44 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 18 Apr 2017 16:45:37 +0000 (09:45 -0700)
commitd56060f08aa4ed5786042a066f62aa8e474cc0fd
tree2d036924cef0fdcea961b5ae6a870c2cb9fbc57b
parent6631d36456babbaf4c78b955165c3344f95ac5dd
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.
gdb/ChangeLog
gdb/fbsd-nat.c