This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]