diff options
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; |