aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-04-20 19:23:30 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-04-20 19:23:30 +0000
commit6c803036a9c59b13ff6335d8745ffa92a76d86fc (patch)
tree6effab0f7212ffd00e566da00adbce287b183fe6 /gdb/blockframe.c
parenta95abbb3ec8fa250776d6724e6d8ed4bac9a66aa (diff)
downloadgdb-6c803036a9c59b13ff6335d8745ffa92a76d86fc.zip
gdb-6c803036a9c59b13ff6335d8745ffa92a76d86fc.tar.gz
gdb-6c803036a9c59b13ff6335d8745ffa92a76d86fc.tar.bz2
* main.c (main): Accept --annotate=N option and make --fullname
the same as --annotate=1. (command_line_input): Print annotatation before and after prompt. * blockframe.c (flush_cached_frames): Print annotation. * Rename frame_file_full_name to annotation_level and move it from symtab.h to defs.h. * source.c (identify_source_line): If annotation_level > 1, change output format. * breakpoint.c: Print annotation whenever a breakpoint changes. * main.c: New variable server_command. (command_line_input): Parse "server " and set server_command. (dont_repeat): Check server_command.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index bbd4287..6b0b667 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -192,6 +192,11 @@ flush_cached_frames ()
obstack_init (&frame_cache_obstack);
current_frame = (struct frame_info *) 0; /* Invalidate cache */
+ if (annotation_level > 1)
+ {
+ target_terminal_ours ();
+ printf_unfiltered ("\n\032\032frames-invalid\n");
+ }
}
/* Flush the frame cache, and start a new one if necessary. */