summaryrefslogtreecommitdiff
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
commit0f62f80e2abe002c9856e24541f0fb6839ced9d2 (patch)
tree11b5c2f6898fa19711f833ec5582d49dd5526b1e /gdb
parent9aad864fed2cfa1140a8ae1d9c8fbe1a7c02efea (diff)
downloadgdb-0f62f80e2abe002c9856e24541f0fb6839ced9d2.tar.gz
* 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 3c5ea5a8abe..70e0be5e8f2 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 6fe4b53be72..f92f1ea0c6e 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;