GDB (xrefs)
Classes | Public Member Functions | Public Attributes | List of all members
objfile Struct Reference

#include "objfiles.h"

Classes

struct  objfile_obstack
 

Public Member Functions

 objfile (bfd *, const char *, objfile_flags)
 
 ~objfile ()
 
 DISABLE_COPY_AND_ASSIGN (objfile)
 

Public Attributes

struct objfilenext = nullptr
 
char * original_name = nullptr
 
CORE_ADDR addr_low = 0
 
objfile_flags flags
 
struct program_spacepspace
 
struct compunit_symtabcompunit_symtabs = nullptr
 
struct partial_symtabpsymtabs = nullptr
 
struct addrmappsymtabs_addrmap = nullptr
 
struct partial_symtabfree_psymtabs = nullptr
 
bfd * obfd
 
struct objfile_per_bfd_storageper_bfd = nullptr
 
long mtime = 0
 
struct psymbol_bcachepsymbol_cache
 
std::vector< std::pair< CORE_ADDR, partial_symtab * > > psymbol_map
 
std::vector< partial_symbol * > global_psymbols
 
std::vector< partial_symbol * > static_psymbols
 
const struct sym_fnssf = nullptr
 
 REGISTRY_FIELDS {}
 
struct section_offsetssection_offsets = nullptr
 
int num_sections = 0
 
int sect_index_text = -1
 
int sect_index_data = -1
 
int sect_index_bss = -1
 
int sect_index_rodata = -1
 
struct obj_sectionsections = nullptr
 
struct obj_sectionsections_end = nullptr
 
struct objfileseparate_debug_objfile = nullptr
 
struct objfileseparate_debug_objfile_backlink = nullptr
 
struct objfileseparate_debug_objfile_link = nullptr
 
 OBJSTATS
 
struct symboltemplate_symbols = nullptr
 
htab_t static_links {}
 

Detailed Description

Definition at line 286 of file objfiles.h.

Constructor & Destructor Documentation

◆ objfile()

objfile::objfile ( bfd *  abfd,
const char *  name,
objfile_flags  flags_ 
)

Definition at line 373 of file objfiles.c.

References build_objfile_section_table(), flags, gdb_abspath(), gdb_assert, gdb_bfd_ref(), get_objfile_bfd_data(), get_objfile_pspace_data(), is_target_filename(), mtime, name, objfile_pspace_info::new_objfiles_available, next, object_files, OBJF_NOT_FILENAME, original_name, per_bfd, pspace, and terminate_minimal_symbol_table().

