Delete REGISTER_NAME_ALIAS_HOOK.

This commit is contained in:
Andrew Cagney 2002-01-30 00:18:17 +00:00
parent d07daa9780
commit 977a303014
2 changed files with 5 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2002-01-29 Andrew Cagney <ac131313@redhat.com>
* parse.c (target_map_name_to_register): Delete code wrapped in
#ifdef REGISTER_NAME_ALIAS_HOOK.
2002-01-28 Michael Snyder <msnyder@redhat.com>
* regcache.c (legacy_read_register_gen): Need to be able to

View File

@ -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))