elf/x86: Issue an error on discarded output .plt section
[binutils-gdb.git] / gdb / symfile.h
index bae2a798703ecbad0552c84e0577807d747578fe..22b091182aaabb17d9deb2ca7eda3babf9d67be2 100644 (file)
@@ -321,15 +321,16 @@ symfile_segment_data_up get_symfile_segment_data (bfd *abfd);
 
 extern scoped_restore_tmpl<int> increment_reading_symtab (void);
 
-void expand_symtabs_matching
+bool expand_symtabs_matching
   (gdb::function_view<expand_symtabs_file_matcher_ftype> file_matcher,
    const lookup_name_info &lookup_name,
    gdb::function_view<expand_symtabs_symbol_matcher_ftype> symbol_matcher,
    gdb::function_view<expand_symtabs_exp_notify_ftype> expansion_notify,
+   block_search_flags search_flags,
    enum search_domain kind);
 
-void map_symbol_filenames (symbol_filename_ftype *fun, void *data,
-                          int need_fullname);
+void map_symbol_filenames (gdb::function_view<symbol_filename_ftype> fun,
+                          bool need_fullname);
 
 /* Target-agnostic function to load the sections of an executable into memory.