aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 1f7ba6e..e53c521 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -270,7 +270,7 @@ struct gdbarch startup_gdbarch =
{
/* basic architecture information */
&bfd_default_arch_struct,
- BIG_ENDIAN,
+ BFD_ENDIAN_BIG,
/* target specific vector and its dump routine */
NULL, NULL,
/*per-architecture data-pointers and swap regions */
@@ -4755,7 +4755,7 @@ gdbarch_update_p (struct gdbarch_info info)
/* From the INFO struct. */
if (info.byte_order == BFD_ENDIAN_UNKNOWN
&& info.abfd != NULL)
- info.byte_order = (bfd_big_endian (info.abfd) ? BIG_ENDIAN
+ info.byte_order = (bfd_big_endian (info.abfd) ? BFD_ENDIAN_BIG
: bfd_little_endian (info.abfd) ? BFD_ENDIAN_LITTLE
: BFD_ENDIAN_UNKNOWN);
/* From the current target. */
@@ -4775,7 +4775,7 @@ gdbarch_update_p (struct gdbarch_info info)
fprintf_unfiltered (gdb_stdlog,
"gdbarch_update: info.byte_order %d (%s)\n",
info.byte_order,
- (info.byte_order == BIG_ENDIAN ? "big"
+ (info.byte_order == BFD_ENDIAN_BIG ? "big"
: info.byte_order == BFD_ENDIAN_LITTLE ? "little"
: "default"));
fprintf_unfiltered (gdb_stdlog,