summaryrefslogtreecommitdiff
path: root/gdb/annotate.c
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2008-05-20 21:03:34 +0000
committerNick Roberts <nickrob@snap.net.nz>2008-05-20 21:03:34 +0000
commit21aea083c6fe1b8c9e758ec3c5f9b72dcf55822b (patch)
tree99c845f021a6576fe3de674ed498d1abbeb31ba3 /gdb/annotate.c
parent000cb1449d52a03a84047584f86590cc70b6eedc (diff)
downloadgdb-21aea083c6fe1b8c9e758ec3c5f9b72dcf55822b.tar.gz
(annotate_new_thread): New function for new-thread
annotation.
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r--gdb/annotate.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c
index faf265fefdf..9494ee0beda 100644
--- a/gdb/annotate.c
+++ b/gdb/annotate.c
@@ -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)