aboutsummaryrefslogtreecommitdiff
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
commitd17d49478f357f6c4956b4add384e7d41d6f650e (patch)
tree761e9c519608ae885da178490dc6fe7fbef1f16d /gdb/annotate.c
parente8e48118bb4f0ea7be060f2d3e901ab993b0047a (diff)
downloadgdb-d17d49478f357f6c4956b4add384e7d41d6f650e.zip
gdb-d17d49478f357f6c4956b4add384e7d41d6f650e.tar.gz
gdb-d17d49478f357f6c4956b4add384e7d41d6f650e.tar.bz2
(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 faf265f..9494ee0 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)