diff options
author | K. Richard Pixley <rich@cygnus> | 1992-12-08 05:21:19 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-12-08 05:21:19 +0000 |
commit | 017349fbcff97ddad57d87a7a43b8a68dd09cc5b (patch) | |
tree | c89f602f3180ba64b92102cd508f40e993d11216 /gprof/make-c-prog.awk | |
parent | 43bbd567f2d928b2628e508ee9c75a3920e26b4d (diff) | |
download | binutils-017349fbcff97ddad57d87a7a43b8a68dd09cc5b.zip binutils-017349fbcff97ddad57d87a7a43b8a68dd09cc5b.tar.gz binutils-017349fbcff97ddad57d87a7a43b8a68dd09cc5b.tar.bz2 |
recording file death
Diffstat (limited to 'gprof/make-c-prog.awk')
-rw-r--r-- | gprof/make-c-prog.awk | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gprof/make-c-prog.awk b/gprof/make-c-prog.awk deleted file mode 100644 index a0a49de..0000000 --- a/gprof/make-c-prog.awk +++ /dev/null @@ -1,29 +0,0 @@ -BEGIN { - FS="\""; - print "/* ==> Do not modify this file!! It is created automatically" - print " by make-c-prog.awk; modify make-c-prog.awk instead. <== */" - print "" - print "#include <stdio.h>" - } - - { - if (curfun != FUNCTION) - { - if (curfun) - print "}" - curfun = FUNCTION - print "" - print "void"; - printf "%s (file)\n", FUNCTION - print " FILE *file;"; - print "{"; - } - printf " fputs (\""; - for (i = 1; i < NF; i++) - printf "%s\\\"", $i; - printf "%s\\n\", file);\n", $NF; - } - -END { - print "}" - } |