GDB (xrefs)
|
#include "objfiles.h"
Classes | |
class | section_iterator |
Public Types | |
typedef iterator_range< minimal_symbol_iterator > | msymbols_range |
Public Member Functions | |
~objfile () | |
void | unlink () |
DISABLE_COPY_AND_ASSIGN (objfile) | |
compunit_symtab_range | compunits () |
msymbols_range | msymbols () |
separate_debug_range | separate_debug_objfiles () |
CORE_ADDR | text_section_offset () const |
CORE_ADDR | data_section_offset () const |
const char * | intern (const char *str) |
const char * | intern (const std::string &str) |
struct gdbarch * | arch () const |
bool | has_partial_symbols () |
bool | has_unexpanded_symtabs () |
struct symtab * | find_last_source_symtab () |
void | forget_cached_source_info () |
bool | map_symtabs_matching_filename (const char *name, const char *real_path, gdb::function_view< bool(symtab *)> callback) |
struct compunit_symtab * | lookup_symbol (block_enum kind, const char *name, domain_enum domain) |
void | print_stats (bool print_bcache) |
void | dump () |
void | expand_symtabs_for_function (const char *func_name) |
void | expand_all_symtabs () |
void | expand_symtabs_with_fullname (const char *fullname) |
void | expand_matching_symbols (const lookup_name_info &name, domain_enum domain, int global, symbol_compare_ftype *ordered_compare) |
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, domain_enum domain, enum search_domain kind) |
struct compunit_symtab * | find_pc_sect_compunit_symtab (struct bound_minimal_symbol msymbol, CORE_ADDR pc, struct obj_section *section, int warn_if_readin) |
void | map_symbol_filenames (gdb::function_view< symbol_filename_ftype > fun, bool need_fullname) |
struct compunit_symtab * | find_compunit_symtab_by_address (CORE_ADDR address) |
enum language | lookup_global_symbol_language (const char *name, domain_enum domain, bool *symbol_found_p) |
void | require_partial_symbols (bool verbose) |
CORE_ADDR | section_offset (bfd_section *section) const |
void | set_section_offset (bfd_section *section, CORE_ADDR offset) |
iterator_range< section_iterator > | sections () |
iterator_range< section_iterator > | sections () const |
Static Public Member Functions | |
static objfile * | make (gdb_bfd_ref_ptr bfd_, const char *name_, objfile_flags flags_, objfile *parent=nullptr) |
Private Member Functions | |
objfile (gdb_bfd_ref_ptr, const char *, objfile_flags) | |
const std::forward_list< quick_symbol_functions_up > & | qf_require_partial_symbols () |
Definition at line 421 of file objfiles.h.
typedef iterator_range<minimal_symbol_iterator> objfile::msymbols_range |
Definition at line 459 of file objfiles.h.
|
private |
Definition at line 313 of file objfiles.c.
References build_objfile_section_table(), flags, is_target_filename(), mtime, name, OBJF_NOT_FILENAME, objfile_obstack, original_name, and set_objfile_per_bfd().
Referenced by ada_lookup_simple_minsym(), add_separate_debug_objfile(), amd64_windows_find_unwind_info(), arm_skip_stub(), clear_dangling_display_expressions(), compile_object_load(), elf_gnu_ifunc_record_cache(), gdbscm_execute_objfile_script(), gdbscm_source_objfile_script(), jit_bfd_try_read_symtab(), lookup_global_or_static_symbol(), lookup_symbol_in_objfile_from_linkage_name(), maintenance_print_one_line_table(), make(), matching_obj_sections(), objfile_to_objfile_object(), scan_file_globals(), skip_prologue_sal(), symbol_file_add_with_addrs(), and type_name_or_error().
objfile::~objfile | ( | ) |
Definition at line 491 of file objfiles.c.
References breakpoint_free_objfile(), btrace_free_objfile(), clear_current_source_symtab_and_line(), clear_pc_function_cache(), symtab::compunit(), forget_cached_source_info(), gdb::observers::free_objfile, free_objfile_separate_debug(), get_current_source_symtab_and_line(), get_objfile_pspace_data(), compunit_symtab::objfile(), preserve_values(), pspace, objfile_pspace_info::section_map_dirty, separate_debug_objfile, separate_debug_objfile_backlink, separate_debug_objfile_link, sf, sym_fns::sym_finish, and symtab_and_line::symtab.
|
inline |
Definition at line 507 of file objfiles.h.
References objfile_per_bfd_storage::gdbarch, and per_bfd.
Referenced by ada_lookup_simple_minsym(), add_symbol_overload_list_qualified(), dwarf_expr_context::address_type(), dwarf2_per_objfile::adjust(), amd_dbgapi_insert_breakpoint_callback(), annotate_source_line(), type::arch(), basic_type(), builtin_type(), call_target_sbrk(), checkpoint_command(), coff_read_enum_type(), coff_symtab_read(), create_exception_master_breakpoint_hook(), create_exception_master_breakpoint_probe(), create_longjmp_master_breakpoint_names(), create_longjmp_master_breakpoint_probe(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), dbx_end_psymtab(), dbx_init_float_type(), decode_base_type(), define_symbol(), dtrace_process_dof(), cooked_index_functions::dump(), dump_msymbols(), dump_psymtab(), dump_symtab_1(), dwarf2_add_field(), dwarf2_build_frame_info(), dwarf2_find_location_expression(), dwarf2_get_symbol_read_needs(), dwarf2_init_complex_target_type(), dwarf2_init_float_type(), dwarf_decode_lines_1(), edit_command(), elf_gnu_ifunc_record_cache(), elf_gnu_ifunc_resolve_by_got(), elf_rel_plt_read(), elf_symtab_read(), enter_line_range(), enter_linenos(), dwarf_expr_context::execute_stack_op(), dwarf_expr_context::fetch_address(), dwarf_expr_context::fetch_result(), filter_overlapping_sections(), finalize_symtab(), compunit_symtab::find_call_site(), find_function_in_inferior(), find_function_start_sal_1(), psymbol_functions::find_pc_sect_compunit_symtab(), dwarf2_base_index_functions::find_pc_sect_compunit_symtab(), buildsym_compunit::finish_block_internal(), block::gdbarch(), dwarf_expr_context::get_base_type(), get_sal_arch(), handle_stap_probe(), info_address_command(), init_entry_point_info(), internalize_unwinds(), linux_infcall_mmap(), linux_infcall_munmap(), list_command(), list_overlays_command(), locexpr_describe_location_1(), locexpr_describe_location_piece(), locexpr_get_symbol_read_needs(), loclist_describe_location(), lookup_global_or_static_symbol(), macho_add_oso_symfile(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), maintenance_print_one_line_table(), mark_common_block_symbol_computed(), mdebug_expand_psymtab(), mi_cmd_symbol_list_lines(), msymbol_is_function(), output_nondebug_symbol(), parse_partial_symbols(), parse_symbol(), print_msymbol_info(), process_one_symbol(), python_free_objfile(), python_new_objfile(), read_addrmap_from_aranges(), read_base_type(), read_call_site_scope(), read_dbx_symtab(), read_debug_names_from_section(), read_enum_type(), read_func_scope(), read_one_struct_field(), read_range_type(), read_tag_pointer_type(), read_tag_string_type(), read_typedef(), record_minimal_symbol(), dwarf2_per_objfile::relocate(), rw_pieced_value(), section_is_mapped(), tui_source_window::set_contents(), simple_overlay_update_1(), simple_read_overlay_table(), skip_prologue_sal(), tui_update_source_windows_with_line(), value_allocate_space_in_inferior(), value_fn_field(), and z80_read_overlay_region_table().
|
inline |
Definition at line 451 of file objfiles.h.
References compunit_symtabs.
Referenced by ada_add_global_exceptions(), global_symbol_searcher::add_matching_symbols(), add_nonlocal_symbols(), basic_lookup_transparent_type_1(), coff_symtab_read(), ada_language::collect_symbol_completion_matches(), default_collect_symbol_completion_matches_break_on(), dump_objfile(), find_line_symtab(), find_symbol_at_address(), forget_cached_source_info(), gdbpy_lookup_static_symbols(), info_sources_worker(), iterate_over_all_matching_symtabs(), lookup_symbol_in_objfile_symtabs(), maintenance_check_symtabs(), maintenance_info_line_tables(), maintenance_info_symtabs(), maintenance_print_symbols(), make_source_files_completion_list(), map_matching_symbols(), objfile_relocate1(), and print_objfile_statistics().
|
inline |
Definition at line 487 of file objfiles.h.
References SECT_OFF_DATA.
Referenced by cooked_index_functions::find_compunit_symtab_by_address().
objfile::DISABLE_COPY_AND_ASSIGN | ( | objfile | ) |
void objfile::dump | ( | ) |
Definition at line 319 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf.
Referenced by dump_objfile().
void objfile::expand_all_symtabs | ( | ) |
Definition at line 353 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by reread_symbols(), and symbol_file_add_with_addrs().
void objfile::expand_matching_symbols | ( | const lookup_name_info & | name, |
domain_enum | domain, | ||
int | global, | ||
symbol_compare_ftype * | ordered_compare ) |
Definition at line 390 of file symfile-debug.c.
References debug_symfile, domain_name(), gdb_printf(), gdb_stdlog, name, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by map_matching_symbols().
void objfile::expand_symtabs_for_function | ( | const char * | func_name | ) |
Definition at line 330 of file symfile-debug.c.
References ALL_DOMAIN, debug_symfile, FULL, gdb_printf(), gdb_stdlog, lookup_name_info::make_ignore_params(), objfile_debug_name(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, and VAR_DOMAIN.
bool objfile::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, | ||
domain_enum | domain, | ||
enum search_domain | kind ) |
Definition at line 408 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), qf_require_partial_symbols(), and search_domain_name().
Referenced by global_symbol_searcher::expand_symtabs(), expand_symtabs_matching(), iterate_over_all_matching_symtabs(), and maintenance_expand_symtabs().
void objfile::expand_symtabs_with_fullname | ( | const char * | fullname | ) |
Definition at line 364 of file symfile-debug.c.
References ALL_DOMAIN, debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, and UNDEF_DOMAIN.
Referenced by find_line_symtab().
struct compunit_symtab * objfile::find_compunit_symtab_by_address | ( | CORE_ADDR | address | ) |
Definition at line 487 of file symfile-debug.c.
References debug_symfile, debug_symtab_name(), gdb_printf(), gdb_stdlog, objfile_debug_name(), compunit_symtab::primary_filetab(), and qf_require_partial_symbols().
Referenced by find_symbol_at_address().
struct symtab * objfile::find_last_source_symtab | ( | ) |
Definition at line 130 of file symfile-debug.c.
References debug_symfile, debug_symtab_name(), gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by select_source_symtab().
struct compunit_symtab * objfile::find_pc_sect_compunit_symtab | ( | struct bound_minimal_symbol | msymbol, |
CORE_ADDR | pc, | ||
struct obj_section * | section, | ||
int | warn_if_readin ) |
Definition at line 438 of file symfile-debug.c.
References debug_symfile, debug_symtab_name(), gdb_printf(), gdb_stdlog, bound_minimal_symbol::minsym, objfile_debug_name(), compunit_symtab::primary_filetab(), and qf_require_partial_symbols().
void objfile::forget_cached_source_info | ( | ) |
Definition at line 153 of file symfile-debug.c.
References compunits(), debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), qf_require_partial_symbols(), and xfree().
Referenced by forget_cached_source_info(), and ~objfile().
bool objfile::has_partial_symbols | ( | ) |
Definition at line 78 of file symfile-debug.c.
References debug_symfile, flags, gdb_printf(), gdb_stdlog, OBJF_PSYMTABS_READ, objfile_debug_name(), and qf.
Referenced by coff_symfile_read(), elf_symfile_read_dwarf2(), and read_symbols().
bool objfile::has_unexpanded_symtabs | ( | ) |
Definition at line 106 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by info_sources_worker().
|
inline |
Definition at line 494 of file objfiles.h.
References objfile_per_bfd_storage::intern(), and per_bfd.
Referenced by allocate_symtab(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_dwo_unit_in_dwp_v5(), dw2_get_file_names_reader(), dwarf2_canonicalize_name(), dwarf2_compute_name(), dwarf2_name(), dwarf2_physname(), elf_symtab_read(), fixup_go_packaging(), file_and_directory::intern_comp_dir(), quirk_ada_thick_pointer(), and unnamed_template_tag_name().
|
inline |
Definition at line 501 of file objfiles.h.
References objfile_per_bfd_storage::intern(), and per_bfd.
enum language objfile::lookup_global_symbol_language | ( | const char * | name, |
domain_enum | domain, | ||
bool * | symbol_found_p ) |
Definition at line 514 of file symfile-debug.c.
References language_unknown, name, and qf_require_partial_symbols().
Referenced by find_main_name().
struct compunit_symtab * objfile::lookup_symbol | ( | block_enum | kind, |
const char * | name, | ||
domain_enum | domain ) |
Definition at line 246 of file symfile-debug.c.
References ALL_DOMAIN, blockvector::block(), block_find_symbol(), debug_symfile, debug_symtab_name(), domain_name(), FULL, gdb_printf(), gdb_stdlog, GLOBAL_BLOCK, name, objfile_debug_name(), compunit_symtab::primary_filetab(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, and SEARCH_STATIC_BLOCK.
Referenced by basic_lookup_transparent_type_quick(), and lookup_symbol_via_quick_fns().
|
static |
Definition at line 449 of file objfiles.c.
References program_space::add_objfile(), add_separate_debug_objfile(), current_program_space, get_objfile_pspace_data(), objfile_pspace_info::new_objfiles_available, and objfile().
Referenced by jit_object_close_impl(), and symbol_file_add_with_addrs().
void objfile::map_symbol_filenames | ( | gdb::function_view< symbol_filename_ftype > | fun, |
bool | need_fullname ) |
Definition at line 473 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by info_sources_worker(), and map_symbol_filenames().
bool objfile::map_symtabs_matching_filename | ( | const char * | name, |
const char * | real_path, | ||
gdb::function_view< bool(symtab *)> | callback ) |
Definition at line 176 of file symfile-debug.c.
References ALL_DOMAIN, compare_filenames_for_search(), compunit_symtabs, debug_symfile, gdb_printf(), gdb_stdlog, iterate_over_some_symtabs(), name, objfile_debug_name(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, and UNDEF_DOMAIN.
Referenced by iterate_over_symtabs().
|
inline |
Definition at line 464 of file objfiles.h.
References objfile_per_bfd_storage::minimal_symbol_count, objfile_per_bfd_storage::msymbols, and per_bfd.
Referenced by ada_add_standard_exceptions(), global_symbol_searcher::add_matching_msymbols(), coff_read_minsyms(), ada_language::collect_symbol_completion_matches(), default_collect_symbol_completion_matches_break_on(), dump_msymbols(), global_symbol_searcher::expand_symtabs(), find_methods(), find_solib_trampoline_target(), info_classes_command(), info_selectors_command(), and scan_file_globals().
void objfile::print_stats | ( | bool | print_bcache | ) |
Definition at line 308 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by print_objfile_statistics().
|
inlineprivate |
Definition at line 704 of file objfiles.h.
References qf, and require_partial_symbols().
Referenced by expand_all_symtabs(), expand_matching_symbols(), expand_symtabs_for_function(), expand_symtabs_matching(), expand_symtabs_with_fullname(), find_compunit_symtab_by_address(), find_last_source_symtab(), find_pc_sect_compunit_symtab(), forget_cached_source_info(), has_unexpanded_symtabs(), lookup_global_symbol_language(), lookup_symbol(), map_symbol_filenames(), map_symtabs_matching_filename(), and print_stats().
void objfile::require_partial_symbols | ( | bool | verbose | ) |
Definition at line 533 of file symfile-debug.c.
References file_name_style, flags, gdb_printf(), OBJF_PSYMTABS_READ, objfile_has_symbols(), objfile_name(), qf, cli_style_option::style(), and styled_string().
Referenced by qf_require_partial_symbols(), and read_symbols().
|
inline |
Definition at line 616 of file objfiles.h.
References gdb_bfd_section_index().
Referenced by obj_section::offset().
|
inline |
Definition at line 685 of file objfiles.h.
References sections_end, and sections_start.
Referenced by program_space::add_target_sections(), arm_obj_section_from_vma(), data_obj_section_from_objfile(), dsbt_relocate_main_executable(), find_extant_func_descr(), find_pc_mapped_section(), find_pc_overlay(), fixup_symbol_section(), frob_address(), frv_relocate_main_executable(), gcore_create_callback(), hppa64_convert_code_addr_to_fptr(), hppa_linux_find_global_pointer(), hppabsd_find_global_pointer(), ia64_find_global_pointer_from_dynamic_section(), info_symbol_command(), init_entry_point_info(), is_addr_in_objfile(), list_overlays_command(), macho_symfile_offsets(), maintenance_translate_address(), objfile_find_memory_regions(), objfile_relocate1(), overlay_invalidate_all(), simple_overlay_update(), sort_cmp(), unmap_overlay_command(), update_section_map(), xstormy16_find_jmp_table_entry(), z80_overlay_update(), and z80_overlay_update_1().
|
inline |
Definition at line 692 of file objfiles.h.
References sections_end, and sections_start.
|
inline |
Definition at line 475 of file objfiles.h.
Referenced by lookup_minimal_symbol_by_pc_section(), lookup_minimal_symbol_linkage(), lookup_symbol_in_objfile_from_linkage_name(), objfile_has_symbols(), objfile_rebase(), and objfile_relocate().
|
inline |
Definition at line 627 of file objfiles.h.
References gdb_bfd_section_index().
Referenced by obj_section::set_offset().
|
inline |
Definition at line 482 of file objfiles.h.
References SECT_OFF_TEXT.
Referenced by dwarf2_per_objfile::adjust(), amd64_windows_find_unwind_info(), btrace_find_line_range(), coff_symtab_read(), do_compile_dwarf_expr_to_c(), do_mixed_source_and_assembly(), do_mixed_source_and_assembly_deprecated(), dwarf2_compile_expr_to_ax(), dwarf2_fetch_cfa_info(), dwarf2_find_location_expression(), dwarf2_frame_cache(), dwarf2_frame_find_fde(), enter_line_range(), dwarf_expr_context::execute_stack_op(), compunit_symtab::find_call_site(), dwarf2_base_index_functions::find_pc_sect_compunit_symtab(), find_pc_sect_line(), dtrace_probe::get_relocated_address(), linetable_entry::pc(), process_coff_symbol(), process_one_symbol(), read_unwind_info(), read_xcoff_symtab(), dwarf2_per_objfile::relocate(), relocate_address(), skip_prologue_using_linetable(), partial_symtab::text_high(), and partial_symtab::text_low().
void objfile::unlink | ( | ) |
Definition at line 468 of file objfiles.c.
References current_program_space, and program_space::remove_objfile().
Referenced by do_module_cleanup(), free_objfile_separate_debug(), jit_event_handler(), objfile_deleter::operator()(), remove_symbol_file_command(), and syms_from_objfile_1().
CORE_ADDR objfile::addr_low = 0 |
Definition at line 720 of file objfiles.h.
Referenced by solib_read_symbols().
struct compunit_symtab* objfile::compunit_symtabs = nullptr |
Definition at line 733 of file objfiles.h.
Referenced by add_compunit_symtab_to_objfile(), compunits(), dump_objfile(), iterate_over_symtabs(), map_symtabs_matching_filename(), objfile_has_full_symbols(), and reread_symbols().
objfile_flags objfile::flags |
Definition at line 724 of file objfiles.h.
Referenced by coff_symfile_read(), disable_breakpoints_in_freed_objfile(), dwarf2_has_info(), dwarf2_initialize_objfile(), elf_symfile_read(), find_symbol_at_address(), gdbpy_lookup_objfile(), get_msymbol_address(), has_partial_symbols(), load_auto_scripts_for_objfile(), lookup_minimal_symbol_linkage(), macho_add_oso_symfile(), minimal_symbol::maybe_copied(), new_symbol(), objfile(), objfpy_get_is_file(), psymbol_functions::partial_symbols(), remove_symbol_file_command(), remove_user_added_objfile(), require_partial_symbols(), reread_symbols(), save_gdb_index_command(), shared_objfile_contains_address_p(), symbol_file_add_separate(), symbol_file_add_with_addrs(), target_translate_tls_address(), thread_db_new_objfile(), and xcoff_initial_scan().
std::unique_ptr<jited_objfile_data> objfile::jited_data = nullptr |
Definition at line 867 of file objfiles.h.
Referenced by add_objfile_entry().
std::unique_ptr<jiter_objfile_data> objfile::jiter_data = nullptr |
Definition at line 863 of file objfiles.h.
Referenced by get_jiter_objfile_data(), jit_breakpoint_deleted(), jit_event_handler(), and jit_read_descriptor().
long objfile::mtime = 0 |
Definition at line 755 of file objfiles.h.
Referenced by source_cache::get_plain_source_lines(), objfile(), and reread_symbols().
gdb_bfd_ref_ptr objfile::obfd |
Definition at line 740 of file objfiles.h.
Referenced by add_symbol_file_from_memory_command(), amd64_windows_find_unwind_info(), arm_exidx_new_objfile(), arm_find_exidx_entry(), arm_find_mapping_symbol(), arm_record_special_symbol(), auto_load_objfile_script(), auto_load_section_scripts(), build_objfile_section_table(), build_section_addr_info_from_objfile(), coff_read_enum_type(), coff_read_minsyms(), coff_read_struct_type(), coff_symfile_read(), coff_symtab_read(), coffstab_build_psymtabs(), nto_procfs_target::create_inferior(), cs_to_bfd_section(), cs_to_section(), dbx_expand_psymtab(), dbx_symfile_init(), dbx_symfile_read(), decode_locdesc(), default_symfile_offsets(), dump_objfile(), dwarf2_const_value_attr(), dwarf2_const_value_data(), dwarf2_fetch_constant_bytes(), dwarf2_find_location_expression(), dwarf2_frame_find_fde(), dwarf2_has_info(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_lines_1(), elf_get_probes(), elf_gnu_ifunc_resolve_by_got(), elf_read_minimal_symbols(), elf_rel_plt_read(), elf_symfile_read(), elf_symfile_read_dwarf2(), elf_symtab_read(), elfmdebug_build_psymtabs(), elfstab_build_psymtabs(), enter_line_range(), find_comp_unit(), find_separate_debug_file_by_buildid(), find_separate_debug_file_by_debuglink(), find_separate_debug_file_in_section(), frv_fdpic_find_canonical_descriptor(), gcore_create_callback(), gdbpy_lookup_objfile(), get_gdb_index_contents_from_cache(), get_mpz(), remote_target::get_offsets(), source_cache::get_plain_source_lines(), dtrace_static_probe_ops::get_probes(), stap_static_probe_ops::get_probes(), get_section_index(), get_symbol_leading_char(), handle_stap_probe(), i386_thiscall_push_dummy_call(), init_entry_point_info(), init_objfile_sect_indices(), internalize_unwinds(), loclist_describe_location(), macho_check_dsym(), macho_resolve_oso_sym_with_minsym(), macho_symfile_offsets(), macho_symfile_read(), macho_symfile_relocate(), macho_symtab_add_minsym(), matching_obj_sections(), mdebug_build_psymtabs(), mipscoff_symfile_read(), dw2_debug_names_iterator::next(), objfile_filename(), objfile_flavour_name(), objfile_name(), objfile_relocate1(), objfpy_get_build_id(), open_source_file(), process_coff_symbol(), process_linenos(), read_addr_index_1(), read_addr_index_from_leb128(), read_addrmap_from_aranges(), read_alphacoff_dynamic_symtab(), read_dbx_symtab(), dwarf2_per_objfile::read_line_string(), dwarf2_per_objfile::read_line_string(), read_loclist_index(), read_ofile_symtab(), read_pe_exported_syms(), read_rnglist_index(), read_str_index(), read_symbol(), read_symbol_lineno(), read_unwind_info(), read_xcoff_symtab(), minimal_symbol_reader::record_full(), record_minimal_symbol(), record_minimal_symbol(), reread_symbols(), scan_xcoff_symtab(), separate_debug_file_exists(), set_comp_unit(), set_objfile_per_bfd(), solib_aix_get_section_offsets(), stabsect_build_psymtabs(), svr4_iterate_over_objfiles_in_search_order(), swap_sym(), symfile_find_segment_sections(), syms_from_objfile_1(), try_open_dwop_file(), update_section_map(), var_decode_location(), xcoff_initial_scan(), xcoff_next_symbol_text(), and xcoff_secnum_to_sections().
bool objfile::object_format_has_copy_relocs = false |
Definition at line 884 of file objfiles.h.
Referenced by elf_symfile_read(), and minimal_symbol::maybe_copied().
auto_obstack objfile::objfile_obstack |
Definition at line 760 of file objfiles.h.
Referenced by add_ada_export_symbol(), add_pending(), add_variant_property(), alloc_type_instance(), allocate_compunit_symtab(), allocate_symtab(), arm_exidx_new_objfile(), attr_to_dynamic_prop(), basic_type(), build_error_marker_type(), build_objfile_section_table(), coff_read_enum_type(), coff_read_struct_type(), coffstab_build_psymtabs(), common_block_end(), common_block_start(), compile_object_load(), compute_compunit_symtab_includes(), copy_type(), cp_scan_for_anonymous_namespaces(), dbx_end_psymtab(), dbx_symfile_init(), define_symbol(), dwarf2_const_value(), dwarf2_symbol_mark_computed(), elf_gnu_ifunc_record_cache(), elfmdebug_build_psymtabs(), elfstab_build_psymtabs(), buildsym_compunit::end_compunit_symtab_with_blockvector(), finalize_symtab(), buildsym_compunit::finish_block_internal(), fixup_go_packaging(), handle_member_location(), init_stringtab(), make_blockranges(), buildsym_compunit::make_blockvector(), mark_common_block_symbol_computed(), mdebug_build_psymtabs(), mdebug_expand_psymtab(), new_block(), new_psymtab(), new_symbol(), new_symbol(), objfile(), objfile_register_static_link(), parse_partial_symbols(), parse_symbol(), parse_type(), patch_block_stabs(), process_coff_symbol(), process_one_symbol(), process_structure_scope(), process_xcoff_symbol(), quirk_rust_enum(), dwarf2_section_info::read(), read_base_type(), read_call_site_scope(), read_common_block(), read_cpp_abbrev(), read_dbx_symtab(), read_enum_type(), read_func_scope(), read_import_statement(), read_member_functions(), read_namespace(), read_namespace_type(), read_one_struct_field(), read_type(), read_unwind_info(), read_variable(), read_xcoff_symtab(), reread_symbols(), resolve_dynamic_array_or_string(), rs6000_builtin_type(), set_die_type(), dwarf2_cu::setup_type_unit_groups(), stabsect_build_psymtabs(), start_psymtab(), swap_sym(), xcoff_end_psymtab(), xcoff_initial_scan(), and xcoff_start_psymtab().
objfile::OBJSTATS |
Definition at line 839 of file objfiles.h.
const char* objfile::original_name = nullptr |
Definition at line 718 of file objfiles.h.
Referenced by gdbpy_lookup_objfile(), load_auto_scripts_for_objfile(), objfile(), objfile_debug_name(), objfile_name(), objfpy_get_username(), open_and_init_dwp_file(), and reread_symbols().
struct objfile_per_bfd_storage* objfile::per_bfd = nullptr |
Definition at line 744 of file objfiles.h.
Referenced by add_minsym_to_demangled_hash_table(), partial_symtab::add_psymbol(), add_symbol_file_command(), anonymous_struct_prefix(), arch(), build_minimal_symbol_hash_tables(), clear_minimal_symbol_hash_tables(), coff_read_minsyms(), create_addrmap_from_aranges(), create_cus_from_debug_names(), create_cus_from_debug_names_list(), create_cus_hash_table(), dbx_end_psymtab(), define_symbol(), dump_msymbols(), dump_objfile(), dwarf2_build_psymtabs_hard(), dwarf2_read_debug_names(), dwarf2_read_gdb_index(), elf_read_minimal_symbols(), entry_point_address_query(), finalize_all_units(), find_main_name(), fixup_go_packaging(), buildsym_compunit::get_macro_table(), guess_full_die_structure_name(), init_entry_point_info(), minimal_symbol_reader::install(), intern(), intern(), iterate_over_minimal_symbols(), jit_object_close_impl(), lookup_minimal_symbol(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_by_pc_section(), lookup_minimal_symbol_linkage(), lookup_minimal_symbol_text(), minimal_symbol_upper_bound(), msymbols(), new_psymtab(), new_symbol(), parse_partial_symbols(), print_objfile_statistics(), process_coff_symbol(), read_symbols(), minimal_symbol_reader::record_full(), set_objfile_main_name(), set_objfile_per_bfd(), start_psymtab(), xcoff_end_psymtab(), and xcoff_start_psymtab().
std::unique_ptr<objfile_per_bfd_storage> objfile::per_bfd_storage |
Definition at line 750 of file objfiles.h.
Referenced by set_objfile_per_bfd().
struct program_space* objfile::pspace |
Definition at line 728 of file objfiles.h.
Referenced by ada_free_objfile_observer(), ada_new_objfile_observer(), ada_tasks_new_objfile_observer(), annotate_source_line(), auto_load_objfile_script_1(), clear_dangling_display_expressions(), compare_msymbols(), compare_symbols(), disable_breakpoints_in_freed_objfile(), find_label_symbols(), find_method(), gdbscm_objfile_progspace(), jit_breakpoint_re_set_internal(), maintenance_print_symbol_cache(), minsym_found(), objfile_relocate1(), objfpy_get_progspace(), probes_table_htab_remove_objfile_probes(), probes_table_remove_objfile_probes(), psscm_pspace_smob_from_pspace(), psscm_scm_from_pspace(), remote_new_objfile(), remove_symbol_file_command(), remove_user_added_objfile(), search_minsyms_for_name(), source_section_scripts(), svr4_fetch_objfile_link_map(), symbol_to_sal(), symfile_free_objfile(), symtab_free_objfile_observer(), symtab_new_objfile_observer(), and ~objfile().
std::forward_list<quick_symbol_functions_up> objfile::qf |
Definition at line 772 of file objfiles.h.
Referenced by dbx_symfile_read(), dump(), dwarf2_initialize_objfile(), has_partial_symbols(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), maintenance_print_psymbols(), mdebug_build_psymtabs(), qf_require_partial_symbols(), require_partial_symbols(), reread_symbols(), syms_from_objfile_1(), and xcoff_initial_scan().
Definition at line 776 of file objfiles.h.
Referenced by reread_symbols().
int objfile::sect_index_bss = -1 |
Definition at line 800 of file objfiles.h.
Referenced by init_objfile_sect_indices(), parse_partial_symbols(), reread_symbols(), solib_aix_get_section_offsets(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
int objfile::sect_index_data = -1 |
Definition at line 799 of file objfiles.h.
Referenced by cooked_index_functions::find_compunit_symtab_by_address(), fixup_symbol_section(), init_objfile_sect_indices(), parse_partial_symbols(), read_dbx_symtab(), reread_symbols(), solib_aix_get_section_offsets(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
int objfile::sect_index_rodata = -1 |
Definition at line 801 of file objfiles.h.
Referenced by init_objfile_sect_indices(), reread_symbols(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
int objfile::sect_index_text = -1 |
Definition at line 798 of file objfiles.h.
Referenced by find_probe_by_pc(), fixup_symbol_section(), init_objfile_sect_indices(), macho_symfile_offsets(), parse_partial_symbols(), reread_symbols(), solib_aix_get_section_offsets(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
::section_offsets objfile::section_offsets |
Definition at line 786 of file objfiles.h.
Referenced by partial_symbol::address(), build_section_addr_info_from_objfile(), coff_symtab_read(), default_symfile_offsets(), dsbt_relocate_main_executable(), dump_msymbols(), dwarf2_frame_find_fde(), entry_point_address_query(), fixup_symbol_section(), frv_relocate_main_executable(), get_msymbol_address(), remote_target::get_offsets(), init_objfile_sect_indices(), macho_symfile_offsets(), mdebug_expand_psymtab(), objfile_rebase1(), objfile_relocate1(), process_coff_symbol(), process_xcoff_symbol(), read_ofile_symtab(), reread_symbols(), set_objfile_default_section_offset(), solib_aix_get_section_offsets(), svr4_relocate_main_executable(), syms_from_objfile_1(), minimal_symbol::value_address(), var_decode_location(), and xcoff_symfile_offsets().
struct obj_section* objfile::sections_end = nullptr |
Definition at line 813 of file objfiles.h.
Referenced by build_objfile_section_table(), maint_obj_section_from_bfd_section(), sections(), and sections().
struct obj_section* objfile::sections_start = nullptr |
Definition at line 812 of file objfiles.h.
Referenced by add_to_objfile_sections(), build_objfile_section_table(), dsbt_relocate_main_executable(), dump_msymbols(), fixup_symbol_section(), frv_relocate_main_executable(), macho_symfile_offsets(), maint_obj_section_from_bfd_section(), maint_print_all_sections(), general_symbol_info::obj_section(), objfile_relocate1(), reread_symbols(), sections(), sections(), solib_aix_get_section_offsets(), and xcoff_symfile_offsets().
Definition at line 825 of file objfiles.h.
Referenced by add_separate_debug_objfile(), elf_symfile_read_dwarf2(), filter_debuginfo_sections(), free_objfile_separate_debug(), matching_obj_sections(), separate_debug_iterator::operator++(), preferred_obj_section(), read_symbols(), sort_cmp(), symbol_file_add_with_addrs(), and ~objfile().
Definition at line 830 of file objfiles.h.
Referenced by add_separate_debug_objfile(), auto_load_objfile_script(), expr::check_objfile(), clear_dangling_display_expressions(), dwarf2_build_frame_info(), elf_read_minimal_symbols(), elf_rel_plt_read(), elf_symfile_read_dwarf2(), find_solib_for_objfile(), gcore_create_callback(), gdbpy_lookup_objfile(), gdbscm_progspace_objfiles(), dtrace_static_probe_ops::get_probes(), stap_static_probe_ops::get_probes(), handle_jit_event(), info_symbol_command(), lookup_global_symbol(), lookup_minimal_symbol(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_linkage(), lookup_minimal_symbol_text(), lookup_symbol_in_objfile_from_linkage_name(), matching_obj_sections(), objfile_find_memory_regions(), objfpy_get_owner(), open_and_init_dwp_file(), separate_debug_iterator::operator++(), preferred_obj_section(), read_symbols(), reread_symbols(), svr4_iterate_over_objfiles_in_search_order(), target_translate_tls_address(), thread_db_new_objfile(), expression::uses_objfile(), varobj_invalidate_if_uses_objfile(), and ~objfile().
Definition at line 835 of file objfiles.h.
Referenced by add_separate_debug_objfile(), free_objfile_separate_debug(), separate_debug_iterator::operator++(), and ~objfile().
Definition at line 768 of file objfiles.h.
Referenced by collect_probes(), buildsym_compunit::end_compunit_symtab_with_blockvector(), find_probe_by_pc(), find_probes_in_objfile(), install_symfile_debug_logging(), psymbol_functions::lookup_global_symbol_language(), objfile_set_sym_fns(), parse_probes_in_pspace(), read_symbols(), reread_symbols(), symbol_file_add_with_addrs(), symfile_debug_installed(), symfile_relocate_debug_section(), syms_from_objfile_1(), uninstall_symfile_debug_logging(), and ~objfile().
bool objfile::skip_jit_symbol_lookup = false |
Definition at line 873 of file objfiles.h.
htab_up objfile::static_links |
Definition at line 859 of file objfiles.h.
Referenced by objfile_lookup_static_link(), objfile_register_static_link(), and reread_symbols().
Definition at line 846 of file objfiles.h.
Referenced by new_symbol(), objfile_relocate1(), and reread_symbols().