* arch-utils.h (generic_register_size): Declare.
authorAndrew Cagney <cagney@redhat.com>
Sun, 12 May 2002 02:16:05 +0000 (02:16 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 12 May 2002 02:16:05 +0000 (02:16 +0000)
commitb2e75d78994bf7899fdb51387a9d95950f09ad9a
tree19239430a42fa2a92397b09ccfe7837e82dbf558
parent451fbdda72c96478a54f21d5c8a3f14286a4084d
* arch-utils.h (generic_register_size): Declare.
(generic_register_raw_size, generic_register_virtual_size): Delete
declarations.
* arch-utils.c (generic_register_raw_size): Delete.
(generic_register_size): New function.
(generic_register_virtual_size): Delete.

* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make
default generic_register_size.
* gdbarch.h, gdbarch.c: Re-generate.

* d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for
register_virtual_size.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.

* gdbint.texinfo (Target Architecture Definition): Mention
defaults for REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE.
(Target Architecture Definition): Mention same.  Add references to
web pages.
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/d10v-tdep.c
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/rs6000-tdep.c
gdb/x86-64-tdep.c