aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/mipsread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index 3a7a807..1477c7c 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++;
}