diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-06 04:50:56 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-06 04:50:56 +0000 |
commit | a9011d31b6c7eb8d3c4f80103e360c4d3a288d86 (patch) | |
tree | 66cad222ac6af9c87f405b1e1719ef0b32e3ac31 /gdb/rs6000-tdep.c | |
parent | 79e10fabfc2aa896c3ae4705962a6a86adaebb0f (diff) | |
download | gdb-a9011d31b6c7eb8d3c4f80103e360c4d3a288d86.zip gdb-a9011d31b6c7eb8d3c4f80103e360c4d3a288d86.tar.gz gdb-a9011d31b6c7eb8d3c4f80103e360c4d3a288d86.tar.bz2 |
last? remaining BIG_ENDIAN switch
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index d8c4de6..147524d 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -1774,7 +1774,7 @@ rs6000_do_registers_info (int regnum, int fpregs) printf_filtered ("\t(raw 0x"); for (j = 0; j < REGISTER_RAW_SIZE (i); j++) { - register int idx = TARGET_BYTE_ORDER == BIG_ENDIAN ? j + register int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j : REGISTER_RAW_SIZE (i) - 1 - j; printf_filtered ("%02x", (unsigned char) raw_buffer[idx]); } |