aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1995-07-29 21:24:39 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1995-07-29 21:24:39 +0000
commit96fd3d08f9911add5dfbdb49c85fad8cf40d43fd (patch)
treeff4f65b5f874ab3effa19e7bac27fa3ed5695683 /gdb
parentb6753b3f6f85c8a9ee8cee37b392f44090bfc1cf (diff)
downloadgdb-96fd3d08f9911add5dfbdb49c85fad8cf40d43fd.zip
gdb-96fd3d08f9911add5dfbdb49c85fad8cf40d43fd.tar.gz
gdb-96fd3d08f9911add5dfbdb49c85fad8cf40d43fd.tar.bz2
* gdb.base/Makefile.in (clean): Remove callf-info.exp.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.base/Makefile.in10
2 files changed, 17 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 783c2ad..20d40e5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
+
+ * gdb.base/Makefile.in (clean): Remove callf-info.exp.
+
+Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
+
+ * config/vxworks29k.exp: New file, sources vxworks.exp.
+
Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* config/gdbremote.exp: New file. Testing framework using
diff --git a/gdb/testsuite/gdb.base/Makefile.in b/gdb/testsuite/gdb.base/Makefile.in
index 3893db5..59bb5d51 100644
--- a/gdb/testsuite/gdb.base/Makefile.in
+++ b/gdb/testsuite/gdb.base/Makefile.in
@@ -251,6 +251,14 @@ mips_pro: mips_pro.o
printcmds: printcmds.o
$(CC) $(CFLAGS) $(LDFLAGS) -o printcmds printcmds.o $(LIBS)
+# Try compiling this with prototypes, if that fails maybe the compiler
+# is a pre-ANSI compiler, in which case don't use prototypes.
+callfuncs.o: callfuncs.c
+ (echo set prototypes 1 > callf-info.exp; \
+ $(CC) -c $(CFLAGS) $(srcdir)/callfuncs.c 2>/dev/null) \
+ || (echo set prototypes 0 > callf-info.exp; \
+ $(CC) -c $(CFLAGS) -DNO_PROTOTYPES $(srcdir)/callfuncs.c)
+
callfuncs: callfuncs.o
$(CC) $(CFLAGS) $(LDFLAGS) -o callfuncs callfuncs.o $(LIBS)
@@ -302,7 +310,7 @@ just-check:
$(RUNTEST) $(RUNTESTFLAGS) --tool gdb --srcdir $(srcdir)
clean mostlyclean:
- -rm -f *~ *.o a.out xgdb *.x $(EXECUTABLES)
+ -rm -f *~ *.o a.out xgdb *.x $(EXECUTABLES) callf-info.exp
-rm -f core core.coremaker coremaker.core corefile
distclean realclean: clean