aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850ice.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/v850ice.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/v850ice.c')
-rwxr-xr-xgdb/v850ice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/v850ice.c b/gdb/v850ice.c
index 1e869ea..f69966b 100755
--- a/gdb/v850ice.c
+++ b/gdb/v850ice.c
@@ -509,11 +509,11 @@ convert_register (regno, buf)
{
if (regno <= 31)
sprintf (buf, "r%d", regno);
- else if (reg_names[regno][0] == 's'
- && reg_names[regno][1] == 'r')
+ else if (REGISTER_NAME (regno)[0] == 's'
+ && REGISTER_NAME (regno)[1] == 'r')
return 0;
else
- sprintf (buf, "%s", reg_names[regno]);
+ sprintf (buf, "%s", REGISTER_NAME (regno));
return 1;
}