diff options
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 69 |
1 files changed, 67 insertions, 2 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index f961bdc..c55f0f1 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -415,8 +415,8 @@ private: GDB typically reads symbols twice -- first an initial scan which just reads "partial symbols"; these are partial information for the - static/global symbols in a symbol file. When later looking up symbols, - objfile->sf->qf->lookup_symbol is used to check if we only have a partial + static/global symbols in a symbol file. When later looking up + symbols, lookup_symbol is used to check if we only have a partial symbol and if so, read and expand the full compunit. */ struct objfile @@ -552,6 +552,71 @@ public: bool has_partial_symbols (); + /* See quick_symbol_functions. */ + struct symtab *find_last_source_symtab (); + + /* See quick_symbol_functions. */ + void forget_cached_source_info (); + + /* See quick_symbol_functions. */ + bool map_symtabs_matching_filename + (const char *name, const char *real_path, + gdb::function_view<bool (symtab *)> callback); + + /* See quick_symbol_functions. */ + struct compunit_symtab *lookup_symbol (block_enum kind, const char *name, + domain_enum domain); + + /* See quick_symbol_functions. */ + void print_stats (); + + /* See quick_symbol_functions. */ + void dump (); + + /* See quick_symbol_functions. */ + void expand_symtabs_for_function (const char *func_name); + + /* See quick_symbol_functions. */ + void expand_all_symtabs (); + + /* See quick_symbol_functions. */ + void expand_symtabs_with_fullname (const char *fullname); + + /* See quick_symbol_functions. */ + void map_matching_symbols + (const lookup_name_info &name, domain_enum domain, + int global, + gdb::function_view<symbol_found_callback_ftype> callback, + symbol_compare_ftype *ordered_compare); + + /* See quick_symbol_functions. */ + void 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, + enum search_domain kind); + + /* See quick_symbol_functions. */ + struct compunit_symtab *find_pc_sect_compunit_symtab + (struct bound_minimal_symbol msymbol, + CORE_ADDR pc, + struct obj_section *section, + int warn_if_readin); + + /* See quick_symbol_functions. */ + void map_symbol_filenames (symbol_filename_ftype *fun, void *data, + int need_fullname); + + /* See quick_symbol_functions. */ + struct compunit_symtab *find_compunit_symtab_by_address (CORE_ADDR address); + + /* See quick_symbol_functions. */ + enum language lookup_global_symbol_language (const char *name, + domain_enum domain, + bool *symbol_found_p); + + /* The object file's original name as specified by the user, made absolute, and tilde-expanded. However, it is not canonicalized (i.e., it has not been passed through gdb_realpath). |