aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-07-26 16:57:22 +0000
committerTom Tromey <tromey@redhat.com>2012-07-26 16:57:22 +0000
commit27618ce42a9eaeb1c95bca6ed8f2a261df0e6981 (patch)
tree7dfb3727c93632e3332fbe7cfb4e0a869f51bee2 /gdb/cli
parentdd3818c82cb19570b6b7ddaac277d5f212a432c2 (diff)
downloadgdb-27618ce42a9eaeb1c95bca6ed8f2a261df0e6981.zip
gdb-27618ce42a9eaeb1c95bca6ed8f2a261df0e6981.tar.gz
gdb-27618ce42a9eaeb1c95bca6ed8f2a261df0e6981.tar.bz2
* symmisc.c (print_symbol_bcache_statistics): Use QUIT, not
immediate_quit. (print_objfile_statistics): Likewise. (maintenance_print_symbols): Likewise. (maintenance_print_msymbols): Likewise. (maintenance_print_objfiles): Likewise. * psymtab.c (print_partial_symbols): Call QUIT. (maintenance_print_psymbols): Likewise. Don't modify immediate_quit. * copying.c (show_copying_command): Don't modify immediate_quit. (show_warranty_command): Likewise. * cli/cli-cmds.c (show_version): Don't modify immediate_quit.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 24d55c3..f2328e8 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -319,10 +319,8 @@ is_complete_command (struct cmd_list_element *c)
static void
show_version (char *args, int from_tty)
{
- immediate_quit++;
print_gdb_version (gdb_stdout);
printf_filtered ("\n");
- immediate_quit--;
}
/* Handle the quit command. */