aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppah-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/hppah-nat.c
parent986b3b988a0d2418ced8f7d75158624673481b83 (diff)
downloadgdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.zip
gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.tar.gz
gdb-d70a61e74c649e3b3d64b821f5f5415e45febaf4.tar.bz2
CARP:
More replace reg_name[] with REGISTER_NAME().
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r--gdb/hppah-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c
index 19e0205..d9210d5 100644
--- a/gdb/hppah-nat.c
+++ b/gdb/hppah-nat.c
@@ -91,7 +91,7 @@ store_inferior_registers (regno)
char *err = safe_strerror (errno);
char *msg = alloca (strlen (err) + 128);
sprintf (msg, "writing register %s: %s",
- reg_names[regno], err);
+ REGISTER_NAME (regno), err);
warning (msg);
return;
}
@@ -131,7 +131,7 @@ fetch_register (regno)
kernel doesn't let us at the registers. */
char *err = safe_strerror (errno);
char *msg = alloca (strlen (err) + 128);
- sprintf (msg, "reading register %s: %s", reg_names[regno], err);
+ sprintf (msg, "reading register %s: %s", REGISTER_NAME (regno), err);
warning (msg);
goto error_exit;
}