From 977a303014c295a6355d53c8f9bdf810081b0b7b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 30 Jan 2002 00:18:17 +0000 Subject: [PATCH] Delete REGISTER_NAME_ALIAS_HOOK. --- gdb/ChangeLog | 5 +++++ gdb/parse.c | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index caf55ae..8870296 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 42fccc6..75f93fe 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)) -- 2.7.4