diff options
author | Pedro Alves <pedro@palves.net> | 2022-11-16 17:01:44 +0000 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2022-12-03 21:11:15 +0000 |
commit | 15b5cf5c2d645463db09a2da8d5380bcf9d577ee (patch) | |
tree | 9a3ce0211962416d7226f32a04796875a999dbb5 | |
parent | e981a876abe8128659a640d3a8e3eed26f24b7a6 (diff) | |
download | gdb-15b5cf5c2d645463db09a2da8d5380bcf9d577ee.zip gdb-15b5cf5c2d645463db09a2da8d5380bcf9d577ee.tar.gz gdb-15b5cf5c2d645463db09a2da8d5380bcf9d577ee.tar.bz2 |
Remove infrun_thread_thread_exit observer
After the previous patches, I believe this observer isn't necessary
anymore for anything. Remove it.
Change-Id: Idb33fb6b6f55589c8c523a92169b3ca95a23d0b9
-rw-r--r-- | gdb/infrun.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index f1afc4b..b24cc6d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3605,14 +3605,6 @@ infrun_thread_stop_requested (ptid_t ptid) } } -static void -infrun_thread_thread_exit (struct thread_info *tp, int silent) -{ - if (target_last_proc_target == tp->inf->process_target () - && target_last_wait_ptid == tp->ptid) - nullify_last_target_wait_ptid (); -} - /* Delete the step resume, single-step and longjmp/exception resume breakpoints of TP. */ @@ -9966,7 +9958,6 @@ enabled by default on some platforms."), "infrun"); gdb::observers::thread_stop_requested.attach (infrun_thread_stop_requested, "infrun"); - gdb::observers::thread_exit.attach (infrun_thread_thread_exit, "infrun"); gdb::observers::inferior_exit.attach (infrun_inferior_exit, "infrun"); gdb::observers::inferior_execd.attach (infrun_inferior_execd, "infrun"); |