aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2008-05-20 21:05:07 +0000
committerNick Roberts <nickrob@snap.net.nz>2008-05-20 21:05:07 +0000
commitd4fc5b1ea748aa8f06b41b582dcf178e9d8af580 (patch)
treeade48fa5ad74c25bd68b1cce7ebb4da2517a80aa /gdb
parent6dfcd28457957839f03df54e99e22126d7dae3ff (diff)
downloadgdb-d4fc5b1ea748aa8f06b41b582dcf178e9d8af580.zip
gdb-d4fc5b1ea748aa8f06b41b582dcf178e9d8af580.tar.gz
gdb-d4fc5b1ea748aa8f06b41b582dcf178e9d8af580.tar.bz2
(add_thread_with_info): Use it.
Diffstat (limited to 'gdb')
-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;
}