diff options
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index d0ec773..05dad8a 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,7 @@ +2003-09-17 Andrew Cagney <cagney@redhat.com> + + * mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE. + 2003-09-10 Elena Zannoni <ezannoni@redhat.com> * mi-main.c (mi_setup_architecture_data): Don't use diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index f6fc36e..a4d0ab2 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -405,13 +405,13 @@ register_changed_p (int regnum) if (! frame_register_read (deprecated_selected_frame, regnum, raw_buffer)) return -1; - if (memcmp (&old_regs[REGISTER_BYTE (regnum)], raw_buffer, + if (memcmp (&old_regs[DEPRECATED_REGISTER_BYTE (regnum)], raw_buffer, REGISTER_RAW_SIZE (regnum)) == 0) return 0; /* Found a changed register. Return 1. */ - memcpy (&old_regs[REGISTER_BYTE (regnum)], raw_buffer, + memcpy (&old_regs[DEPRECATED_REGISTER_BYTE (regnum)], raw_buffer, REGISTER_RAW_SIZE (regnum)); return 1; @@ -642,7 +642,7 @@ mi_cmd_data_write_register_values (char *command, char **argv, int argc) old_chain = make_cleanup (xfree, buffer); store_signed_integer (buffer, DEPRECATED_REGISTER_SIZE, value); /* Write it down */ - deprecated_write_register_bytes (REGISTER_BYTE (regnum), buffer, REGISTER_RAW_SIZE (regnum)); + deprecated_write_register_bytes (DEPRECATED_REGISTER_BYTE (regnum), buffer, REGISTER_RAW_SIZE (regnum)); /* Free the buffer. */ do_cleanups (old_chain); } |