From 27ad511f8406349fd2ba5bbeabb7a522601e1e81 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 21 Jan 1994 14:26:20 +0000 Subject: * coffread.c, xcoffread.c: Include before "symfile.h". --- gdb/ChangeLog | 5 +++++ gdb/coffread.c | 14 ++++++++------ gdb/xcoffread.c | 8 ++++---- 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 + 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 #include @@ -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 #include +#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" -- cgit v1.1