(annotate_new_thread): New function for new-thread
authorNick Roberts <nickrob@snap.net.nz>
Tue, 20 May 2008 21:03:34 +0000 (21:03 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 20 May 2008 21:03:34 +0000 (21:03 +0000)
annotation.

gdb/annotate.c

index faf265fefdf070ae08c0e15e0c3fe529ac618bda..9494ee0bedab1e19dc65c31c70a161566c984542 100644 (file)
@@ -233,6 +233,15 @@ annotate_frames_invalid (void)
     }
 }
 
+void
+annotate_new_thread (void)
+{
+  if (annotation_level > 1)
+    {
+      printf_unfiltered (("\n\032\032new-thread\n"));
+    }
+}
+
 void
 annotate_field_begin (struct type *type)
 {