OSDN Git Service

(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 faf265f..9494ee0 100644 (file)
@@ -234,6 +234,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)
 {
   if (annotation_level == 2)