diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/buildsym.c | 2 | ||||
-rw-r--r-- | gdb/coredep.c | 6 | ||||
-rw-r--r-- | gdb/xcoffread.c | 3 |
4 files changed, 9 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 095b26f..d3878ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,9 @@ Fri Nov 22 08:27:40 1991 John Gilmore (gnu at cygnus.com) - * infptrace.c, language.h: Lint. + * buildsym.c, coredep.c, mem-break.c, xcoffread.c: Put <stdio.h> + first, before defs.h. + * config/mh-i386sco: Override compiler to gcc, print warning. + * infptrace.c, language.h, utils.c: Lint. * m2-exp.y: #undef MAX and MIN in case system includes set them. * xm-tahoe.h: Set HOST_BYTE_ORDER. Include system versions of {BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 1510484..83e2608 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -24,6 +24,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ They originated in dbxread.c of gdb-4.2, and were split out to make xcoffread.c more maintainable by sharing code. */ +#include <stdio.h> #include "defs.h" #include "obstack.h" #include "symtab.h" @@ -31,7 +32,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "gdbcore.h" /* for bfd stuff for symfile.h */ #include "symfile.h" /* Needed for "struct complaint" */ #include "stab.gnu.h" /* We always use GNU stabs, not native */ -#include <stdio.h> #include <string.h> #include <ctype.h> diff --git a/gdb/coredep.c b/gdb/coredep.c index bb26b08..22d3c6a 100644 --- a/gdb/coredep.c +++ b/gdb/coredep.c @@ -20,13 +20,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* core.c is supposed to be the more machine-independent aspects of this; this file is more machine-specific. */ +#include <stdio.h> +#include <sys/types.h> +#include <sys/param.h> #include "defs.h" #include "gdbcore.h" -#include <stdio.h> /* These are needed on various systems to expand REGISTER_U_ADDR. */ -#include <sys/types.h> -#include <sys/param.h> #ifndef USG #include <sys/dir.h> #include <sys/file.h> diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 44ce2fa..7956d9d 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -19,11 +19,10 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <stdio.h> #include "defs.h" #include "bfd.h" -#include <stdio.h> - /* AIX COFF names have a preceeding dot `.' */ #define NAMES_HAVE_DOT 1 |