aboutsummaryrefslogtreecommitdiff
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
commitd7449b42d3ecdf244e2ba02be9aa58b503524272 (patch)
tree6be786acd69b5b5d51e1e02ea6e97cde8592824f /gdb/defs.h
parentca4976a6949dd6f5276cd48ae593ae862a2ec684 (diff)
downloadfsf-binutils-gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.zip
fsf-binutils-gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.gz
fsf-binutils-gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.bz2
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 e573854..3e75100 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. */