Referenced by ada_add_global_exceptions(), ada_collect_symbol_completion_matches(), ada_lookup_simple_minsym(), add_nonlocal_symbols(), add_separate_debug_objfile(), amd64_windows_find_unwind_info(), append_ocl_sos(), arm_skip_stub(), basic_lookup_transparent_type(), captured_main_1(), collect_probes(), compile_object_load(), create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), default_collect_symbol_completion_matches_break_on(), default_iterate_over_objfiles_in_search_order(), do_module_cleanup(), dwarf2_frame_find_fde(), dwarf2_locexpr_baton_eval(), dwarf2_per_cu_objfile(), elf_gnu_ifunc_record_cache(), elf_gnu_ifunc_resolve_by_cache(), elf_gnu_ifunc_resolve_by_got(), exp_uses_objfile_iter(), expand_symtab_containing_pc(), expand_symtabs_matching(), find_line_symtab(), find_main_name(), find_pc_mapped_section(), find_pc_overlay(), find_pc_partial_function_gnu_ifunc(), find_pc_sect_compunit_symtab(), find_solib_trampoline_target(), find_symbol_at_address(), find_unwind_entry(), forget_cached_source_info(), free_all_objfiles(), gcore_create_callback(), gdbpy_execute_objfile_script(), gdbpy_get_matching_xmethod_workers(), gdbpy_lookup_objfile(), gdbpy_source_objfile_script(), gdbscm_execute_objfile_script(), gdbscm_progspace_objfiles(), gdbscm_source_objfile_script(), get_macro_table(), hppa_lookup_stub_minimal_symbol(), info_classes_command(), info_selectors_command(), info_sources_command(), info_symbol_command(), iterate_over_all_matching_symtabs(), iterate_over_symtabs(), jit_bfd_try_read_symtab(), jit_object_close_impl(), list_overlays_command(), lookup_global_symbol(), lookup_global_symbol_from_objfile(), lookup_minimal_symbol(), lookup_minimal_symbol_and_objfile(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_by_pc_section_1(), lookup_minimal_symbol_solib_trampoline(), lookup_minimal_symbol_text(), lookup_static_symbol(), lookup_symbol_in_objfile_from_linkage_name(), maintenance_check_psymtabs(), maintenance_check_symtabs(), maintenance_expand_symtabs(), maintenance_info_line_tables(), maintenance_info_psymtabs(), maintenance_info_symtabs(), maintenance_print_msymbols(), maintenance_print_objfiles(), maintenance_print_one_line_table(), maintenance_print_psymbols(), maintenance_print_symbols(), maintenance_translate_address(), make_source_files_completion_list(), make_symbol_overload_list_qualified(), map_overlay_command(), map_symbol_filenames(), mi_cmd_file_list_exec_source_files(), objfile_find_memory_regions(), objfile_to_objfile_object(), objfpy_lookup_objfile_by_build_id(), objfpy_lookup_objfile_by_name(), overlay_invalidate_all(), parse_probes_in_pspace(), ppc_linux_spe_context_inferior_created(), ppscm_find_pretty_printer_from_objfiles(), print_objfile_statistics(), print_symbol_bcache_statistics(), put_objfile_before(), qsort_cmp(), require_partial_symbols(), reread_symbols(), save_gdb_index_command(), scan_file_globals(), search_minsyms_for_name(), search_symbols(), set_debug_symfile(), shared_objfile_contains_address_p(), simple_overlay_update(), skip_prologue_sal(), spu_overlay_update(), symbol_file_add_with_addrs(), type_name_no_tag_or_error(), unmap_overlay_command(), update_section_map(), and windows_iterate_over_objfiles_in_search_order().

◆ ~objfile()

objfile::~objfile ( )

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

objfile::DISABLE_COPY_AND_ASSIGN ( objfile  )

Member Data Documentation

◆ addr_low

CORE_ADDR objfile::addr_low = 0

Definition at line 307 of file objfiles.h.

Referenced by solib_read_symbols().

◆ compunit_symtabs

struct compunit_symtab* objfile::compunit_symtabs = nullptr

◆ flags

objfile_flags objfile::flags

◆ free_psymtabs

struct partial_symtab* objfile::free_psymtabs = nullptr

Definition at line 337 of file objfiles.h.

Referenced by allocate_psymtab(), discard_psymtab(), and reread_symbols().

◆ global_psymbols

std::vector<partial_symbol *> objfile::global_psymbols

◆ mtime

long objfile::mtime = 0

Definition at line 352 of file objfiles.h.

Referenced by objfile(), and reread_symbols().

◆ next

struct objfile* objfile::next = nullptr

◆ num_sections

int objfile::num_sections = 0

◆ obfd

bfd* objfile::obfd

Definition at line 342 of file objfiles.h.

Referenced by amd64_windows_find_unwind_info(), append_ocl_sos(), arm_exidx_data_free(), arm_exidx_new_objfile(), arm_obj_section_from_vma(), arm_objfile_data_free(), arm_record_special_symbol(), auto_load_section_scripts(), build_objfile_section_table(), build_section_addr_info_from_objfile(), coff_read_enum_type(), coff_read_struct_type(), coff_symfile_read(), coff_symtab_read(), coffstab_build_psymtabs(), create_addrmap_from_aranges(), cs_to_bfd_section(), cs_to_section(), data_obj_section_from_objfile(), dbx_psymtab_to_symtab_1(), dbx_symfile_init(), dbx_symfile_read(), decode_locdesc(), default_symfile_offsets(), dump_msymbols(), dump_objfile(), dwarf2_build_frame_info(), dwarf2_const_value_attr(), dwarf2_const_value_data(), dwarf2_fetch_constant_bytes(), dwarf2_find_containing_comp_unit(), dwarf2_find_location_expression(), dwarf2_per_objfile::dwarf2_per_objfile(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_lines_1(), elf_get_probes(), elf_gnu_ifunc_record_cache(), elf_gnu_ifunc_resolve_by_got(), elf_lookup_lib_symbol(), elf_read_minimal_symbols(), elf_rel_plt_read(), elf_symfile_read(), elf_symtab_read(), elfmdebug_build_psymtabs(), elfstab_build_psymtabs(), enable_break(), enter_line_range(), find_partial_die(), find_separate_debug_file_by_buildid(), find_separate_debug_file_by_debuglink(), find_separate_debug_file_in_section(), gcore_create_callback(), dtrace_static_probe_ops::get_probes(), stap_static_probe_ops::get_probes(), get_section_index(), handle_stap_probe(), init_entry_point_info(), init_objfile_sect_indices(), internalize_unwinds(), list_overlays_command(), 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(), maintenance_info_sections(), map_overlay_command(), matching_obj_sections(), mdebug_build_psymtabs(), mi_memory_changed(), mipscoff_symfile_read(), objfile_filename(), objfile_find_memory_regions(), objfile_flavour_name(), objfile_name(), objfile_relocate(), objfile_relocate1(), objfpy_get_build_id(), objfpy_lookup_objfile_by_build_id(), pc_in_unmapped_range(), peek_die_abbrev(), process_coff_symbol(), process_linenos(), read_addr_index_1(), read_addr_index_from_leb128(), read_alphacoff_dynamic_symtab(), read_dbx_symtab(), read_ofile_symtab(), read_pe_exported_syms(), read_str_index(), read_symbol(), read_symbol_lineno(), read_unwind_info(), read_xcoff_symtab(), minimal_symbol_reader::record_full(), record_minimal_symbol(), reread_symbols(), scan_xcoff_symtab(), separate_debug_file_exists(), set_objfile_per_bfd(), solib_aix_get_section_offsets(), spu_catch_start(), spu_get_overlay_table(), spu_lookup_lib_symbol(), spu_overlay_new_objfile(), spu_overlay_update_osect(), stabsect_build_psymtabs(), swap_sym(), symfile_find_segment_sections(), syms_from_objfile_1(), unmap_overlay_command(), update_section_map(), var_decode_location(), xcoff_initial_scan(), xcoff_next_symbol_text(), xcoff_secnum_to_sections(), xcoff_symfile_offsets(), and ~objfile().

◆ OBJSTATS

objfile::OBJSTATS

Definition at line 450 of file objfiles.h.

◆ original_name

char* objfile::original_name = nullptr

◆ per_bfd

struct objfile_per_bfd_storage* objfile::per_bfd = nullptr

◆ pspace

struct program_space* objfile::pspace

◆ psymbol_cache

struct psymbol_bcache* objfile::psymbol_cache

◆ psymbol_map

std::vector<std::pair<CORE_ADDR, partial_symtab *> > objfile::psymbol_map

◆ psymtabs

struct partial_symtab* objfile::psymtabs = nullptr

◆ psymtabs_addrmap

struct addrmap* objfile::psymtabs_addrmap = nullptr

◆ REGISTRY_FIELDS

objfile::REGISTRY_FIELDS {}

Definition at line 385 of file objfiles.h.

◆ sect_index_bss

int objfile::sect_index_bss = -1

◆ sect_index_data

int objfile::sect_index_data = -1

◆ sect_index_rodata

int objfile::sect_index_rodata = -1

◆ sect_index_text

int objfile::sect_index_text = -1

◆ section_offsets

struct section_offsets* objfile::section_offsets = nullptr

◆ sections

struct obj_section* objfile::sections = nullptr

◆ sections_end

struct obj_section* objfile::sections_end = nullptr

◆ separate_debug_objfile

struct objfile* objfile::separate_debug_objfile = nullptr

◆ separate_debug_objfile_backlink

struct objfile* objfile::separate_debug_objfile_backlink = nullptr

◆ separate_debug_objfile_link

struct objfile* objfile::separate_debug_objfile_link = nullptr

◆ sf

const struct sym_fns* objfile::sf = nullptr

◆ static_links

htab_t objfile::static_links {}

Definition at line 470 of file objfiles.h.

Referenced by objfile_lookup_static_link(), objfile_register_static_link(), and ~objfile().

◆ static_psymbols

std::vector<partial_symbol *> objfile::static_psymbols

◆ template_symbols

struct symbol* objfile::template_symbols = nullptr

Definition at line 457 of file objfiles.h.

Referenced by new_symbol_full(), objfile_relocate1(), and reread_symbols().


The documentation for this struct was generated from the following files: