* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
authorMark Kettenis <kettenis@gnu.org>
Sat, 1 Mar 2003 12:36:36 +0000 (12:36 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 1 Mar 2003 12:36:36 +0000 (12:36 +0000)
of STREQ.

gdb/ChangeLog
gdb/i386-linux-tdep.c

index f40b5bf9ad17626dc96c7ac1bdedc17f07abfd63..3c5ea5a8abefbc5969181058a6d85aa15d942623 100644 (file)
@@ -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.
index b895f7d180fe1dbe12638cc64d025e090025a34c..6fe4b53be720a14cfe0adc7e27a5713851be2689 100644 (file)
@@ -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;