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/remote-os9k.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/remote-os9k.c')
-rw-r--r-- | gdb/remote-os9k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index 84a0f2b..acdc847 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -547,11 +547,11 @@ get_reg_name (regno) if (regno < 0) return (""); /* - for (p = reg_names[regno]; *p; p++) + for (p = REGISTER_NAME (regno); *p; p++) *b++ = toupper(*p); *b = '\000'; */ - p = (char *)reg_names[regno]; + p = (char *)REGISTER_NAME (regno); return p; /* return buf; |