diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:54:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:54:40 +0000 |
commit | 24e0595198db53c091cee0757a231d7639f72b73 (patch) | |
tree | 9c3c00d34b045591346142fd95ccc06d1bd43dd9 /gdb/mips-tdep.c | |
parent | 613e114ff9d8c0f2bbe5177ef94f702123bb8885 (diff) | |
download | gdb-24e0595198db53c091cee0757a231d7639f72b73.zip gdb-24e0595198db53c091cee0757a231d7639f72b73.tar.gz gdb-24e0595198db53c091cee0757a231d7639f72b73.tar.bz2 |
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (PS_REGNUM): Delete.
* mips-tdep.h (MIPS_PS_REGNUM): Add.
* remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update.
* mips-linux-nat.c: Update.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index b27bc20..fb84d2f 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -60,7 +60,7 @@ static const struct objfile_data *mips_pdr_data; static struct type *mips_register_type (struct gdbarch *gdbarch, int regnum); -/* A useful bit in the CP0 status register (PS_REGNUM). */ +/* A useful bit in the CP0 status register (MIPS_PS_REGNUM). */ /* This bit is set if we are emulating 32-bit FPRs on a 64-bit chip. */ #define ST0_FR (1 << 26) @@ -386,7 +386,7 @@ mips2_fp_compat (void) /* Otherwise check the FR bit in the status register - it controls the FP compatiblity mode. If it is clear we are in compatibility mode. */ - if ((read_register (PS_REGNUM) & ST0_FR) == 0) + if ((read_register (MIPS_PS_REGNUM) & ST0_FR) == 0) return 1; #endif @@ -5313,7 +5313,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file) fprintf_unfiltered (file, "mips_dump_tdep: PROC_REG_MASK = function?\n"); fprintf_unfiltered (file, "mips_dump_tdep: PROC_REG_OFFSET = function?\n"); fprintf_unfiltered (file, "mips_dump_tdep: PROC_SYMBOL = function?\n"); - fprintf_unfiltered (file, "mips_dump_tdep: PS_REGNUM = %d\n", PS_REGNUM); #ifdef SAVED_BYTES fprintf_unfiltered (file, "mips_dump_tdep: SAVED_BYTES = %d\n", SAVED_BYTES); |