aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/language.c b/gdb/language.c
index 2a1419c..c05b703 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -704,7 +704,7 @@ default_get_string (struct value *value, gdb_byte **buffer, int *length,
bool
default_symbol_name_matcher (const char *symbol_search_name,
const lookup_name_info &lookup_name,
- completion_match *match)
+ completion_match_result *comp_match_res)
{
const std::string &name = lookup_name.name ();
@@ -715,8 +715,8 @@ default_symbol_name_matcher (const char *symbol_search_name,
if (strncmp_iw_with_mode (symbol_search_name, name.c_str (), name.size (),
mode, language_minimal) == 0)
{
- if (match != NULL)
- match->set_match (symbol_search_name);
+ if (comp_match_res != NULL)
+ comp_match_res->set_match (symbol_search_name);
return true;
}
else