aboutsummaryrefslogtreecommitdiff
path: root/gdb/copying.awk
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-07-26 17:21:06 +0000
committerTom Tromey <tromey@redhat.com>2012-07-26 17:21:06 +0000
commit5ba19b4c7a5c258c0fdde17e8a89b7032644eb4b (patch)
treee19bcc0771e753015b953857f1f84927d3b1bbdd /gdb/copying.awk
parent27618ce42a9eaeb1c95bca6ed8f2a261df0e6981 (diff)
downloadgdb-5ba19b4c7a5c258c0fdde17e8a89b7032644eb4b.zip
gdb-5ba19b4c7a5c258c0fdde17e8a89b7032644eb4b.tar.gz
gdb-5ba19b4c7a5c258c0fdde17e8a89b7032644eb4b.tar.bz2
* copying.c: Rebuild.
* copying.awk: Don't use immediate_quit. Use 'no_set_class', not 'no_class'.
Diffstat (limited to 'gdb/copying.awk')
-rw-r--r--gdb/copying.awk9
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/copying.awk b/gdb/copying.awk
index 936f435..00c63cd 100644
--- a/gdb/copying.awk
+++ b/gdb/copying.awk
@@ -13,11 +13,9 @@ BEGIN {
print ""
print "void _initialize_copying (void);"
print ""
- print "extern int immediate_quit;";
print "static void";
print "show_copying_command (char *ignore, int from_tty)";
print "{";
- print " immediate_quit++;";
}
NR == 1,/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/ {
if ($0 ~ / /)
@@ -33,13 +31,11 @@ NR == 1,/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/ {
}
}
/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/ {
- print " immediate_quit--;";
print "}";
print "";
print "static void";
print "show_warranty_command (char *ignore, int from_tty)";
print "{";
- print " immediate_quit++;";
}
/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/, /^[ ]*END OF TERMS AND CONDITIONS[ ]*$/{
if (! ($0 ~ /^[ ]*END OF TERMS AND CONDITIONS[ ]*$/))
@@ -51,16 +47,15 @@ NR == 1,/^[ ]*15\. Disclaimer of Warranty\.[ ]*$/ {
}
}
END {
- print " immediate_quit--;";
print "}";
print "";
print "void"
print "_initialize_copying (void)";
print "{";
- print " add_cmd (\"copying\", no_class, show_copying_command,";
+ print " add_cmd (\"copying\", no_set_class, show_copying_command,";
print " _(\"Conditions for redistributing copies of GDB.\"),";
print " &showlist);";
- print " add_cmd (\"warranty\", no_class, show_warranty_command,";
+ print " add_cmd (\"warranty\", no_set_class, show_warranty_command,";
print " _(\"Various kinds of warranty you do not have.\"),";
print " &showlist);";
print "";