From: Andrew Cagney Date: Wed, 30 Jan 2002 00:18:17 +0000 (+0000) Subject: Delete REGISTER_NAME_ALIAS_HOOK. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=977a303014c295a6355d53c8f9bdf810081b0b7b;p=deliverable%2Fbinutils-gdb.git Delete REGISTER_NAME_ALIAS_HOOK. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index caf55ae99f..8870296697 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-01-29 Andrew Cagney + + * parse.c (target_map_name_to_register): Delete code wrapped in + #ifdef REGISTER_NAME_ALIAS_HOOK. + 2002-01-28 Michael Snyder * regcache.c (legacy_read_register_gen): Need to be able to diff --git a/gdb/parse.c b/gdb/parse.c index 42fccc6792..75f93fe03c 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))