aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-20 17:50:28 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-20 17:50:28 +0000
commitd5b5ac791495780b5aa110bc1ace4e0d3bbc3009 (patch)
treefaf131638945ab9d872b6d5db6d112670cdf7c52 /gdb/mi
parentc6316faa9b49fee02a9b3ae0004e406e453129d8 (diff)
downloadgdb-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/ChangeLog4
-rw-r--r--gdb/mi/mi-main.c2
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;