aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index c04c989..3de3289 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -170,6 +170,8 @@ delete_thread (ptid_t ptid)
else
thread_list = tp->next;
+ observer_notify_thread_exit (tp);
+
free_thread (tp);
}