This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]