diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-12-10 23:07:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-12-10 23:07:24 +0000 |
commit | d70a61e74c649e3b3d64b821f5f5415e45febaf4 (patch) | |
tree | b07faa38ea128606f29277767e5bc616ad727b10 /gdb/hppah-nat.c | |
parent | 986b3b988a0d2418ced8f7d75158624673481b83 (diff) | |
download | gdb-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.c | 4 |
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; } |