]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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:51:12 +0000 (09:51 -0700)
commit24b03ea864424cf8482ba07fb074389aa759e592
tree7cbb95e67e19026a50b57302568c15f4318db619
parente7668ff7fe02dca4709407663ece49f50346b530
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