3 print "/* Do not modify this file; it is created automatically";
4 print " by copying.awk. */";
5 print "#include \"defs.h\""
6 print "#include \"command.h\""
7 print "extern int immediate_quit;";
9 print "copying_info ()";
11 print " immediate_quit++;";
13 NR ==
1,/^
[ ]*NO WARRANTY
[ ]*$
/ {
14 if (!
($
0 ~
/^
[ ]*NO WARRANTY
[ ]*$
/))
16 printf " printf_filtered (\"";
17 for (i =
1; i
< NF; i
++)
19 printf "%s\\n\");\n", $
NF;
22 /^
[ ]*NO WARRANTY
[ ]*$
/ {
23 print " immediate_quit--;";
27 print "warranty_info ()";
29 print " immediate_quit++;";
31 /^
[ ]*NO WARRANTY
[ ]*$
/, /^
[ ]*END OF TERMS AND CONDITIONS
[ ]*$
/{
32 if (!
($
0 ~
/^
[ ]*END OF TERMS AND CONDITIONS
[ ]*$
/))
34 printf " printf_filtered (\"";
35 for (i =
1; i
< NF; i
++)
37 printf "%s\\n\");\n", $
NF;
41 print " immediate_quit--;";
45 print "_initialize_copying ()";
47 print " add_info (\"copying\", copying_info,";
48 print " \"Conditions for redistributing copies of GDB.\");";
49 print " add_info (\"warranty\", warranty_info,";
50 print " \"Various kinds of warranty you do not have.\");";
This page took 0.030843 seconds and 4 git commands to generate.