summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/objfiles.h4
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4d295f9d2f4..ba992e43590 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-05 Joel Brobecker <brobecker@gnat.com>
+
+ * objfiles.h: Add missing #include "symfile.h"
+
+ * Makefile.in (objfiles_h): Add dependency on symfile.h and dependents.
+
2002-08-04 Andrew Cagney <ac131313@redhat.com>
From 2002-08-01 david carlton <carlton@math.stanford.edu>:
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 00bd31b0f89..77c9d55bc85 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -649,7 +649,7 @@ macrotab_h = macrotab.h
macroscope_h = macroscope.h $(macrotab_h) $(symtab_h)
memattr_h = memattr.h
monitor_h = monitor.h
-objfiles_h = objfiles.h $(gdb_obstack_h)
+objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h)
parser_defs_h = parser-defs.h $(doublest_h)
ppc_tdep_h = ppc-tdep.h osabi.h
regcache_h = regcache.h
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index d3194915711..d472efc62c9 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -23,7 +23,9 @@
#if !defined (OBJFILES_H)
#define OBJFILES_H
-#include "gdb_obstack.h" /* For obstack internals. */
+#include "gdb_obstack.h" /* For obstack internals. */
+#include "symfile.h" /* For struct psymbol_allocation_list */
+
struct bcache;
/* This structure maintains information on a per-objfile basis about the