PATCH: Add dependencies for c-exp.tab.o
Jim Blandy
jimb@zwingli.cygnus.com
Wed Dec 12 06:23:00 GMT 2001
Obvious fix.
2001-12-12 Jim Blandy <jimb@redhat.com>
* Makefile.in (c-exp.tab.o): Add missing dependencies.
Index: gdb/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.139
diff -c -r1.139 Makefile.in
*** gdb/Makefile.in 2001/12/12 14:13:24 1.139
--- gdb/Makefile.in 2001/12/12 14:19:23
***************
*** 1055,1060 ****
--- 1055,1064 ----
mv version.c-tmp version.c
version.o: version.c $(version_h)
+ c-exp.tab.o: c-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
+ $(value_h) $(parser_defs_h) $(language_h) c-lang.h $(bfd_h) \
+ $(symfile_h) $(objfiles_h)
+
# c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to c-exp.tab.o.
***************
*** 1064,1070 ****
# Remove bogus decls for malloc/realloc/free which conflict with everything
# else. Strictly speaking c-exp.tab.c should therefore depend on
# Makefile.in, but that was a pretty big annoyance.
- c-exp.tab.o: c-exp.tab.c
c-exp.tab.c: c-exp.y
$(SHELL) $(YLWRAP) "$(YACC)" $(srcdir)/c-exp.y y.tab.c c-exp.tmp -- $(YFLAGS)
-sed -e '/extern.*malloc/d' \
--- 1068,1073 ----
More information about the Gdb-patches
mailing list