From: Jim Kingdon Date: Thu, 15 Jul 1993 07:28:14 +0000 (+0000) Subject: * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fb0ff3b3df78c51bc066958b4c5fe766c39884c;p=binutils-gdb.git * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have already checked the first characters. --- diff --git a/gdb/mipsread.c b/gdb/mipsread.c index 3a7a8070a84..1477c7cad45 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -2826,7 +2826,7 @@ mylookup_symbol (name, block, namespace, class) if (SYMBOL_NAME (sym)[0] == inc && SYMBOL_NAMESPACE (sym) == namespace && SYMBOL_CLASS (sym) == class - && STREQ (SYMBOL_NAME (sym), name)) + && strcmp (SYMBOL_NAME (sym), name) == 0) return sym; bot++; }