diff options
author | Pedro Alves <palves@redhat.com> | 2017-07-20 18:06:13 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-07-20 18:06:13 +0100 |
commit | a778f165ad24111597fa48beb4a62359501e0076 (patch) | |
tree | a66c7780bef4b7892f34e24b281b5f47c8345785 /gdb/psymtab.c | |
parent | 42edd901a220d9d963d2121d7014b81d43c1ac66 (diff) | |
download | gdb-a778f165ad24111597fa48beb4a62359501e0076.zip gdb-a778f165ad24111597fa48beb4a62359501e0076.tar.gz gdb-a778f165ad24111597fa48beb4a62359501e0076.tar.bz2 |
Use SYMBOL_MATCHES_SEARCH_NAME some more
gdb/ChangeLog:
2017-07-20 Pedro Alves <palves@redhat.com>
* dwarf2read.c (dw2_lookup_symbol): Use
SYMBOL_MATCHES_SEARCH_NAME.
* psymtab.c (psym_lookup_symbol): Use SYMBOL_MATCHES_SEARCH_NAME.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c index bb482ee..4077fb3 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -529,10 +529,10 @@ psym_lookup_symbol (struct objfile *objfile, information (but NAME might contain it). */ if (sym != NULL - && strcmp_iw (SYMBOL_SEARCH_NAME (sym), name) == 0) + && SYMBOL_MATCHES_SEARCH_NAME (sym, name)) return stab; if (with_opaque != NULL - && strcmp_iw (SYMBOL_SEARCH_NAME (with_opaque), name) == 0) + && SYMBOL_MATCHES_SEARCH_NAME (with_opaque, name)) stab_best = stab; /* Keep looking through other psymtabs. */ |