summaryrefslogtreecommitdiffstats
path: root/gdb/cris-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-02 20:59:47 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-02 20:59:47 +0000
commitc1d546cdb7f1989ee591bb068a20ec35fdcf01db (patch)
treefb6d56a7e6cb254a34795fc8e4dfd44518caca2e /gdb/cris-tdep.c
parent93fd0973234917b8d04d3bd750da643382591b55 (diff)
downloadppe42-binutils-c1d546cdb7f1989ee591bb068a20ec35fdcf01db.tar.gz
ppe42-binutils-c1d546cdb7f1989ee591bb068a20ec35fdcf01db.zip
2004-08-02 Andrew Cagney <cagney@gnu.org>
* cris-tdep.c (cris_register_type): Replace cris_register_virtual_type. (cris_gdbarch_init): Update, set register_type.
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r--gdb/cris-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index b9eb855cc4..329e18566e 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -1211,7 +1211,7 @@ cris_register_offset (int regno)
of data in register regno. */
static struct type *
-cris_register_virtual_type (int regno)
+cris_register_type (struct gdbarch *gdbarch, int regno)
{
if (regno == SP_REGNUM || regno == PC_REGNUM
|| (regno > P8_REGNUM && regno < USP_REGNUM))
@@ -3862,7 +3862,7 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* The length of the registers in the program's representation. */
set_gdbarch_deprecated_register_virtual_size (gdbarch, cris_register_size);
- set_gdbarch_deprecated_register_virtual_type (gdbarch, cris_register_virtual_type);
+ set_gdbarch_register_type (gdbarch, cris_register_type);
/* Dummy frame functions. */
set_gdbarch_push_dummy_code (gdbarch, cris_push_dummy_code);
OpenPOWER on IntegriCloud