diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-09-28 23:44:02 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-09-28 23:44:02 +0000 |
commit | 3ca42dbe77c5d6d5e43e291414b1fa6aac5a0f25 (patch) | |
tree | d85acf0f44a4055debffbc9af2fc0dcc174698ec /gdb/annotate.c | |
parent | 11ee99408da86d1ae0fa3b883b15d73183834aec (diff) | |
download | gdb-3ca42dbe77c5d6d5e43e291414b1fa6aac5a0f25.zip gdb-3ca42dbe77c5d6d5e43e291414b1fa6aac5a0f25.tar.gz gdb-3ca42dbe77c5d6d5e43e291414b1fa6aac5a0f25.tar.bz2 |
* annotate.c (breakpoints_changed, annotate_frames_invalid)
(_initialize_annotate): Print breakpoints-invalid and
frames-invalid for level 2 annotations only.
* gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
frames-invalid and breakpoints-invalid are no longer generated
with level 3 so don't expect them in the output.
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r-- | gdb/annotate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index 205fe89..6242b74 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -55,7 +55,7 @@ print_value_flags (struct type *t) void breakpoints_changed (void) { - if (annotation_level > 1) + if (annotation_level == 2) { target_terminal_ours (); printf_unfiltered (("\n\032\032breakpoints-invalid\n")); @@ -228,7 +228,7 @@ annotate_breakpoints_table_end (void) void annotate_frames_invalid (void) { - if (annotation_level > 1) + if (annotation_level == 2) { target_terminal_ours (); printf_unfiltered (("\n\032\032frames-invalid\n")); @@ -577,7 +577,7 @@ breakpoint_changed (struct breakpoint *b) void _initialize_annotate (void) { - if (annotation_level > 1) + if (annotation_level == 2) { deprecated_delete_breakpoint_hook = breakpoint_changed; deprecated_modify_breakpoint_hook = breakpoint_changed; |