diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-08-16 01:23:17 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-08-16 01:23:17 +0000 |
commit | d05285fac91883ea92579fcb9075bedbea18c272 (patch) | |
tree | bb4d34a255d33b280a961a465086e44e831fb7ca /gdb/config/mips | |
parent | f21f824289798324355d9f6521a93b598bf883a9 (diff) | |
download | gdb-d05285fac91883ea92579fcb9075bedbea18c272.zip gdb-d05285fac91883ea92579fcb9075bedbea18c272.tar.gz gdb-d05285fac91883ea92579fcb9075bedbea18c272.tar.bz2 |
2002-08-15 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE,
MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete.
* mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch.
(mips_register_convertible, mips_register_convert_to_virtual,
mips_register_convert_to_raw): Make static.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 5002072..7e667b7 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -161,39 +161,11 @@ extern void mips_do_registers_info (int, int); #define REGISTER_BYTE(N) ((N) * MIPS_REGSIZE) -/* Covert between the RAW and VIRTUAL registers. - - Some MIPS (SR, FSR, FIR) have a `raw' size of MIPS_REGSIZE but are - really 32 bit registers. This is a legacy of the 64 bit MIPS GDB - protocol which transfers 64 bits for 32 bit registers. */ - -extern int mips_register_convertible (int reg_nr); -#define REGISTER_CONVERTIBLE(N) (mips_register_convertible ((N))) - - -void mips_register_convert_to_virtual (int reg_nr, struct type *virtual_type, - char *raw_buf, char *virt_buf); -#define REGISTER_CONVERT_TO_VIRTUAL(N,VIRTUAL_TYPE,RAW_BUF,VIRT_BUF) \ - mips_register_convert_to_virtual (N,VIRTUAL_TYPE,RAW_BUF,VIRT_BUF) - -void mips_register_convert_to_raw (struct type *virtual_type, int reg_nr, - char *virt_buf, char *raw_buf); -#define REGISTER_CONVERT_TO_RAW(VIRTUAL_TYPE,N,VIRT_BUF,RAW_BUF) \ - mips_register_convert_to_raw (VIRTUAL_TYPE,N,VIRT_BUF,RAW_BUF) - /* Number of bytes of storage in the program's representation for register N. */ #define REGISTER_VIRTUAL_SIZE(N) TYPE_LENGTH (REGISTER_VIRTUAL_TYPE (N)) -/* Largest value REGISTER_RAW_SIZE can have. */ - -#define MAX_REGISTER_RAW_SIZE 8 - -/* Largest value REGISTER_VIRTUAL_SIZE can have. */ - -#define MAX_REGISTER_VIRTUAL_SIZE 8 - /* Return the GDB type object for the "standard" data type of data in register N. */ |