* symtab.c (lookup_symbol_aux_symtabs): Call pre-expand hook.
[deliverable/binutils-gdb.git] / gdb / symfile.h
index d53c465c6d7b7fb53ad08e6e13bf7068ed4c496f..a869fa301765f429309bf4ab2587db65dbd63e87 100644 (file)
@@ -171,6 +171,15 @@ struct quick_symbol_functions
                                   int kind, const char *name,
                                   domain_enum domain);
 
+  /* This is called to expand symbol tables before looking up a
+     symbol.  A backend can choose to implement this and then have its
+     `lookup_symbol' hook always return NULL, or the reverse.  (It
+     doesn't make sense to implement both.)  The arguments are as for
+     `lookup_symbol'.  */
+  void (*pre_expand_symtabs_matching) (struct objfile *objfile,
+                                      int kind, const char *name,
+                                      domain_enum domain);
+
   /* Print statistics about any indices loaded for OBJFILE.  The
      statistics should be printed to gdb_stdout.  This is used for
      "maint print statistics".  */
This page took 0.024272 seconds and 4 git commands to generate.