forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -175,14 +175,6 @@ extern void mips_do_registers_info (int, int);
|
||||
|
||||
#define REGISTER_BYTE(N) ((N) * MIPS_REGSIZE)
|
||||
|
||||
/* Number of bytes of storage in the actual machine representation for
|
||||
register N. NOTE: This indirectly defines the register size
|
||||
transfered by the GDB protocol. */
|
||||
|
||||
extern int mips_register_raw_size (int reg_nr);
|
||||
#define REGISTER_RAW_SIZE(N) (mips_register_raw_size ((N)))
|
||||
|
||||
|
||||
/* Covert between the RAW and VIRTUAL registers.
|
||||
|
||||
Some MIPS (SR, FSR, FIR) have a `raw' size of MIPS_REGSIZE but are
|
||||
|
||||
Reference in New Issue
Block a user