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 | d5b5ac791495780b5aa110bc1ace4e0d3bbc3009 (patch) | |
tree | faf131638945ab9d872b6d5db6d112670cdf7c52 /gdb/mi | |
parent | c6316faa9b49fee02a9b3ae0004e406e453129d8 (diff) | |
download | gdb-d5b5ac791495780b5aa110bc1ace4e0d3bbc3009.zip gdb-d5b5ac791495780b5aa110bc1ace4e0d3bbc3009.tar.gz gdb-d5b5ac791495780b5aa110bc1ace4e0d3bbc3009.tar.bz2 |
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')
-rw-r--r-- | gdb/mi/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 05dad8a..2fd239a 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,7 @@ +2003-09-20 Andrew Cagney <cagney@redhat.com> + + * mi-main.c (get_register): + 2003-09-17 Andrew Cagney <cagney@redhat.com> * mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE. diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index a4d0ab2..590da42 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; |