(add_thread_with_info): Use it.
authorNick Roberts <nickrob@snap.net.nz>
Tue, 20 May 2008 21:05:07 +0000 (21:05 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 20 May 2008 21:05:07 +0000 (21:05 +0000)
gdb/thread.c

index beab381fad1bac844ff608c34b2205b9fb8d8b59..773ba5c19994468a860b74557bef6d4b0b2bd024 100644 (file)
@@ -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;
 }