summaryrefslogtreecommitdiff
path: root/gdb/mips-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-12-10 23:07:24 +0000
committerAndrew Cagney <cagney@redhat.com>1998-12-10 23:07:24 +0000
commitd70a61e74c649e3b3d64b821f5f5415e45febaf4 (patch)
treeb07faa38ea128606f29277767e5bc616ad727b10 /gdb/mips-nat.c
parent986b3b988a0d2418ced8f7d75158624673481b83 (diff)
CARP:
More replace reg_name[] with REGISTER_NAME().
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 1764676e01..9f5717475e 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. */