projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d4d6d
)
* mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Thu, 15 Jul 1993 07:28:14 +0000
(07:28 +0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Thu, 15 Jul 1993 07:28:14 +0000
(07:28 +0000)
already checked the first characters.
gdb/mipsread.c
patch
|
blob
|
history
diff --git
a/gdb/mipsread.c
b/gdb/mipsread.c
index 3a7a8070a84ab96767adc31c13269fe463a7cd25..1477c7cad458dc61ebbbf4393311d24743d0f0a8 100644
(file)
--- 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++;
}