Handle custom completion match prefix / LCD
[deliverable/binutils-gdb.git] / gdb / language.c
index 2a1419cd3006139b81c52237bb8c93da00e50c7a..c05b703207ff10acfa0a9aa2a3a95493b1b4db4e 100644 (file)
@@ -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
This page took 0.024057 seconds and 4 git commands to generate.