PATCH: gdb/corefile.c (0401 snap on HP-UX).

RDBrown
2001-04-09T06:03:00Z

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. */