summaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
commit883f871c3fbad1c6d74c594c07e569661288ccac (patch)
treed1b5cf7772ceedbe0307e1ed34dcdb8763869295 /gdb/defs.h
parent61994f77b766fca56d2e758f28a864a39453eaad (diff)
downloadgdb-883f871c3fbad1c6d74c594c07e569661288ccac.tar.gz
s/BIG_ENDIAN/BFD_ENDIAN_BIG/
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index e573854be24..3e75100a8ba 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1225,17 +1225,13 @@ extern void *alloca ();
#endif /* Not GNU C */
#endif /* alloca not defined */
-/* Get a definition of BIG_ENDIAN and BFD_ENDIAN_LITTLE. */
+/* 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
-#if !defined (BIG_ENDIAN)
-#define BIG_ENDIAN 4321
-#endif
-
/* Dynamic target-system-dependent parameters for GDB. */
#include "gdbarch.h"
#if (GDB_MULTI_ARCH == 0)
@@ -1269,7 +1265,7 @@ extern void *alloca ();
from byte/word byte order. */
#if !defined (BITS_BIG_ENDIAN)
-#define BITS_BIG_ENDIAN (TARGET_BYTE_ORDER == BIG_ENDIAN)
+#define BITS_BIG_ENDIAN (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
#endif
/* In findvar.c. */