This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Delete REGISTER_NAME_ALIAS_HOOK()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 29 Jan 2002 19:16:46 -0500
- Subject: [patch] Delete REGISTER_NAME_ALIAS_HOOK()
Hello,
Turns out nothing defines this! Committed.
Andrew
2002-01-29 Andrew Cagney <ac131313@redhat.com>
* parse.c (target_map_name_to_register): Delete code wrapped in
#ifdef REGISTER_NAME_ALIAS_HOOK.
Index: parse.c
===================================================================
RCS file: /cvs/src/src/gdb/parse.c,v
retrieving revision 1.17
diff -p -r1.17 parse.c
*** parse.c 2001/11/15 01:55:59 1.17
--- parse.c 2002/01/30 00:14:22
*************** target_map_name_to_register (char *str,
*** 117,131 ****
{
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))
--- 117,122 ----