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/x86-64-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/x86-64-tdep.c')
-rw-r--r-- | gdb/x86-64-tdep.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index dcf5ffd..b27bc0d 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -95,14 +95,6 @@ x86_64_register_virtual_type (int regno) return builtin_type_long; } -/* Number of bytes of storage in the program's representation - for register REGNO. */ -int -x86_64_register_virtual_size (int regno) -{ - return (TYPE_LENGTH (x86_64_register_virtual_type (regno))); -} - /* x86_64_register_convertible is true if register N's virtual format is different from its raw format. Note that this definition assumes that the host supports IEEE 32-bit floats, since it doesn't say @@ -859,7 +851,7 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) (SIZEOF_GREGS + SIZEOF_FPU_REGS + SIZEOF_FPU_CTRL_REGS + SIZEOF_SSE_REGS) */ set_gdbarch_register_bytes (gdbarch, (18 * 8) + (8 * 10) + (8 * 4) + (8 * 16 + 4)); - set_gdbarch_register_virtual_size (gdbarch, x86_64_register_virtual_size); + set_gdbarch_register_virtual_size (gdbarch, generic_register_virtual_size); set_gdbarch_max_register_virtual_size (gdbarch, 16); set_gdbarch_register_virtual_type (gdbarch, x86_64_register_virtual_type); |