aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-st.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r--gdb/remote-st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c
index 3fd8cf1..18afd16 100644
--- a/gdb/remote-st.c
+++ b/gdb/remote-st.c
@@ -424,7 +424,7 @@ get_reg_name (regno)
b = buf;
- for (p = reg_names[regno]; *p; p++)
+ for (p = REGISTER_NAME (regno); *p; p++)
*b++ = toupper(*p);
*b = '\000';