diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-12-10 06:10:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-12-10 06:10:03 +0000 |
commit | 9ddf9aa9be045961f83eacd457a959acb32df2fe (patch) | |
tree | 622fbb718c5b6acfb5b6494bfa0eb88b587ac5d3 /gdb/parse.c | |
parent | d734c861b45c6b73dcf4c58bbc4d76fd03c1a2d9 (diff) | |
download | gdb-9ddf9aa9be045961f83eacd457a959acb32df2fe.zip gdb-9ddf9aa9be045961f83eacd457a959acb32df2fe.tar.gz gdb-9ddf9aa9be045961f83eacd457a959acb32df2fe.tar.bz2 |
CARP:
Rename REGISTER_NAMES{} -> REGISTER_NAME().
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 2d4a629..bd74ecd 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -129,8 +129,8 @@ target_map_name_to_register (str, len) /* Search architectural register name space. */ for (i = 0; i < NUM_REGS; i++) - if (reg_names[i] && len == strlen (reg_names[i]) - && STREQN (str, reg_names[i], len)) + if (REGISTER_NAME (i) && len == strlen (REGISTER_NAME (i)) + && STREQN (str, REGISTER_NAME (i), len)) { return i; } |