This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[patch] make coff-solib.c compile
- To: gdb-patches at sourceware dot cygnus dot com (gdb-patches)
- Subject: [patch] make coff-solib.c compile
- From: John Marshall <john_w_marshall at palm dot com>
- Date: Wed, 14 Jun 2000 20:21:46 -0700 (PDT)
When building a cross debugger to eg m68k-lynxos (eg from
i686-pc-linux-gnu), coff-solib.c won't compile because there's no
definition of OBJF_SHARED. This gets it compiling. I'm not sure this is
the right place to #include these headers, but it does compare favourably
with the lists of #includes in the other *-solib.c files.
John
2000-06-14 John Marshall <john_w_marshall@palm.com>
* coff-solib.c: Include symfile.h and objfiles.h to make
OBJF_SHARED visible.
--- gdb+dejagnu-20000614/gdb/coff-solib.c.orig Wed Jun 14 20:06:07 2000
+++ gdb+dejagnu-20000614/gdb/coff-solib.c Wed Jun 14 20:06:22 2000
@@ -25,6 +25,8 @@
#include "bfd.h"
#include "gdbcore.h"
#include "symtab.h"
+#include "symfile.h"
+#include "objfiles.h"
/*