* ada-lang.c (ada_make_symbol_completion_list): Add 'code'
[deliverable/binutils-gdb.git] / gdb / language.h
index 3a1e390f767a2542062e7f0950f9a17a1a6e9680..49afbc40053c085f57bd439e64d1fc8ac870a6c9 100644 (file)
@@ -284,8 +284,11 @@ struct language_defn
 
     /* Should return a vector of all symbols which are possible
        completions for TEXT.  WORD is the entire command on which the
-       completion is being made.  */
-    VEC (char_ptr) *(*la_make_symbol_completion_list) (char *text, char *word);
+       completion is being made.  If CODE is TYPE_CODE_UNDEF, then all
+       symbols should be examined; otherwise, only STRUCT_DOMAIN
+       symbols whose type has a code of CODE should be matched.  */
+    VEC (char_ptr) *(*la_make_symbol_completion_list) (char *text, char *word,
+                                                      enum type_code code);
 
     /* The per-architecture (OS/ABI) language information.  */
     void (*la_language_arch_info) (struct gdbarch *,
This page took 0.028637 seconds and 4 git commands to generate.