aboutsummaryrefslogtreecommitdiff
path: root/gdb/copying.c
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/copying.c
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/copying.c')
-rw-r--r--gdb/copying.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/copying.c b/gdb/copying.c
index d608a63..9aac2e6 100644
--- a/gdb/copying.c
+++ b/gdb/copying.c
@@ -11,15 +11,13 @@ static void show_warranty_command (char *, int);
void _initialize_copying (void);
-extern int immediate_quit;
static void
show_copying_command (char *ignore, int from_tty)
{
- immediate_quit++;
printf_filtered (" GNU GENERAL PUBLIC LICENSE\n");
printf_filtered (" Version 3, 29 June 2007\n");
printf_filtered ("\n");
- printf_filtered (" Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n");
+ printf_filtered (" Copyright (C) 2007, 2012 Free Software Foundation, Inc. <http://fsf.org/>\n");
printf_filtered (" Everyone is permitted to copy and distribute verbatim copies\n");
printf_filtered (" of this license document, but changing it is not allowed.\n");
printf_filtered ("\n");
@@ -604,13 +602,11 @@ show_copying_command (char *ignore, int from_tty)
printf_filtered ("author or copyright holder as a result of your choosing to follow a\n");
printf_filtered ("later version.\n");
printf_filtered ("\n");
- immediate_quit--;
}
static void
show_warranty_command (char *ignore, int from_tty)
{
- immediate_quit++;
printf_filtered (" 15. Disclaimer of Warranty.\n");
printf_filtered ("\n");
printf_filtered (" THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\n");
@@ -643,7 +639,6 @@ show_warranty_command (char *ignore, int from_tty)
printf_filtered ("Program, unless a warranty or assumption of liability accompanies a\n");
printf_filtered ("copy of the Program in return for a fee.\n");
printf_filtered ("\n");
- immediate_quit--;
}
void