diff options
author | Pedro Alves <palves@redhat.com> | 2018-01-10 20:38:08 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-01-10 23:12:48 +0000 |
commit | 618daa933cdce21424d3759ea95a4e2f5c69a1c2 (patch) | |
tree | 5f5637c2c6c42eeea88703775150acb0f92319b0 /gdb/symtab.c | |
parent | c63d3e8d12f0b08cda95f89aa13274defed215f0 (diff) | |
download | gdb-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/symtab.c')
-rw-r--r-- | gdb/symtab.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 2fe2496..81f4fc9 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -955,8 +955,7 @@ symbol_matches_search_name (const struct general_symbol_info *gsymbol, const lookup_name_info &name) { symbol_name_matcher_ftype *name_match - = language_get_symbol_name_matcher (language_def (gsymbol->language), - name); + = get_symbol_name_matcher (language_def (gsymbol->language), name); return name_match (symbol_search_name (gsymbol), name, NULL); } @@ -4707,7 +4706,7 @@ compare_symbol_name (const char *symbol_name, language symbol_language, const language_defn *lang = language_def (symbol_language); 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_name, lookup_name, &match_res); } |