aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-nat.c')
-rw-r--r--gdb/mips-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-nat.c b/gdb/mips-nat.c
index 1764676..9f57174 100644
--- a/gdb/mips-nat.c
+++ b/gdb/mips-nat.c
@@ -201,7 +201,7 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
}
if (bad_reg >= 0)
{
- error ("Register %s not found in core file.", reg_names[bad_reg]);
+ error ("Register %s not found in core file.", REGISTER_NAME (bad_reg));
}
supply_register (ZERO_REGNUM, zerobuf);
/* Frame ptr reg must appear to be 0; it is faked by stack handling code. */