Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: gdb/copying.awk

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/contrib/test_pubnames_and_indexes.py ('k') | gdb/copying.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/copying.awk
diff --git a/gdb/copying.awk b/gdb/copying.awk
index 936f435c98e1edea3ede0123ac86d01e4d854ce2..1801997db15f9bfd811cb985e86db05b76db0121 100644
--- a/gdb/copying.awk
+++ b/gdb/copying.awk
@@ -1,7 +1,10 @@
BEGIN {
FS="\"";
- print "/* ==> Do not modify this file!! It is created automatically";
- print " by copying.awk. Modify copying.awk instead. <== */";
+ print "/* ==> Do not modify this file!! " \
+ "-*- buffer-read-only: t -*- vi" \
+ ":set ro:";
+ print " It is created automatically by copying.awk.";
+ print " Modify copying.awk instead. <== */";
print ""
print "#include \"defs.h\""
print "#include \"command.h\""
@@ -13,11 +16,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 +34,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 +50,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 "";
« no previous file with comments | « gdb/contrib/test_pubnames_and_indexes.py ('k') | gdb/copying.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698