aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-03-01 12:36:36 +0000
committerMark Kettenis <kettenis@gnu.org>2003-03-01 12:36:36 +0000
commit141436125ccd8378cef54a04ec9f52dcbf69f94a (patch)
tree85e16bfb65cc87957cb449efb3b8f55e4baa0630
parent484a4f9ca605beb9de7336b5fab941fa5c160fc1 (diff)
downloadgdb-141436125ccd8378cef54a04ec9f52dcbf69f94a.zip
gdb-141436125ccd8378cef54a04ec9f52dcbf69f94a.tar.gz
gdb-141436125ccd8378cef54a04ec9f52dcbf69f94a.tar.bz2
* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
of STREQ.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i386-linux-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f40b5bf..3c5ea5a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-01 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
+ of STREQ.
+
2003-02-28 Daniel Jacobowitz <drow@mvista.com>
* Makefile.in (dwarf2loc.o): Update dependencies.
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index b895f7d..6fe4b53 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -333,7 +333,7 @@ find_minsym_and_objfile (char *name, struct objfile **objfile_p)
ALL_OBJFILE_MSYMBOLS (objfile, msym)
{
if (DEPRECATED_SYMBOL_NAME (msym)
- && STREQ (DEPRECATED_SYMBOL_NAME (msym), name))
+ && strcmp (DEPRECATED_SYMBOL_NAME (msym), name) == 0)
{
*objfile_p = objfile;
return msym;