aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-03-01 13:00:07 +0000
committerMark Kettenis <kettenis@gnu.org>2003-03-01 13:00:07 +0000
commiteadc1c87ebd3d01cb41b412ca7d436aba8fb67a3 (patch)
treeb10b136449eb232295d2b12a277596c45ee4b3e9 /gdb
parent141436125ccd8378cef54a04ec9f52dcbf69f94a (diff)
downloadgdb-eadc1c87ebd3d01cb41b412ca7d436aba8fb67a3.zip
gdb-eadc1c87ebd3d01cb41b412ca7d436aba8fb67a3.tar.gz
gdb-eadc1c87ebd3d01cb41b412ca7d436aba8fb67a3.tar.bz2
* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i386-linux-tdep.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3c5ea5a..70e0be5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
of STREQ.
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index 6fe4b53..f92f1ea 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -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;