summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-29 04:42:45 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-29 04:42:45 +0000
commitaeda2b4a6169a4ee0f9191acf80fc3033ad3d820 (patch)
treea6ca27d14eb5c1a1c79a4c88bdedd9f24b403204 /gdb
parent620dec1ff6b091bf677925ad555b1303053f923e (diff)
downloadgdb-aeda2b4a6169a4ee0f9191acf80fc3033ad3d820.tar.gz
Eliminate TARGET_BYTE_ORDER.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog23
-rw-r--r--gdb/config/alpha/tm-alpha.h4
-rw-r--r--gdb/config/d30v/tm-d30v.h4
-rw-r--r--gdb/config/fr30/tm-fr30.h2
-rw-r--r--gdb/config/h8300/tm-h8300.h2
-rw-r--r--gdb/config/h8500/tm-h8500.h4
-rw-r--r--gdb/config/i386/tm-i386.h2
-rw-r--r--gdb/config/i960/tm-i960.h3
-rw-r--r--gdb/config/ia64/tm-ia64.h4
-rw-r--r--gdb/config/m32r/tm-m32r.h3
-rw-r--r--gdb/config/m68k/tm-m68k.h3
-rw-r--r--gdb/config/m88k/tm-m88k.h3
-rw-r--r--gdb/config/mips/tm-wince.h1
-rw-r--r--gdb/config/mn10200/tm-mn10200.h3
-rw-r--r--gdb/config/ns32k/tm-umax.h4
-rw-r--r--gdb/config/pa/tm-hppa.h4
-rw-r--r--gdb/config/sh/tm-wince.h1
-rw-r--r--gdb/config/sparc/tm-sparc.h2
-rw-r--r--gdb/config/v850/tm-v850.h2
-rw-r--r--gdb/config/vax/tm-vax.h2
-rw-r--r--gdb/config/z8k/tm-z8k.h3
21 files changed, 23 insertions, 56 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2a950c91e90..db9bf3e8c6f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,28 @@
2002-01-28 Andrew Cagney <ac131313@redhat.com>
+ * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
+ * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
+ * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
+ * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
+ * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
+ * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
+ * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
+ * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
+ * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
+ * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
+ * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
+ * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
+ * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
+ * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
+ * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
+ * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
+ * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
+ * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
+ * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
+ * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
+
+2002-01-28 Andrew Cagney <ac131313@redhat.com>
+
* arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h
index a50835419a7..82e964f506b 100644
--- a/gdb/config/alpha/tm-alpha.h
+++ b/gdb/config/alpha/tm-alpha.h
@@ -33,10 +33,6 @@ struct type;
struct value;
struct symbol;
-#if !defined (TARGET_BYTE_ORDER)
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-#endif
-
/* Redefine some target bit sizes from the default. */
#define TARGET_LONG_BIT 64
diff --git a/gdb/config/d30v/tm-d30v.h b/gdb/config/d30v/tm-d30v.h
index 317b80da4bf..7a14e39132c 100644
--- a/gdb/config/d30v/tm-d30v.h
+++ b/gdb/config/d30v/tm-d30v.h
@@ -23,10 +23,6 @@
#include "regcache.h"
-/* Define the bit, byte, and word ordering of the machine. */
-
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
/* Offset from address of function to start of its code.
Zero on most machines. */
diff --git a/gdb/config/fr30/tm-fr30.h b/gdb/config/fr30/tm-fr30.h
index 4d550927f00..22ddd046a8e 100644
--- a/gdb/config/fr30/tm-fr30.h
+++ b/gdb/config/fr30/tm-fr30.h
@@ -52,8 +52,6 @@
#define INNER_THAN(lhs,rhs) ((lhs) < (rhs))
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
#define R0_REGNUM 0
#define R1_REGNUM 1
#define R2_REGNUM 2
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h
index 79f52dc0ef3..d43c80914ab 100644
--- a/gdb/config/h8300/tm-h8300.h
+++ b/gdb/config/h8300/tm-h8300.h
@@ -58,8 +58,6 @@ extern int h8300smode;
extern void h8300_init_extra_frame_info ();
-/* Define the bit, byte, and word ordering of the machine. */
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
#undef TARGET_INT_BIT
#define TARGET_INT_BIT 16
#undef TARGET_LONG_BIT
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h
index 2beec078c20..f32616500d8 100644
--- a/gdb/config/h8500/tm-h8500.h
+++ b/gdb/config/h8500/tm-h8500.h
@@ -25,10 +25,6 @@
#define GDB_TARGET_IS_H8500
-/* Define the bit, byte, and word ordering of the machine. */
-
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
/* Define the sizes of integers and pointers. */
#define TARGET_INT_BIT 16
diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h
index 9888ca488fa..f9326fecb9a 100644
--- a/gdb/config/i386/tm-i386.h
+++ b/gdb/config/i386/tm-i386.h
@@ -32,8 +32,6 @@ struct frame_saved_regs;
struct value;
struct type;
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-
/* The format used for `long double' on almost all i386 targets is the
i387 extended floating-point format. In fact, of all targets in the
GCC 2.95 tree, only OSF/1 does it different, and insists on having
diff --git a/gdb/config/i960/tm-i960.h b/gdb/config/i960/tm-i960.h
index da0766d2810..2b2488944b5 100644
--- a/gdb/config/i960/tm-i960.h
+++ b/gdb/config/i960/tm-i960.h
@@ -38,9 +38,6 @@
#define DBX_PARM_SYMBOL_CLASS(type) ((type == N_LSYM)? LOC_LOCAL_ARG: LOC_ARG)
-/* Byte order is configurable, but this machine runs little-endian. */
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-
/* Offset from address of function to start of its code.
Zero on most machines. */
diff --git a/gdb/config/ia64/tm-ia64.h b/gdb/config/ia64/tm-ia64.h
index 37e4d72a34e..d08e59bccd5 100644
--- a/gdb/config/ia64/tm-ia64.h
+++ b/gdb/config/ia64/tm-ia64.h
@@ -27,10 +27,6 @@
#else /* defines needed for GDBSERVER */
-/* ia64 is little endian by default */
-
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-
/* Say how long (ordinary) registers are. This is a piece of bogosity
used in push_word and a few other places; REGISTER_RAW_SIZE is the
real way to know how big a register is. */
diff --git a/gdb/config/m32r/tm-m32r.h b/gdb/config/m32r/tm-m32r.h
index c385f35e37b..75bc7b231a6 100644
--- a/gdb/config/m32r/tm-m32r.h
+++ b/gdb/config/m32r/tm-m32r.h
@@ -23,9 +23,6 @@
/* Used by mswin. */
#define TARGET_M32R 1
-/* mvs_check TARGET_BYTE_ORDER BFD_ENDIAN_BIG */
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
/* mvs_check REGISTER_NAMES */
#define REGISTER_NAMES \
{ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
diff --git a/gdb/config/m68k/tm-m68k.h b/gdb/config/m68k/tm-m68k.h
index 888089b03c2..5b23df0a0be 100644
--- a/gdb/config/m68k/tm-m68k.h
+++ b/gdb/config/m68k/tm-m68k.h
@@ -23,9 +23,6 @@
/* Generic 68000 stuff, to be included by other tm-*.h files. */
-/* Define the bit, byte, and word ordering of the machine. */
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
#define TARGET_LONG_DOUBLE_FORMAT &floatformat_m68881_ext
#define TARGET_LONG_DOUBLE_BIT 96
diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h
index 34762b9e0e5..4df0822465c 100644
--- a/gdb/config/m88k/tm-m88k.h
+++ b/gdb/config/m88k/tm-m88k.h
@@ -25,9 +25,6 @@
/* g++ support is not yet included. */
-/* Define the bit, byte, and word ordering of the machine. */
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
/* We cache information about saved registers in the frame structure,
to save us from having to re-scan function prologues every time
a register in a non-current frame is accessed. */
diff --git a/gdb/config/mips/tm-wince.h b/gdb/config/mips/tm-wince.h
index f96c4fabf9a..3ea179b56e6 100644
--- a/gdb/config/mips/tm-wince.h
+++ b/gdb/config/mips/tm-wince.h
@@ -29,6 +29,5 @@
#define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
void wince_software_single_step (unsigned int, int);
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
#endif /* TM_WINCE_H */
diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h
index 4d416c51921..66fb03748ef 100644
--- a/gdb/config/mn10200/tm-mn10200.h
+++ b/gdb/config/mn10200/tm-mn10200.h
@@ -25,9 +25,6 @@
macros into functions. */
#include "regcache.h"
-/* The mn10200 is little endian. */
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-
/* ints are only 16bits on the mn10200. */
#undef TARGET_INT_BIT
#define TARGET_INT_BIT 16
diff --git a/gdb/config/ns32k/tm-umax.h b/gdb/config/ns32k/tm-umax.h
index c09f53513d4..354349ee912 100644
--- a/gdb/config/ns32k/tm-umax.h
+++ b/gdb/config/ns32k/tm-umax.h
@@ -21,10 +21,6 @@
#include "regcache.h"
-/* This is also included by tm-ns32km3.h, as well as being used by umax. */
-
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-
/* Need to get function ends by adding this to epilogue address from .bf
record, not using x_fsize field. */
#define FUNCTION_EPILOGUE_SIZE 4
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h
index 14dc30425a1..36e57bd5dfe 100644
--- a/gdb/config/pa/tm-hppa.h
+++ b/gdb/config/pa/tm-hppa.h
@@ -32,10 +32,6 @@ struct value;
struct type;
struct inferior_status;
-/* Target system byte order. */
-
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
/* By default assume we don't have to worry about software floating point. */
#ifndef SOFT_FLOAT
#define SOFT_FLOAT 0
diff --git a/gdb/config/sh/tm-wince.h b/gdb/config/sh/tm-wince.h
index e939808c084..cbe570b16d0 100644
--- a/gdb/config/sh/tm-wince.h
+++ b/gdb/config/sh/tm-wince.h
@@ -28,6 +28,5 @@
#undef SOFTWARE_SINGLE_STEP
#define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
void wince_software_single_step (unsigned int, int);
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
#endif /* TM_WINCE_H */
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index 4885cd0926d..4db7ab70ee1 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -159,8 +159,6 @@ extern int sparc_intreg_size (void);
"y", "psr", "wim", "tbr", "pc", "npc", "fpsr", "cpsr" \
}
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
/* Offset from address of function to start of its code.
Zero on most machines. */
diff --git a/gdb/config/v850/tm-v850.h b/gdb/config/v850/tm-v850.h
index 69f8491ad2f..0636b9808b3 100644
--- a/gdb/config/v850/tm-v850.h
+++ b/gdb/config/v850/tm-v850.h
@@ -21,8 +21,6 @@
#include "regcache.h"
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-
#define NUM_REGS 66
#define REGISTER_NAMES \
diff --git a/gdb/config/vax/tm-vax.h b/gdb/config/vax/tm-vax.h
index 0fe507facff..bfa243cfff2 100644
--- a/gdb/config/vax/tm-vax.h
+++ b/gdb/config/vax/tm-vax.h
@@ -21,8 +21,6 @@
#include "regcache.h"
-#define TARGET_BYTE_ORDER BFD_ENDIAN_LITTLE
-
/* Offset from address of function to start of its code.
Zero on most machines. */
diff --git a/gdb/config/z8k/tm-z8k.h b/gdb/config/z8k/tm-z8k.h
index c0dbcd47bda..44058554627 100644
--- a/gdb/config/z8k/tm-z8k.h
+++ b/gdb/config/z8k/tm-z8k.h
@@ -29,9 +29,6 @@
#define TARGET_LONG_BIT 32
#define TARGET_PTR_BIT (BIG ? 32: 16)
-/* Define the bit, byte, and word ordering of the machine. */
-#define TARGET_BYTE_ORDER BFD_ENDIAN_BIG
-
/* Offset from address of function to start of its code.
Zero on most machines. */