diff options
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 8c4871d..af8bd88 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -371,6 +371,9 @@ delete_thread_object (struct thread_info *tp, int ignore) if (inf_obj == NULL) return; + if (emit_thread_exit_event (tp) < 0) + gdbpy_print_stack (); + auto it = inf_obj->threads->find (tp); if (it != inf_obj->threads->end ()) { |