diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-05 04:30:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-05 04:30:46 +0000 |
commit | d7449b42d3ecdf244e2ba02be9aa58b503524272 (patch) | |
tree | 6be786acd69b5b5d51e1e02ea6e97cde8592824f /gdb/infcmd.c | |
parent | ca4976a6949dd6f5276cd48ae593ae862a2ec684 (diff) | |
download | gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.zip gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.gz gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.bz2 |
s/BIG_ENDIAN/BFD_ENDIAN_BIG/
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index f05da5a..c0b2aea 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1651,7 +1651,7 @@ 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]); } |