diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-20 17:50:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-20 17:50:28 +0000 |
commit | 7ebbec0d999a4cb4dc6bef9c8aae5d0c6d05a22f (patch) | |
tree | eceda8a6904054c89bea3e78c3bea1cea6b0eccd /gdb/mi/mi-main.c | |
parent | 0ea5b2a8442725e1b552d582586dbae8489d513e (diff) | |
download | gdb-7ebbec0d999a4cb4dc6bef9c8aae5d0c6d05a22f.tar.gz |
2003-09-20 Andrew Cagney <cagney@redhat.com>
* cli/cli-script.c: Remove "register" attributes.
* config/pa/tm-hppa.h: Ditto.
* cli/cli-decode.c: Ditto.
* cli/cli-cmds.c: Ditto.
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r-- | gdb/mi/mi-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index a4d0ab23e2a..590da42f2d9 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -555,7 +555,7 @@ get_register (int regnum, int format) ptr = buf + 2; for (j = 0; j < REGISTER_RAW_SIZE (regnum); j++) { - register int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j + int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j : REGISTER_RAW_SIZE (regnum) - 1 - j; sprintf (ptr, "%02x", (unsigned char) raw_buffer[idx]); ptr += 2; |