aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-01-10 20:38:08 +0000
committerPedro Alves <palves@redhat.com>2018-01-10 23:12:48 +0000
commit618daa933cdce21424d3759ea95a4e2f5c69a1c2 (patch)
tree5f5637c2c6c42eeea88703775150acb0f92319b0 /gdb/psymtab.c
parentc63d3e8d12f0b08cda95f89aa13274defed215f0 (diff)
downloadgdb-618daa933cdce21424d3759ea95a4e2f5c69a1c2.zip
gdb-618daa933cdce21424d3759ea95a4e2f5c69a1c2.tar.gz
gdb-618daa933cdce21424d3759ea95a4e2f5c69a1c2.tar.bz2
language_get_symbol_name_matcher -> get_symbol_name_matcher
Rename language_get_symbol_name_matcher -> get_symbol_name_matcher, since the function is no longer a straight "language method". gdb/ChangeLog: 2018-01-10 Pedro Alves <palves@redhat.com> * language.h (language_get_symbol_name_matcher): Rename ... (get_symbol_name_matcher): ... this. * language.c (language_get_symbol_name_matcher): Ditto. * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All callers adjusted.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 88d234a..dc13fd5 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -556,7 +556,7 @@ psymbol_name_matches (partial_symbol *psym,
{
const language_defn *lang = language_def (SYMBOL_LANGUAGE (psym));
symbol_name_matcher_ftype *name_match
- = language_get_symbol_name_matcher (lang, lookup_name);
+ = get_symbol_name_matcher (lang, lookup_name);
return name_match (SYMBOL_SEARCH_NAME (psym), lookup_name, NULL);
}