This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: gdb/corefile.c (0401 snap on HP-UX).
- To: gdb-patches at sources dot redhat dot com
- Subject: PATCH: gdb/corefile.c (0401 snap on HP-UX).
- From: RDBrown at mira dot net
- Date: Mon, 9 Apr 2001 23:04:02 +1000 (EST)
- Reply-To: RDBrown at mira dot net,RodneyBrown at mynd dot com
gdb/corefile.c was failing to compile with a missing declaration for
`symfile_objfile'. This allows gdb to build, but still hangs when
starting the child process.
2001-04-09 Rodney Brown <RBrown64@csc.com.au>
* corefile.c: Include symfile.h and objfiles.h to declare
symfile_objfile when HPUXHPPA.
--- gdb/corefile.c.orig Mon Apr 9 18:45:13 2001
+++ gdb/corefile.c Mon Apr 9 18:02:21 2001
@@ -34,6 +34,10 @@
#include "gdbcore.h"
#include "dis-asm.h"
#include "gdb_stat.h"
+#ifdef HPUXHPPA
+#include "symfile.h"
+#include "objfiles.h"
+#endif
/* Local function declarations. */