diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2008-06-06 00:33:52 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2008-06-06 00:33:52 +0000 |
commit | b8fa951a9b0f00619f42a28a044d8e334ff646f8 (patch) | |
tree | cd07a26ddd03a0be6e5cdf1ded95a185aa9e46c5 /gdb/annotate.c | |
parent | 3d6d0b9dd543449006474e42213089d88ee671c8 (diff) | |
download | gdb-b8fa951a9b0f00619f42a28a044d8e334ff646f8.zip gdb-b8fa951a9b0f00619f42a28a044d8e334ff646f8.tar.gz gdb-b8fa951a9b0f00619f42a28a044d8e334ff646f8.tar.bz2 |
* annotate.c (annotate_thread_changed): New function.
* thread.c (thread_command) : Use it.
* infrun.c (normal_stop): Use it.
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r-- | gdb/annotate.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index ee9adfa..98a37ae 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -243,6 +243,15 @@ annotate_new_thread (void) } void +annotate_thread_changed (void) +{ + if (annotation_level > 1) + { + printf_unfiltered (("\n\032\032thread-changed\n")); + } +} + +void annotate_field_begin (struct type *type) { if (annotation_level == 2) |