* arch-utils.c (generic_register_raw_size): New function.
authorAndrew Cagney <cagney@redhat.com>
Mon, 10 Dec 2001 04:58:31 +0000 (04:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 10 Dec 2001 04:58:31 +0000 (04:58 +0000)
commit46cd78fb4637fcab17b78f8e4c8a6983960f404d
tree435be82ff1f9395e1f47d03ceddc32ff4b22b182
parent4611fbebb1aae54d5a58452781ee0a0f0d975265
* arch-utils.c (generic_register_raw_size): New function.
* gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as
the static default.
* gdbarch.c: Regenerate.
* arch-utils.h (generic_register_raw_size): Declare.

* config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro.
* mips-tdep.c (mips_register_raw_size): Make function static.
(mips_gdbarch_init): Initialize register_raw_size.
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/config/mips/tm-mips.h
gdb/gdbarch.c
gdb/gdbarch.sh
gdb/mips-tdep.c