diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-15 22:09:07 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-15 22:09:07 +0000 |
commit | 4246e332ce0f989e7c0dd9288e3fd4058ba36353 (patch) | |
tree | eb077a70a63fadb96e39f69ef10f759eb96405ab /gdb/mipsnbsd-tdep.h | |
parent | 5e044b1e88d064eca5f38449055c2f8bed1c1810 (diff) | |
download | gdb-4246e332ce0f989e7c0dd9288e3fd4058ba36353.zip gdb-4246e332ce0f989e7c0dd9288e3fd4058ba36353.tar.gz gdb-4246e332ce0f989e7c0dd9288e3fd4058ba36353.tar.bz2 |
2003-11-15 Andrew Cagney <cagney@redhat.com>
Replace MIPS_REGSIZE with mips_regsize.
* mips-tdep.c (mips_regsize): New function.
* mips-tdep.h (mips_regsize): Declare.
* mipsnbsd-tdep.h (SIZEOF_STRUCT_FPREG): Update.
(SIZEOF_STRUCT_REG): Update.
* mipsnbsd-tdep.c (mipsnbsd_supply_reg): Update.
(mipsnbsd_fill_reg): Update.
(mipsnbsd_supply_fpreg): Update.
(mipsnbsd_fill_fpreg): Update.
(NBSD_MIPS_JB_ELEMENT_SIZE): Update.
* mips-tdep.c (mips_register_raw_size): Update.
(mips_register_type): Update.
(SIGFRAME_BASE): Update.
(SIGFRAME_PC_OFF): Update.
(SIGFRAME_REGSAVE_OFF): Update.
(SIGFRAME_FPREGSAVE_OFF): Update.
(SIGFRAME_REG_SIZE): Update.
(mips32_heuristic_proc_desc): Update.
(print_gp_register_row): Update.
(mips_dump_tdep): Do not print MIPS_REGSIZE.
* irix5-nat.c (supply_gregset): Update.
(fetch_core_registers): Update.
* config/mips/tm-mips64.h (MIPS_REGSIZE): Delete macro.
* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Update.
* config/mips/tm-mips.h (MIPS_REGSIZE): Delete macro.
(MIPS_REGISTER_BYTE): Update.
* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Update.
Diffstat (limited to 'gdb/mipsnbsd-tdep.h')
-rw-r--r-- | gdb/mipsnbsd-tdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mipsnbsd-tdep.h b/gdb/mipsnbsd-tdep.h index 6e9f50e..0feca87 100644 --- a/gdb/mipsnbsd-tdep.h +++ b/gdb/mipsnbsd-tdep.h @@ -27,7 +27,7 @@ void mipsnbsd_fill_reg (char *, int); void mipsnbsd_supply_fpreg (char *, int); void mipsnbsd_fill_fpreg (char *, int); -#define SIZEOF_STRUCT_REG (38 * MIPS_REGSIZE) -#define SIZEOF_STRUCT_FPREG (33 * MIPS_REGSIZE) +#define SIZEOF_STRUCT_REG (38 * mips_regsize (current_gdbarch)) +#define SIZEOF_STRUCT_FPREG (33 * mips_regsize (current_gdbarch)) #endif /* MIPSNBSD_TDEP_H */ |