gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gprof / gen-c-prog.awk
CommitLineData
252b5132
RH
1NR == 1 {
2 FS="\"";
3 print "/* ==> Do not modify this file!! It is created automatically"
4 printf " from %s using the gen-c-prog.awk script. <== */\n\n", FILE
5 print "#include <stdio.h>"
82fe033f 6 print "#include \"ansidecl.h\""
252b5132
RH
7}
8
9 {
10 if (curfun != FUNCTION)
11 {
12 if (curfun)
13 print "}"
14 curfun = FUNCTION
15 print ""
3e8f6abf 16 print "void ", FUNCTION, "(FILE *);"
252b5132 17 print "void";
e6c7cdec 18 printf "%s (FILE *file)\n", FUNCTION
252b5132
RH
19 print "{";
20 }
21 printf " fputs (\"";
22 for (i = 1; i < NF; i++)
23 printf "%s\\\"", $i;
24 printf "%s\\n\", file);\n", $NF;
25}
26
27END { print "}" }
This page took 0.828468 seconds and 4 git commands to generate.