projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
gprof
/
gen-c-prog.awk
diff --git
a/gprof/gen-c-prog.awk
b/gprof/gen-c-prog.awk
index cccf4280ef592477e55e07e79cffaea0a85d2e2e..c66cf45d0becc7ba006fa84439979aed2716b0ba 100644
(file)
--- a/
gprof/gen-c-prog.awk
+++ b/
gprof/gen-c-prog.awk
@@
-1,8
+1,9
@@
NR == 1 {
FS="\"";
print "/* ==> Do not modify this file!! It is created automatically"
NR == 1 {
FS="\"";
print "/* ==> Do not modify this file!! It is created automatically"
- printf " from %s using the
make
-c-prog.awk script. <== */\n\n", FILE
+ printf " from %s using the
gen
-c-prog.awk script. <== */\n\n", FILE
print "#include <stdio.h>"
print "#include <stdio.h>"
+ print "#include \"ansidecl.h\""
}
{
}
{
@@
-12,9
+13,9
@@
NR == 1 {
print "}"
curfun = FUNCTION
print ""
print "}"
curfun = FUNCTION
print ""
+ print "void ", FUNCTION, "(FILE *);"
print "void";
print "void";
- printf "%s (file)\n", FUNCTION
- print " FILE *file;";
+ printf "%s (FILE *file)\n", FUNCTION
print "{";
}
printf " fputs (\"";
print "{";
}
printf " fputs (\"";
This page took
0.024533 seconds
and
4
git commands to generate.