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/hppab-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/hppab-nat.c')
-rw-r--r-- | gdb/hppab-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppab-nat.c b/gdb/hppab-nat.c index 57360f3..52ce1fd 100644 --- a/gdb/hppab-nat.c +++ b/gdb/hppab-nat.c @@ -74,7 +74,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; } @@ -143,7 +143,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; } |