aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/thread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index beab381..773ba5c 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -40,6 +40,7 @@
#include <signal.h>
#include "ui-out.h"
#include "observer.h"
+#include "annotate.h"
/* Definition of struct thread_info exported to gdbthread.h */
@@ -141,7 +142,8 @@ add_thread_with_info (ptid_t ptid, struct private_thread_info *private)
if (print_thread_events)
printf_unfiltered (_("[New %s]\n"), target_pid_to_str (ptid));
-
+
+ annotate_new_thread ();
return result;
}