aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 23:22:54 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 23:22:54 +0000
commita5c9623c796382b375009cd76aa354811bd0210d (patch)
treed14d3719f6f60742fe3ea72fc534c72fa359e0dc /gdb/mips-tdep.c
parent607fc93c5df0e62dc803b98bee71e464557aa07a (diff)
downloadgdb-a5c9623c796382b375009cd76aa354811bd0210d.zip
gdb-a5c9623c796382b375009cd76aa354811bd0210d.tar.gz
gdb-a5c9623c796382b375009cd76aa354811bd0210d.tar.bz2
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (MIPS_PRID_REGNUM): Add. * config/mips/tm-mips.h (PRID_REGNUM): Delete. * mips-tdep.c: Update.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 5885d81..fca6882 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -4320,7 +4320,7 @@ deprecated_mips_set_processor_regs_hack (void)
struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
CORE_ADDR prid;
- prid = read_register (PRID_REGNUM);
+ prid = read_register (MIPS_PRID_REGNUM);
if ((prid & ~0xf) == 0x700)
tdep->mips_processor_reg_names = mips_r3041_reg_names;
@@ -5293,8 +5293,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
"mips_dump_tdep: mips_abi_regsize() = %d\n",
mips_abi_regsize (current_gdbarch));
fprintf_unfiltered (file,
- "mips_dump_tdep: PRID_REGNUM = %d\n", PRID_REGNUM);
- fprintf_unfiltered (file,
"mips_dump_tdep: PROC_FRAME_ADJUST = function?\n");
fprintf_unfiltered (file,
"mips_dump_tdep: PROC_FRAME_OFFSET = function?\n");