aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-02 02:57:18 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-02 02:57:18 +0000
commit2607059cba7993c0260ef42af5bc74df8f3f3a6e (patch)
treecb2846f63bf2a9aaf6d569882b6add480888530b /gdb/config
parentd41b701bc04e035bac4dbc7ca9accd5ac82f5f36 (diff)
downloadgdb-2607059cba7993c0260ef42af5bc74df8f3f3a6e.zip
gdb-2607059cba7993c0260ef42af5bc74df8f3f3a6e.tar.gz
gdb-2607059cba7993c0260ef42af5bc74df8f3f3a6e.tar.bz2
Delete HOST_BYTE_ORDER.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/a29k/tm-a29k.h5
-rw-r--r--gdb/config/a29k/tm-vx29k.h1
-rw-r--r--gdb/config/alpha/xm-alphalinux.h4
-rw-r--r--gdb/config/alpha/xm-alphaosf.h4
-rw-r--r--gdb/config/alpha/xm-fbsd.h26
-rw-r--r--gdb/config/arm/xm-linux.h2
-rw-r--r--gdb/config/i386/xm-cygwin.h4
-rw-r--r--gdb/config/i386/xm-i386bsd.h2
-rw-r--r--gdb/config/i386/xm-i386gnu.h2
-rw-r--r--gdb/config/i386/xm-i386lynx.h2
-rw-r--r--gdb/config/i386/xm-i386m3.h2
-rw-r--r--gdb/config/i386/xm-i386mach.h2
-rw-r--r--gdb/config/i386/xm-i386v.h2
-rw-r--r--gdb/config/i386/xm-ptx.h2
-rw-r--r--gdb/config/i386/xm-symmetry.h2
-rw-r--r--gdb/config/ia64/xm-aix.h2
-rw-r--r--gdb/config/ia64/xm-linux.h2
-rw-r--r--gdb/config/m68k/xm-3b1.h2
-rw-r--r--gdb/config/m68k/xm-apollo68b.h2
-rw-r--r--gdb/config/m68k/xm-apollo68v.h2
-rw-r--r--gdb/config/m68k/xm-delta68.h2
-rw-r--r--gdb/config/m68k/xm-dpx2.h2
-rw-r--r--gdb/config/m68k/xm-hp300bsd.h2
-rw-r--r--gdb/config/m68k/xm-hp300hpux.h2
-rw-r--r--gdb/config/m68k/xm-m68k.h1
-rw-r--r--gdb/config/m68k/xm-m68klynx.h2
-rw-r--r--gdb/config/m68k/xm-sun2.h2
-rw-r--r--gdb/config/m68k/xm-sun3.h3
-rw-r--r--gdb/config/m88k/xm-dgux.h2
-rw-r--r--gdb/config/m88k/xm-m88k.h21
-rw-r--r--gdb/config/mips/xm-irix3.h2
-rw-r--r--gdb/config/mips/xm-irix5.h2
-rw-r--r--gdb/config/mips/xm-linux.h9
-rw-r--r--gdb/config/mips/xm-mips.h4
-rw-r--r--gdb/config/mips/xm-mipsm3.h4
-rw-r--r--gdb/config/mips/xm-mipsv4.h2
-rw-r--r--gdb/config/mips/xm-news-mips.h26
-rw-r--r--gdb/config/mips/xm-riscos.h4
-rw-r--r--gdb/config/pa/xm-hppab.h4
-rw-r--r--gdb/config/pa/xm-hppah.h3
-rw-r--r--gdb/config/powerpc/xm-linux.h2
-rw-r--r--gdb/config/romp/xm-rtbsd.h3
-rw-r--r--gdb/config/rs6000/xm-rs6000.h2
-rw-r--r--gdb/config/rs6000/xm-rs6000ly.h2
-rw-r--r--gdb/config/s390/xm-linux.h3
-rw-r--r--gdb/config/sparc/xm-sparc.h23
-rw-r--r--gdb/config/sparc/xm-sparclynx.h2
-rw-r--r--gdb/config/vax/xm-vax.h2
-rw-r--r--gdb/config/xm-aix4.h4
-rw-r--r--gdb/config/xm-nbsd.h7
50 files changed, 6 insertions, 215 deletions
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h
index bfd6519..9978459 100644
--- a/gdb/config/a29k/tm-a29k.h
+++ b/gdb/config/a29k/tm-a29k.h
@@ -1,6 +1,6 @@
/* Parameters for target machine AMD 29000, for GDB, the GNU debugger.
- Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000
- Free Software Foundation, Inc.
+ Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
+ 2001 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Jim Kingdon.
This file is part of GDB.
@@ -617,6 +617,7 @@ extern void pop_frame ();
asneq 0x50,gr1,gr1 ; breakpoint (replaced by local breakpoint insn)
*/
+#error "This file is broken. GDB does not define HOST_BYTE_ORDER."
#if TARGET_BYTE_ORDER == HOST_BYTE_ORDER
#define BS(const) const
#else
diff --git a/gdb/config/a29k/tm-vx29k.h b/gdb/config/a29k/tm-vx29k.h
index fb6ecb3..15113c5 100644
--- a/gdb/config/a29k/tm-vx29k.h
+++ b/gdb/config/a29k/tm-vx29k.h
@@ -44,6 +44,7 @@
For Vxworks, the breakpoint is set and deleted by calls to
CALL_DUMMY_BREAK_SET and CALL_DUMMY_BREAK_DELETE. */
+#error "This file is broken. GDB does not define HOST_BYTE_ORDER."
#if TARGET_BYTE_ORDER == HOST_BYTE_ORDER
#define CALL_DUMMY {0x0400870f,\
0x36008200|(MSP_HW_REGNUM), \
diff --git a/gdb/config/alpha/xm-alphalinux.h b/gdb/config/alpha/xm-alphalinux.h
index 579fe11..b487630 100644
--- a/gdb/config/alpha/xm-alphalinux.h
+++ b/gdb/config/alpha/xm-alphalinux.h
@@ -18,10 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#if !defined (HOST_BYTE_ORDER)
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-#endif
-
/* The alpha has no siginterrupt routine. */
#define NO_SIGINTERRUPT
diff --git a/gdb/config/alpha/xm-alphaosf.h b/gdb/config/alpha/xm-alphaosf.h
index 4d32951..67d3cc4 100644
--- a/gdb/config/alpha/xm-alphaosf.h
+++ b/gdb/config/alpha/xm-alphaosf.h
@@ -18,10 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#if !defined (HOST_BYTE_ORDER)
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-#endif
-
/* The alpha has no siginterrupt routine. */
#define NO_SIGINTERRUPT
diff --git a/gdb/config/alpha/xm-fbsd.h b/gdb/config/alpha/xm-fbsd.h
index b1e7efd..e69de29 100644
--- a/gdb/config/alpha/xm-fbsd.h
+++ b/gdb/config/alpha/xm-fbsd.h
@@ -1,26 +0,0 @@
-/* Host-dependent definitions for FreeBSD/i386.
- Copyright 2000 Free Software Foundation, Inc.
-
- This file is part of GDB.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- 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., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#ifndef XM_FBSD_H
-#define XM_FBSD_H
-
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
-#endif /* XM_FBSD_H */
diff --git a/gdb/config/arm/xm-linux.h b/gdb/config/arm/xm-linux.h
index e8f9e85..fa82a1e 100644
--- a/gdb/config/arm/xm-linux.h
+++ b/gdb/config/arm/xm-linux.h
@@ -21,8 +21,6 @@
#ifndef XM_ARMLINUX_H
#define XM_ARMLINUX_H
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
diff --git a/gdb/config/i386/xm-cygwin.h b/gdb/config/i386/xm-cygwin.h
index 1945a75..b8290c2 100644
--- a/gdb/config/i386/xm-cygwin.h
+++ b/gdb/config/i386/xm-cygwin.h
@@ -18,9 +18,9 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
#include "fopen-bin.h"
+#define GDBINIT_FILENAME "gdb.ini"
+
/* Define this if source files use \r\n rather than just \n. */
#define CRLF_SOURCE_FILES
diff --git a/gdb/config/i386/xm-i386bsd.h b/gdb/config/i386/xm-i386bsd.h
index 870839d..ca0ffb2 100644
--- a/gdb/config/i386/xm-i386bsd.h
+++ b/gdb/config/i386/xm-i386bsd.h
@@ -19,6 +19,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
#include <machine/limits.h> /* for INT_MIN */
diff --git a/gdb/config/i386/xm-i386gnu.h b/gdb/config/i386/xm-i386gnu.h
index 37bf1e5..711aeeb 100644
--- a/gdb/config/i386/xm-i386gnu.h
+++ b/gdb/config/i386/xm-i386gnu.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
#define HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext
/* Do implement the attach and detach commands. */
diff --git a/gdb/config/i386/xm-i386lynx.h b/gdb/config/i386/xm-i386lynx.h
index c9cc69d..0aedb13 100644
--- a/gdb/config/i386/xm-i386lynx.h
+++ b/gdb/config/i386/xm-i386lynx.h
@@ -18,8 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* Get generic LynxOS host definitions. */
#include "xm-lynx.h"
diff --git a/gdb/config/i386/xm-i386m3.h b/gdb/config/i386/xm-i386m3.h
index 6f2f896..f25b389 100644
--- a/gdb/config/i386/xm-i386m3.h
+++ b/gdb/config/i386/xm-i386m3.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* Do implement the attach and detach commands. */
#define ATTACH_DETACH 1
diff --git a/gdb/config/i386/xm-i386mach.h b/gdb/config/i386/xm-i386mach.h
index b895c64..e0a5d65 100644
--- a/gdb/config/i386/xm-i386mach.h
+++ b/gdb/config/i386/xm-i386mach.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
diff --git a/gdb/config/i386/xm-i386v.h b/gdb/config/i386/xm-i386v.h
index 4476b69..1c32905 100644
--- a/gdb/config/i386/xm-i386v.h
+++ b/gdb/config/i386/xm-i386v.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* I'm running gdb 3.4 under 386/ix 2.0.2, which is a derivative of AT&T's
Sys V/386 3.2.
diff --git a/gdb/config/i386/xm-ptx.h b/gdb/config/i386/xm-ptx.h
index ad26a84..6dfb9d6 100644
--- a/gdb/config/i386/xm-ptx.h
+++ b/gdb/config/i386/xm-ptx.h
@@ -36,5 +36,3 @@
#define USG
#define USE_O_NOCTTY
-
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
diff --git a/gdb/config/i386/xm-symmetry.h b/gdb/config/i386/xm-symmetry.h
index 477ee1b..781a343 100644
--- a/gdb/config/i386/xm-symmetry.h
+++ b/gdb/config/i386/xm-symmetry.h
@@ -26,5 +26,3 @@
#define NO_SIGINTERRUPT
#define HAVE_WAIT_STRUCT
-
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
diff --git a/gdb/config/ia64/xm-aix.h b/gdb/config/ia64/xm-aix.h
index 97c790d..6ca026d 100644
--- a/gdb/config/ia64/xm-aix.h
+++ b/gdb/config/ia64/xm-aix.h
@@ -21,8 +21,6 @@
#ifndef XM_AIX_H
#define XM_AIX_H
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* Pick up more stuff from the generic SVR4 host include file. */
#include "xm-sysv4.h"
diff --git a/gdb/config/ia64/xm-linux.h b/gdb/config/ia64/xm-linux.h
index 6f6b055..adf6b21 100644
--- a/gdb/config/ia64/xm-linux.h
+++ b/gdb/config/ia64/xm-linux.h
@@ -21,8 +21,6 @@
#ifndef XM_LINUX_H
#define XM_LINUX_H
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
diff --git a/gdb/config/m68k/xm-3b1.h b/gdb/config/m68k/xm-3b1.h
index 9b9fcf1..acf72e9 100644
--- a/gdb/config/m68k/xm-3b1.h
+++ b/gdb/config/m68k/xm-3b1.h
@@ -18,8 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
#define HAVE_TERMIO
#define USG
diff --git a/gdb/config/m68k/xm-apollo68b.h b/gdb/config/m68k/xm-apollo68b.h
index fc053e2..d77509d 100644
--- a/gdb/config/m68k/xm-apollo68b.h
+++ b/gdb/config/m68k/xm-apollo68b.h
@@ -18,6 +18,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
#define ALIGN_STACK_ON_STARTUP
diff --git a/gdb/config/m68k/xm-apollo68v.h b/gdb/config/m68k/xm-apollo68v.h
index 264076b..8919088 100644
--- a/gdb/config/m68k/xm-apollo68v.h
+++ b/gdb/config/m68k/xm-apollo68v.h
@@ -23,8 +23,6 @@
* July 1988
*/
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* I'm running gdb 3.4 under 386/ix 2.0.2, which is a derivative of AT&T's
Sys V/386 3.2.
diff --git a/gdb/config/m68k/xm-delta68.h b/gdb/config/m68k/xm-delta68.h
index d137545..f691c38 100644
--- a/gdb/config/m68k/xm-delta68.h
+++ b/gdb/config/m68k/xm-delta68.h
@@ -18,8 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* I'm running gdb 4.9 under sysV68 R3V7.1.
On some machines, gdb crashes when it's starting up while calling the
diff --git a/gdb/config/m68k/xm-dpx2.h b/gdb/config/m68k/xm-dpx2.h
index 4595c81..4083c9d 100644
--- a/gdb/config/m68k/xm-dpx2.h
+++ b/gdb/config/m68k/xm-dpx2.h
@@ -18,7 +18,5 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
#define HAVE_TERMIOS
#define USG
diff --git a/gdb/config/m68k/xm-hp300bsd.h b/gdb/config/m68k/xm-hp300bsd.h
index f8659a4..b938353 100644
--- a/gdb/config/m68k/xm-hp300bsd.h
+++ b/gdb/config/m68k/xm-hp300bsd.h
@@ -25,8 +25,6 @@
* Problems to hpbsd-bugs@cs.utah.edu
*/
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
#include <sys/param.h> /* For INT_MIN */
/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
diff --git a/gdb/config/m68k/xm-hp300hpux.h b/gdb/config/m68k/xm-hp300hpux.h
index ec07767..f5982b4 100644
--- a/gdb/config/m68k/xm-hp300hpux.h
+++ b/gdb/config/m68k/xm-hp300hpux.h
@@ -19,8 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* Define this to indicate problems with traps after continuing. */
#define HP_OS_BUG
diff --git a/gdb/config/m68k/xm-m68k.h b/gdb/config/m68k/xm-m68k.h
index a751f0e..5dc40ec 100644
--- a/gdb/config/m68k/xm-m68k.h
+++ b/gdb/config/m68k/xm-m68k.h
@@ -19,4 +19,3 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
diff --git a/gdb/config/m68k/xm-m68klynx.h b/gdb/config/m68k/xm-m68klynx.h
index 1247b5d..40619aa 100644
--- a/gdb/config/m68k/xm-m68klynx.h
+++ b/gdb/config/m68k/xm-m68klynx.h
@@ -18,8 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* Get generic LynxOS host definitions. */
#include "xm-lynx.h"
diff --git a/gdb/config/m68k/xm-sun2.h b/gdb/config/m68k/xm-sun2.h
index 532390c..cf84619 100644
--- a/gdb/config/m68k/xm-sun2.h
+++ b/gdb/config/m68k/xm-sun2.h
@@ -18,8 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
diff --git a/gdb/config/m68k/xm-sun3.h b/gdb/config/m68k/xm-sun3.h
index 523c478..6a5a560 100644
--- a/gdb/config/m68k/xm-sun3.h
+++ b/gdb/config/m68k/xm-sun3.h
@@ -18,9 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
-
/* Interface definitions for kernel debugger KDB. */
/* Map machine fault codes into signal numbers.
diff --git a/gdb/config/m88k/xm-dgux.h b/gdb/config/m88k/xm-dgux.h
index f1c6826..11220f5 100644
--- a/gdb/config/m88k/xm-dgux.h
+++ b/gdb/config/m88k/xm-dgux.h
@@ -21,8 +21,6 @@
#include "m88k/xm-m88k.h"
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
#if !defined (USG)
#define USG 1
#endif
diff --git a/gdb/config/m88k/xm-m88k.h b/gdb/config/m88k/xm-m88k.h
index 68ae055..e69de29 100644
--- a/gdb/config/m88k/xm-m88k.h
+++ b/gdb/config/m88k/xm-m88k.h
@@ -1,21 +0,0 @@
-/* Host-machine dependent parameters for Motorola 88000, for GDB.
- Copyright 1993 Free Software Foundation, Inc.
-
- This file is part of GDB.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- 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., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#define HOST_BYTE_ORDER BIG_ENDIAN
diff --git a/gdb/config/mips/xm-irix3.h b/gdb/config/mips/xm-irix3.h
index 88ad445..27da9a5 100644
--- a/gdb/config/mips/xm-irix3.h
+++ b/gdb/config/mips/xm-irix3.h
@@ -21,8 +21,6 @@
#define HAVE_TERMIO
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* Override register locations in upage for SGI machines */
#undef REGISTER_U_ADDR
#define REGISTER_U_ADDR(addr, blockend, regno) \
diff --git a/gdb/config/mips/xm-irix5.h b/gdb/config/mips/xm-irix5.h
index 24c625a..78c3a07 100644
--- a/gdb/config/mips/xm-irix5.h
+++ b/gdb/config/mips/xm-irix5.h
@@ -21,8 +21,6 @@
#include "xm-sysv4.h"
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* Override register locations in upage for SGI machines */
#undef REGISTER_U_ADDR
#define REGISTER_U_ADDR(addr, blockend, regno) \
diff --git a/gdb/config/mips/xm-linux.h b/gdb/config/mips/xm-linux.h
index d691e46..c19895e 100644
--- a/gdb/config/mips/xm-linux.h
+++ b/gdb/config/mips/xm-linux.h
@@ -21,13 +21,4 @@
#ifndef XM_MIPSLINUX_H
#define XM_MIPSLINUX_H
-#ifndef HOST_BYTE_ORDER
-#include <endian.h>
-#if __BYTE_ORDER == __BIG_ENDIAN
-#define HOST_BYTE_ORDER BIG_ENDIAN
-#else
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-#endif
-#endif
-
#endif /* XM_MIPSLINUX_H */
diff --git a/gdb/config/mips/xm-mips.h b/gdb/config/mips/xm-mips.h
index 4b40fc8..c1f53b5 100644
--- a/gdb/config/mips/xm-mips.h
+++ b/gdb/config/mips/xm-mips.h
@@ -21,10 +21,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#if !defined (HOST_BYTE_ORDER)
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-#endif
-
#ifdef ultrix
/* Needed for DECstation core files. */
#include <machine/param.h>
diff --git a/gdb/config/mips/xm-mipsm3.h b/gdb/config/mips/xm-mipsm3.h
index c11f11f..b2e9f4d 100644
--- a/gdb/config/mips/xm-mipsm3.h
+++ b/gdb/config/mips/xm-mipsm3.h
@@ -20,10 +20,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#if !defined (HOST_BYTE_ORDER)
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-#endif
-
#define KERNEL_U_ADDR 0 /* Not needed. */
/* Only used for core files on DECstations. */
diff --git a/gdb/config/mips/xm-mipsv4.h b/gdb/config/mips/xm-mipsv4.h
index af60741..76fa5da 100644
--- a/gdb/config/mips/xm-mipsv4.h
+++ b/gdb/config/mips/xm-mipsv4.h
@@ -20,5 +20,3 @@
Boston, MA 02111-1307, USA. */
#include "xm-sysv4.h"
-
-#define HOST_BYTE_ORDER BIG_ENDIAN
diff --git a/gdb/config/mips/xm-news-mips.h b/gdb/config/mips/xm-news-mips.h
index 0f032d7..e69de29 100644
--- a/gdb/config/mips/xm-news-mips.h
+++ b/gdb/config/mips/xm-news-mips.h
@@ -1,26 +0,0 @@
-/* Definitions to make GDB run on a mips box under 4.3bsd.
- Copyright 1986, 1987, 1989, 1993, 1994, 1995
- Free Software Foundation, Inc.
- Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
- and by Alessandro Forin(af@cs.cmu.edu) at CMU
-
- This file is part of GDB.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- 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., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#if !defined (HOST_BYTE_ORDER)
-#define HOST_BYTE_ORDER BIG_ENDIAN
-#endif
diff --git a/gdb/config/mips/xm-riscos.h b/gdb/config/mips/xm-riscos.h
index acffc87..1f03c5a 100644
--- a/gdb/config/mips/xm-riscos.h
+++ b/gdb/config/mips/xm-riscos.h
@@ -19,10 +19,6 @@
#define HAVE_TERMIO
-#if !defined (HOST_BYTE_ORDER)
-#define HOST_BYTE_ORDER BIG_ENDIAN
-#endif
-
#define USG 1
/* setjmp.h requires uid_t. */
diff --git a/gdb/config/pa/xm-hppab.h b/gdb/config/pa/xm-hppab.h
index 01753f0..d2561df 100644
--- a/gdb/config/pa/xm-hppab.h
+++ b/gdb/config/pa/xm-hppab.h
@@ -21,8 +21,4 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* This is a big-endian host. */
-
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
#include "pa/xm-pa.h"
diff --git a/gdb/config/pa/xm-hppah.h b/gdb/config/pa/xm-hppah.h
index bb21218..b1c26dd 100644
--- a/gdb/config/pa/xm-hppah.h
+++ b/gdb/config/pa/xm-hppah.h
@@ -22,9 +22,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Host is big-endian. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
#include "pa/xm-pa.h"
#define USG
diff --git a/gdb/config/powerpc/xm-linux.h b/gdb/config/powerpc/xm-linux.h
index 410ece1..c8a029d 100644
--- a/gdb/config/powerpc/xm-linux.h
+++ b/gdb/config/powerpc/xm-linux.h
@@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef XM_LINUX_H
#define XM_LINUX_H
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
diff --git a/gdb/config/romp/xm-rtbsd.h b/gdb/config/romp/xm-rtbsd.h
index 5781d75..e791816 100644
--- a/gdb/config/romp/xm-rtbsd.h
+++ b/gdb/config/romp/xm-rtbsd.h
@@ -19,9 +19,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* This machine is most significant byte first */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* This OS has the wait structure */
#define HAVE_WAIT_STRUCT
diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h
index bf0553f..51096e6 100644
--- a/gdb/config/rs6000/xm-rs6000.h
+++ b/gdb/config/rs6000/xm-rs6000.h
@@ -37,8 +37,6 @@
/* Big end is at the low address */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* At least as of AIX 3.2, we have termios. */
#define HAVE_TERMIOS 1
/* #define HAVE_TERMIO 1 */
diff --git a/gdb/config/rs6000/xm-rs6000ly.h b/gdb/config/rs6000/xm-rs6000ly.h
index 39f7e48..459df95 100644
--- a/gdb/config/rs6000/xm-rs6000ly.h
+++ b/gdb/config/rs6000/xm-rs6000ly.h
@@ -21,8 +21,6 @@
#ifndef XM_RS6000LYNX_H
#define XM_RS6000LYNX_H
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* Get generic LynxOS host definitions. */
#include "xm-lynx.h"
diff --git a/gdb/config/s390/xm-linux.h b/gdb/config/s390/xm-linux.h
index 5c5955c..d059d40 100644
--- a/gdb/config/s390/xm-linux.h
+++ b/gdb/config/s390/xm-linux.h
@@ -23,9 +23,6 @@
#ifndef XM_LINUX_H
#define XM_LINUX_H
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
#define KERNEL_U_ADDR 0x0
diff --git a/gdb/config/sparc/xm-sparc.h b/gdb/config/sparc/xm-sparc.h
index 28f806f..e69de29 100644
--- a/gdb/config/sparc/xm-sparc.h
+++ b/gdb/config/sparc/xm-sparc.h
@@ -1,23 +0,0 @@
-/* Host definitions for a Sun 4, for GDB, the GNU debugger.
- Copyright 1986, 1987, 1989, 1991, 1992, 1996
- Free Software Foundation, Inc.
- Contributed by Michael Tiemann (tiemann@mcc.com).
-
- This file is part of GDB.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- 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., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#define HOST_BYTE_ORDER BIG_ENDIAN
diff --git a/gdb/config/sparc/xm-sparclynx.h b/gdb/config/sparc/xm-sparclynx.h
index 7777bc7..aeed5b0 100644
--- a/gdb/config/sparc/xm-sparclynx.h
+++ b/gdb/config/sparc/xm-sparclynx.h
@@ -18,8 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* Get generic LynxOS host definitions. */
#include "xm-lynx.h"
diff --git a/gdb/config/vax/xm-vax.h b/gdb/config/vax/xm-vax.h
index 3512d5b..9924f26 100644
--- a/gdb/config/vax/xm-vax.h
+++ b/gdb/config/vax/xm-vax.h
@@ -18,8 +18,6 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-
/* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */
diff --git a/gdb/config/xm-aix4.h b/gdb/config/xm-aix4.h
index dc0aae7..bea086a 100644
--- a/gdb/config/xm-aix4.h
+++ b/gdb/config/xm-aix4.h
@@ -35,10 +35,6 @@
#include <sys/select.h>
-/* Big end is at the low address */
-
-#define HOST_BYTE_ORDER BIG_ENDIAN
-
/* At least as of AIX 3.2, we have termios. */
#define HAVE_TERMIOS 1
/* #define HAVE_TERMIO 1 */
diff --git a/gdb/config/xm-nbsd.h b/gdb/config/xm-nbsd.h
index 9a1f94a..c8d00f6 100644
--- a/gdb/config/xm-nbsd.h
+++ b/gdb/config/xm-nbsd.h
@@ -22,12 +22,5 @@
define on some systems. */
#include <sys/param.h>
-#include <machine/endian.h>
-#if BYTE_ORDER == BIG_ENDIAN
-#define HOST_BYTE_ORDER BIG_ENDIAN
-#else
-#define HOST_BYTE_ORDER LITTLE_ENDIAN
-#endif
-
/* NetBSD has termios facilities. */
#define HAVE_TERMIOS