From: Mark Kettenis Date: Sat, 1 Mar 2003 12:36:36 +0000 (+0000) Subject: * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=141436125ccd8378cef54a04ec9f52dcbf69f94a;p=binutils-gdb.git * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead of STREQ. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f40b5bf9ad1..3c5ea5a8abe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-03-01 Mark Kettenis + + * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead + of STREQ. + 2003-02-28 Daniel Jacobowitz * Makefile.in (dwarf2loc.o): Update dependencies. diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c index b895f7d180f..6fe4b53be72 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;