aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-11-16 19:25:35 +0000
committerFred Fish <fnf@specifix.com>1992-11-16 19:25:35 +0000
commit19cfe25d9010c84f8e8f973acf0587ec92489126 (patch)
treebb49061e07108729ab0445ec53e1a9b90433ec8f /gdb/Makefile.in
parent45a655b0b67e5f21ee23119cc34bf7125965e59d (diff)
downloadgdb-19cfe25d9010c84f8e8f973acf0587ec92489126.zip
gdb-19cfe25d9010c84f8e8f973acf0587ec92489126.tar.gz
gdb-19cfe25d9010c84f8e8f973acf0587ec92489126.tar.bz2
First cut at sanitizing away the chill stuff.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index e1d7916..ff7bc92 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -700,13 +700,14 @@ c-exp.tab.c: $(srcdir)/c-exp.y Makefile
< y.tab.c > c-exp.tab.c
-rm y.tab.c
+# start-sanitize-chill
# ch-exp.tab.c is generated in target dir from ch-exp.y if it doesn't exist
# in srcdir, then compiled in target dir to ch-exp.tab.o.
# Remove bogus decls for malloc/realloc/free which conflict with everything
# else.
ch-exp.tab.o: ch-exp.tab.c
ch-exp.tab.c: $(srcdir)/ch-exp.y Makefile
- @echo 'Expect 4 shift/reduce conflicts.'
+ @echo 'Expect rules never reduced, and lots of reduce/reduce conflicts.'
${YACC} $(srcdir)/ch-exp.y
-sed -e '/extern.*malloc/d' \
-e '/extern.*realloc/d' \
@@ -716,6 +717,7 @@ ch-exp.tab.c: $(srcdir)/ch-exp.y Makefile
-e 's/realloc/xrealloc/g' \
< y.tab.c > ch-exp.tab.c
-rm y.tab.c
+# end-sanitize-chill
# m2-exp.tab.c is generated in target dir from m2-exp.y if it doesn't exist
# in srcdir, then compiled in target dir to m2-exp.tab.o.