summaryrefslogtreecommitdiff
path: root/gdb/gdbtk
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-09-30 23:10:55 +0000
committerDavid Carlton <carlton@bactrian.org>2003-09-30 23:10:55 +0000
commitaada327626ff1c04adc1a797a61129cbf8823f80 (patch)
tree54a10a783d0ccfac2a75acaf32bfbac8a4e27ce2 /gdb/gdbtk
parentb3aa7ee199af8bd98aa8adf3177870fc09443a98 (diff)
downloadgdb-aada327626ff1c04adc1a797a61129cbf8823f80.tar.gz
2003-09-30 David Carlton <carlton@kealia.com>
* generic/gdbtk-register.c (get_register): Replace REGISTER_VIRTUAL_SIZE by DEPRECATED_REGISTER_VIRTUAL_SIZE.
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r--gdb/gdbtk/ChangeLog6
-rw-r--r--gdb/gdbtk/generic/gdbtk-register.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 309af136e23..392ddd267ea 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-30 David Carlton <carlton@kealia.com>
+
+ * generic/gdbtk-register.c (get_register): Replace
+ REGISTER_VIRTUAL_SIZE by
+ DEPRECATED_REGISTER_VIRTUAL_SIZE.
+
2003-09-08 Andrew Cagney <cagney@redhat.com>
* generic/gdbtk-cmds.c: Include "disasm.h".
diff --git a/gdb/gdbtk/generic/gdbtk-register.c b/gdb/gdbtk/generic/gdbtk-register.c
index 7a305656173..78e076a5fb5 100644
--- a/gdb/gdbtk/generic/gdbtk-register.c
+++ b/gdb/gdbtk/generic/gdbtk-register.c
@@ -307,7 +307,8 @@ get_register (int regnum, void *arg)
raw_buffer, virtual_buffer);
}
else
- memcpy (virtual_buffer, raw_buffer, REGISTER_VIRTUAL_SIZE (regnum));
+ memcpy (virtual_buffer, raw_buffer,
+ DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum));
stb = mem_fileopen ();
old_chain = make_cleanup_ui_file_delete (stb);