Don't include <endian.h>

This commit is contained in:
Andrew Cagney 2002-01-05 22:06:38 +00:00
parent 7a62114442
commit 9299404eba
6 changed files with 407 additions and 402 deletions

View File

@ -1,3 +1,10 @@
2002-01-05 Andrew Cagney <ac131313@redhat.com>
* configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
* configure, config.in: Re-generate.
* config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
* defs.h: Do not include <endian.h>.
2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
* acconfig.h (HAVE_PT_GETXMMREGS): New.

View File

@ -277,9 +277,6 @@
/* Define if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
/* Define if you have the <endian.h> header file. */
#undef HAVE_ENDIAN_H
/* Define if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H

View File

@ -1,8 +1,5 @@
/* Definitions to make GDB run on a vax under BSD, 4.3 or 4.4. */
/* We have to include these files now, so that GDB will not make
competing definitions in defs.h. */
#include <machine/endian.h>
/* This should exist on either 4.3 or 4.4. 4.3 doesn't have limits.h
or machine/limits.h. */
#include <sys/param.h>

787
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -118,7 +118,7 @@ case $host_os in solaris2.7 | solaris2.8) case "$GCC" in yes)
AC_DEFINE(_MSE_INT_H)
esac; esac
AC_CHECK_HEADERS(ctype.h endian.h nlist.h link.h thread_db.h proc_service.h \
AC_CHECK_HEADERS(ctype.h nlist.h link.h thread_db.h proc_service.h \
memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \
string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \
term.h termio.h termios.h unistd.h wait.h sys/wait.h \

View File

@ -1225,13 +1225,6 @@ extern void *alloca ();
#endif /* Not GNU C */
#endif /* alloca not defined */
/* Get a definition of BFD_ENDIAN_BIG and BFD_ENDIAN_LITTLE. */
/* FIXME: cagney/2001-10-31: GDB should just use BFD's definitions. */
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#endif
/* Dynamic target-system-dependent parameters for GDB. */
#include "gdbarch.h"
#if (GDB_MULTI_ARCH == 0)