diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-12-15 16:53:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-12-15 16:53:24 +0000 |
commit | 778eb05eacb13ba46d6b60d9157fcc32db8433a2 (patch) | |
tree | 2b66c1e99b806a1f85109d0c20fee47368448f96 /gdb/gdbarch.c | |
parent | 5b6a02bcf409bfba5fafa2e71d2296e2429de038 (diff) | |
download | gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.zip gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.tar.gz gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.tar.bz2 |
LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 64cecba..72737e7 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -341,6 +341,7 @@ struct gdbarch startup_gdbarch = 0, 0, 0, + 0, generic_get_saved_register, 0, 0, @@ -4725,7 +4726,7 @@ gdbarch_update_p (struct gdbarch_info info) if (info.byte_order == 0 && info.abfd != NULL) info.byte_order = (bfd_big_endian (info.abfd) ? BIG_ENDIAN - : bfd_little_endian (info.abfd) ? LITTLE_ENDIAN + : bfd_little_endian (info.abfd) ? BFD_ENDIAN_LITTLE : 0); /* From the current target. */ if (info.byte_order == 0) @@ -4745,7 +4746,7 @@ gdbarch_update_p (struct gdbarch_info info) "gdbarch_update: info.byte_order %d (%s)\n", info.byte_order, (info.byte_order == BIG_ENDIAN ? "big" - : info.byte_order == LITTLE_ENDIAN ? "little" + : info.byte_order == BFD_ENDIAN_LITTLE ? "little" : "default")); fprintf_unfiltered (gdb_stdlog, "gdbarch_update: info.abfd 0x%lx\n", |