* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
This commit is contained in:
parent
141436125c
commit
eadc1c87eb
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-03-01 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
|
||||
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
|
||||
|
||||
2003-03-01 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
|
||||
|
|
|
@ -332,8 +332,8 @@ find_minsym_and_objfile (char *name, struct objfile **objfile_p)
|
|||
|
||||
ALL_OBJFILE_MSYMBOLS (objfile, msym)
|
||||
{
|
||||
if (DEPRECATED_SYMBOL_NAME (msym)
|
||||
&& strcmp (DEPRECATED_SYMBOL_NAME (msym), name) == 0)
|
||||
if (SYMBOL_LINKAGE_NAME (msym)
|
||||
&& strcmp (SYMBOL_LINKAGE_NAME (msym), name) == 0)
|
||||
{
|
||||
*objfile_p = objfile;
|
||||
return msym;
|
||||
|
|
Loading…
Reference in a new issue