diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-02 20:59:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-02 20:59:47 +0000 |
commit | 63e72938c960e59cb7313b8f0f845e6ec15a9a10 (patch) | |
tree | b73bfc994959f496ce77a9b6fc17acb2c95e1340 /gdb | |
parent | cde8f077c3675909a43c97435d5b9b477822771d (diff) | |
download | gdb-63e72938c960e59cb7313b8f0f845e6ec15a9a10.tar.gz |
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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/cris-tdep.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3a19835babe..16f61b7a95a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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. + * gdbarch.sh (deprecated_frameless_function_invocation): Delete. * gdbarch.h, gdbarch.c: Re-generate. * arm-tdep.c (arm_frameless_function_invocation): Delete. diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index b9eb855cc4b..329e18566ea 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); |