diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-12-11 22:16:48 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-12-11 22:16:48 +0000 |
commit | 0e7c5946f355229e239d6804232534b713200bd2 (patch) | |
tree | 2d6a6ae4ac37ed3bdfe98b9a4f90afdf09eb1706 /gdb/d10v-tdep.c | |
parent | ce29138a6e7cdb10675c83bd0d16a2ee5078717a (diff) | |
download | gdb-0e7c5946f355229e239d6804232534b713200bd2.zip gdb-0e7c5946f355229e239d6804232534b713200bd2.tar.gz gdb-0e7c5946f355229e239d6804232534b713200bd2.tar.bz2 |
2001-12-11 Michael Snyder <msnyder@redhat.com>
* d10v-tdep.c (d10v_register_virtual_size): Delete.
(d10v_gdbarch_init): Use generic_register_virtual_size.
* rs6000-tdep.c (rs6000_register_virtual_size): Delete.
(rs6000_gdbarch_init): Use generic_register_virtual_size.
* x86-64-tdep.c (x86_64_register_virtual_size): Delete.
(i386_gdbarch_init): Use generic_register_virtual_size.
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r-- | gdb/d10v-tdep.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index fca2848..3002444 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -343,15 +343,6 @@ d10v_register_raw_size (int reg_nr) return 2; } -/* Number of bytes of storage in the program's representation - for register N. */ - -static int -d10v_register_virtual_size (int reg_nr) -{ - return TYPE_LENGTH (REGISTER_VIRTUAL_TYPE (reg_nr)); -} - /* Return the GDB type object for the "standard" data type of data in register N. */ @@ -1512,7 +1503,7 @@ d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_register_byte (gdbarch, d10v_register_byte); set_gdbarch_register_raw_size (gdbarch, d10v_register_raw_size); set_gdbarch_max_register_raw_size (gdbarch, 8); - set_gdbarch_register_virtual_size (gdbarch, d10v_register_virtual_size); + set_gdbarch_register_virtual_size (gdbarch, generic_register_virtual_size); set_gdbarch_max_register_virtual_size (gdbarch, 8); set_gdbarch_register_virtual_type (gdbarch, d10v_register_virtual_type); |