diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-15 07:28:14 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-15 07:28:14 +0000 |
commit | 4fb0ff3b3df78c51bc066958b4c5fe766c39884c (patch) | |
tree | db4cd4512c42a1bed2d02a1e11f45d21ae5cdac3 /gdb | |
parent | b5d4d6d7f8324068d711f705c605402e0ce513ac (diff) | |
download | gdb-4fb0ff3b3df78c51bc066958b4c5fe766c39884c.zip gdb-4fb0ff3b3df78c51bc066958b4c5fe766c39884c.tar.gz gdb-4fb0ff3b3df78c51bc066958b4c5fe766c39884c.tar.bz2 |
* mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
already checked the first characters.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/mipsread.c | 2 |
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++; } |