summaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-30 00:18:17 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-30 00:18:17 +0000
commitd741f0af3a959f3a8deaaad19af9f9872665082e (patch)
tree9f21d9add0f2e19f60b4296fc66c061811891596 /gdb/parse.c
parent17acea0bad6c85017bced59b6b2f238044f7c7a7 (diff)
downloadgdb-d741f0af3a959f3a8deaaad19af9f9872665082e.tar.gz
Delete REGISTER_NAME_ALIAS_HOOK.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 42fccc67924..75f93fe03c2 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -117,15 +117,6 @@ target_map_name_to_register (char *str, int len)
{
int i;
- /* First try target specific aliases. We try these first because on some
- systems standard names can be context dependent (eg. $pc on a
- multiprocessor can be could be any of several PCs). */
-#ifdef REGISTER_NAME_ALIAS_HOOK
- i = REGISTER_NAME_ALIAS_HOOK (str, len);
- if (i >= 0)
- return i;
-#endif
-
/* Search architectural register name space. */
for (i = 0; i < NUM_REGS; i++)
if (REGISTER_NAME (i) && len == strlen (REGISTER_NAME (i))