aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 14:26:20 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 14:26:20 +0000
commit27ad511f8406349fd2ba5bbeabb7a522601e1e81 (patch)
tree2eb03e9abe803ae48e4aecc4a3efc4fcd6235cdf
parentfcc41f68c4d95fe487647949a1535622f0c1b9c3 (diff)
downloadgdb-27ad511f8406349fd2ba5bbeabb7a522601e1e81.zip
gdb-27ad511f8406349fd2ba5bbeabb7a522601e1e81.tar.gz
gdb-27ad511f8406349fd2ba5bbeabb7a522601e1e81.tar.bz2
* coffread.c, xcoffread.c: Include <coff/internal.h>
before "symfile.h".
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/coffread.c14
-rw-r--r--gdb/xcoffread.c8
3 files changed, 17 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d29f5cb..5f91ab3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * coffread.c, xcoffread.c: Include <coff/internal.h>
+ before "symfile.h".
+
Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* coffread.c (coff_getfilename): Make it not static.
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 5a99a37..74e1ce8 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -23,13 +23,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "symtab.h"
#include "gdbtypes.h"
#include "breakpoint.h"
+
#include "bfd.h"
-#include "symfile.h"
-#include "objfiles.h"
-#include "buildsym.h"
-#include "gdb-stabs.h"
-#include "stabsread.h"
-#include "complaints.h"
#include <obstack.h>
#include <string.h>
@@ -40,6 +35,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "coff/internal.h" /* Internal format of COFF symbols in BFD */
#include "libcoff.h" /* FIXME secret internal data from BFD */
+#include "symfile.h"
+#include "objfiles.h"
+#include "buildsym.h"
+#include "gdb-stabs.h"
+#include "stabsread.h"
+#include "complaints.h"
+
struct coff_symfile_info {
file_ptr min_lineno_offset; /* Where in file lowest line#s are */
file_ptr max_lineno_offset; /* 1+last byte of line#s in file */
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 71fe6e0..11e1df0 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -41,6 +41,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/stat.h>
#include <sys/debug.h>
+#include "coff/internal.h" /* FIXME, internal data from BFD */
+#include "libcoff.h" /* FIXME, internal data from BFD */
+#include "coff/rs6000.h" /* FIXME, raw file-format guts of xcoff */
+
#include "symtab.h"
#include "gdbtypes.h"
#include "symfile.h"
@@ -49,10 +53,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "stabsread.h"
#include "complaints.h"
-#include "coff/internal.h" /* FIXME, internal data from BFD */
-#include "libcoff.h" /* FIXME, internal data from BFD */
-#include "coff/rs6000.h" /* FIXME, raw file-format guts of xcoff */
-
/* For interface with stabsread.c. */
#include "aout/stab_gnu.h"