aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-20 19:26:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-20 19:26:50 +0000
commit3fd3d7d29c5ea6ba2dff07fe353bac80fefce363 (patch)
tree1814112048b5c78deafd7c8ca1d911c3bc0ec7c3 /gdb/gdbarch.h
parent3e36a0f45e5df8f57422bcbe41b0d0a241b4159b (diff)
downloadfsf-binutils-gdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.zip
fsf-binutils-gdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.tar.gz
fsf-binutils-gdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.tar.bz2
Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 1c09fac..d3b6170 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -2392,33 +2392,7 @@ extern void register_gdbarch_swap (void *data, unsigned long size, gdbarch_swap_
/* The target-system-dependent byte order is dynamic */
-/* TARGET_BYTE_ORDER_SELECTABLE_P determines if the target endianness
- is selectable at runtime. The user can use the ``set endian''
- command to change it. TARGET_BYTE_ORDER_AUTO is nonzero when
- target_byte_order should be auto-detected (from the program image
- say). */
-
-#if GDB_MULTI_ARCH
-/* Multi-arch GDB is always bi-endian. */
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-#endif
-
-#ifndef TARGET_BYTE_ORDER_SELECTABLE_P
-/* compat - Catch old targets that define TARGET_BYTE_ORDER_SLECTABLE
- when they should have defined TARGET_BYTE_ORDER_SELECTABLE_P 1 */
-#ifdef TARGET_BYTE_ORDER_SELECTABLE
-#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-#else
-#define TARGET_BYTE_ORDER_SELECTABLE_P 0
-#endif
-#endif
-
extern int target_byte_order;
-#ifdef TARGET_BYTE_ORDER_SELECTABLE
-/* compat - Catch old targets that define TARGET_BYTE_ORDER_SELECTABLE
- and expect defs.h to re-define TARGET_BYTE_ORDER. */
-#undef TARGET_BYTE_ORDER
-#endif
#ifndef TARGET_BYTE_ORDER
#define TARGET_BYTE_ORDER (target_byte_order + 0)
#endif