Simplify psym_map_matching_symbols
[deliverable/binutils-gdb.git] / gdb / symtab.h
index 49feea62e2a5435c417818ef202d2a1481edfe8e..4fb00cba9f53fc9a12ce762dc4bfdf8f56c5a6b4 100644 (file)
@@ -2106,6 +2106,16 @@ bool iterate_over_symbols (const struct block *block,
                           const domain_enum domain,
                           gdb::function_view<symbol_found_callback_ftype> callback);
 
+/* Like iterate_over_symbols, but if all calls to CALLBACK return
+   true, then calls CALLBACK one additional time with a block_symbol
+   that has a valid block but a NULL symbol.  */
+
+bool iterate_over_symbols_terminated
+  (const struct block *block,
+   const lookup_name_info &name,
+   const domain_enum domain,
+   gdb::function_view<symbol_found_callback_ftype> callback);
+
 /* Storage type used by demangle_for_lookup.  demangle_for_lookup
    either returns a const char * pointer that points to either of the
    fields of this type, or a pointer to the input NAME.  This is done
This page took 0.024446 seconds and 4 git commands to generate.