|
GDB (xrefs)
|
#include "symtab.h"#include "probe.h"#include "symfile-add-flags.h"#include "objfile-flags.h"#include "gdb_bfd.h"#include "common/function-view.h"Go to the source code of this file.
Classes | |
| struct | other_sections |
| struct | section_addr_info |
| struct | symfile_segment_data |
| struct | quick_symbol_functions |
| struct | sym_probe_fns |
| struct | sym_fns |
| struct | dwarf2_section_names |
| struct | dwarf2_debug_sections |
Typedefs | |
| typedef int() | symbol_compare_ftype(const char *string1, const char *string2) |
| typedef void() | symbol_filename_ftype(const char *filename, const char *fullname, void *data) |
| typedef bool() | expand_symtabs_file_matcher_ftype(const char *filename, bool basenames) |
| typedef bool() | expand_symtabs_symbol_matcher_ftype(const char *name) |
| typedef void() | expand_symtabs_exp_notify_ftype(compunit_symtab *symtab) |
Enumerations | |
| enum | overlay_debugging_state { ovly_off, ovly_on, ovly_auto } |
| enum | dwarf2_section_enum { DWARF2_DEBUG_FRAME, DWARF2_EH_FRAME } |
| enum | dw_index_kind { dw_index_kind::GDB_INDEX, dw_index_kind::DEBUG_NAMES } |
Variables | |
| int | auto_solib_add |
| enum overlay_debugging_state | overlay_debugging |
| int | overlay_cache_invalid |
| int | separate_debug_file_debug |
| typedef void() expand_symtabs_exp_notify_ftype(compunit_symtab *symtab) |
| typedef bool() expand_symtabs_file_matcher_ftype(const char *filename, bool basenames) |
| typedef bool() expand_symtabs_symbol_matcher_ftype(const char *name) |
| typedef int() symbol_compare_ftype(const char *string1, const char *string2) |
| typedef void() symbol_filename_ftype(const char *filename, const char *fullname, void *data) |
|
strong |
| enum dwarf2_section_enum |
| void add_compunit_symtab_to_objfile | ( | struct compunit_symtab * | cu | ) |
Definition at line 2874 of file symfile.c.
References objfile::compunit_symtabs, compunit_symtab::next, and compunit_symtab::objfile.
Referenced by end_symtab_with_blockvector(), finalize_symtab(), and new_symtab().
| void add_filename_language | ( | const char * | ext, |
| enum language | lang | ||
| ) |
Definition at line 2680 of file symfile.c.
References filename_language_table.
Referenced by add_set_language_command(), and set_ext_lang_command().
| void add_symtab_fns | ( | enum bfd_flavour | flavour, |
| const struct sym_fns * | |||
| ) |
Definition at line 1790 of file symfile.c.
References symtab_fns.
Referenced by _initialize_coffread(), _initialize_dbxread(), _initialize_elfread(), _initialize_machoread(), _initialize_mipsread(), and _initialize_xcoffread().
| void addr_info_make_relative | ( | struct section_addr_info * | addrs, |
| bfd * | abfd | ||
| ) |
Definition at line 547 of file symfile.c.
References _, other_sections::addr, addr_section_name(), addrs_section_sort(), build_section_addr_info_from_bfd(), do_cleanups(), find_lowest_section(), gdb_assert, make_cleanup(), make_cleanup_free_section_addr_info(), other_sections::name, section_addr_info::num_sections, section_addr_info::other, other_sections::sectindex, warning(), XCNEWVEC, and xfree().
Referenced by objfile_relocate(), and syms_from_objfile_1().
| struct section_addr_info* alloc_section_addr_info | ( | size_t | num_sections | ) |
Definition at line 223 of file symfile.c.
References memset(), section_addr_info::num_sections, size, and xmalloc().
Referenced by add_symbol_file_command(), build_section_addr_info_from_bfd(), build_section_addr_info_from_section_table(), jit_bfd_try_read_symtab(), symbol_file_add_from_memory(), and syms_from_objfile_1().
| struct compunit_symtab* allocate_compunit_symtab | ( | struct objfile * | , |
| const char * | |||
| ) |
Definition at line 2842 of file symfile.c.
References COMPUNIT_DEBUGFORMAT, fprintf_unfiltered(), gdb_stdlog, host_address_to_string, name, compunit_symtab::name, compunit_symtab::objfile, OBSTACK_ZALLOC, and symtab_create_debug.
Referenced by finalize_symtab(), new_symtab(), and start_symtab().
| struct symtab* allocate_symtab | ( | struct compunit_symtab * | , |
| const char * | |||
| ) |
Definition at line 2785 of file symfile.c.
References symtab::compunit_symtab, deduce_language_from_filename(), symtab::filename, objfile_per_bfd_storage::filename_cache, compunit_symtab::filetabs, fprintf_unfiltered(), symtab::fullname, gdb_stdlog, host_address_to_string, symtab::language, compunit_symtab::last_filetab, symtab::next, compunit_symtab::objfile, objfile_name(), OBSTACK_ZALLOC, objfile::per_bfd, symtab_create_debug, and xfree().
Referenced by dwarf_decode_lines(), end_symtab_with_blockvector(), finalize_symtab(), new_symtab(), and setup_type_unit_groups().
| struct section_addr_info* build_section_addr_info_from_objfile | ( | const struct objfile * | objfile | ) |
Definition at line 296 of file symfile.c.
References other_sections::addr, build_section_addr_info_from_bfd(), section_addr_info::num_sections, objfile::obfd, section_offsets::offsets, section_addr_info::other, other_sections::sectindex, and objfile::section_offsets.
Referenced by objfile_relocate(), and symbol_file_add_separate().
| struct section_addr_info* build_section_addr_info_from_section_table | ( | const struct target_section * | start, |
| const struct target_section * | end | ||
| ) |
Definition at line 240 of file symfile.c.
References other_sections::addr, target_section::addr, alloc_section_addr_info(), gdb_bfd_section_index(), other_sections::name, section_addr_info::num_sections, section_addr_info::other, other_sections::sectindex, and target_section::the_bfd_section.
Referenced by solib_read_symbols().
| void clear_symtab_users | ( | symfile_add_flags | add_flags | ) |
Definition at line 2885 of file symfile.c.
References breakpoint_re_set(), clear_current_source_symtab_and_line(), clear_displays(), clear_last_displayed_sal(), clear_pc_function_cache(), expression_context_block, innermost_block, observer_notify_new_objfile(), SYMFILE_DEFER_BP_RESET, and varobj_invalidate().
Referenced by clear_symtab_users_cleanup(), do_module_cleanup(), finish_new_objfile(), free_all_objfiles(), remove_symbol_file_command(), and reread_symbols().
| enum language deduce_language_from_filename | ( | const char * | ) |
Definition at line 2766 of file symfile.c.
References filename_language_table, and language_unknown.
Referenced by allocate_symtab(), parse_partial_symbols(), patch_subfile_names(), read_dbx_symtab(), scan_xcoff_symtab(), start_psymtab(), start_subfile(), and xcoff_start_psymtab().
| void default_symfile_offsets | ( | struct objfile * | objfile, |
| const struct section_addr_info * | |||
| ) |
Definition at line 695 of file symfile.c.
References exec_set_section_address(), gdb_bfd_count_sections(), init_objfile_sect_indices(), place_section_arg::lowest, objfile::num_sections, objfile::obfd, place_section_arg::offsets, section_offsets::offsets, place_section(), relative_addr_info_to_section_offsets(), objfile::section_offsets, and SIZEOF_N_SECTION_OFFSETS.
Referenced by xcoff_symfile_offsets().
| bfd_byte* default_symfile_relocate | ( | struct objfile * | objfile, |
| asection * | sectp, | ||
| bfd_byte * | buf | ||
| ) |
Definition at line 3625 of file symfile.c.
References symfile_dummy_outputs().
| struct symfile_segment_data* default_symfile_segments | ( | bfd * | abfd | ) |
Definition at line 785 of file symfile.c.
References symfile_segment_data::num_segments, symfile_segment_data::segment_bases, symfile_segment_data::segment_info, symfile_segment_data::segment_sizes, XCNEW, and XCNEWVEC.
| void dwarf2_build_frame_info | ( | struct objfile * | ) |
Definition at line 2193 of file dwarf2-frame.c.
References _, comp_unit::abfd, dwarf2_fde::address_range, CATCH, comp_unit::dbase, decode_frame_entry(), DWARF2_DEBUG_FRAME, DWARF2_EH_FRAME, dwarf2_frame_objfile_data, dwarf2_get_section_info(), comp_unit::dwarf_frame_buffer, comp_unit::dwarf_frame_section, comp_unit::dwarf_frame_size, EH_CIE_OR_FDE_TYPE_ID, END_CATCH, dwarf2_cie_table::entries, dwarf2_fde_table::entries, dwarf2_fde::initial_location, dwarf2_cie_table::num_entries, dwarf2_fde_table::num_entries, objfile::obfd, comp_unit::objfile, objfile_name(), qsort, qsort_fde_cmp(), RETURN_MASK_ERROR, objfile::separate_debug_objfile_backlink, comp_unit::tbase, TRY, warning(), xfree(), and XRESIZEVEC.
Referenced by coff_symfile_read(), dwarf2_frame_find_fde(), macho_symfile_read(), and xcoff_initial_scan().
| void dwarf2_build_psymtabs | ( | struct objfile * | ) |
Definition at line 6519 of file dwarf2read.c.
References CATCH, dwarf2_build_psymtabs_hard(), END_CATCH, exception_print(), gdb_stderr, objfile::global_psymbols, init_psymbol_list(), psymtab_discarder::keep(), RETURN_MASK_ERROR, objfile::static_psymbols, and TRY.
Referenced by coff_symfile_read(), macho_symfile_read(), read_psyms(), and xcoff_initial_scan().
| void dwarf2_free_objfile | ( | struct objfile * | ) |
Definition at line 25113 of file dwarf2read.c.
References dwarf2_objfile_data_key, and dwarf2_per_objfile::~dwarf2_per_objfile().
Referenced by coff_symfile_finish(), elf_symfile_finish(), and xcoff_symfile_finish().
| void dwarf2_get_section_info | ( | struct objfile * | , |
| enum | dwarf2_section_enum, | ||
| asection ** | , | ||
| const gdb_byte ** | , | ||
| bfd_size_type * | |||
| ) |
Definition at line 2771 of file dwarf2read.c.
References dwarf2_section_info::buffer, DWARF2_DEBUG_FRAME, DWARF2_EH_FRAME, dwarf2_objfile_data_key, dwarf2_read_section(), dwarf2_per_objfile::eh_frame, dwarf2_per_objfile::frame, gdb_assert_not_reached, get_section_bfd_section(), and dwarf2_section_info::size.
Referenced by dwarf2_build_frame_info().
| int dwarf2_has_info | ( | struct objfile * | , |
| const struct dwarf2_debug_sections * | |||
| ) |
Definition at line 2424 of file dwarf2read.c.
References dwarf2_per_objfile::abbrev, dwarf2_objfile_data_key, objfile::flags, dwarf2_per_objfile::info, dwarf2_section_info::is_virtual, OBJF_READNEVER, dwarf2_section_info::s, and dwarf2_section_info::section.
Referenced by coff_symfile_read(), elf_symfile_read(), macho_symfile_read(), read_psyms(), and xcoff_initial_scan().
| bool dwarf2_initialize_objfile | ( | struct objfile * | objfile, |
| dw_index_kind * | index_kind | ||
| ) |
Definition at line 6467 of file dwarf2read.c.
References create_all_comp_units(), create_all_type_units(), create_quick_file_names_table(), DEBUG_NAMES, dw2_get_cutu(), dwarf2_read_debug_names(), dwarf2_read_index(), objfile::flags, GDB_INDEX, OBJF_READNOW, OBSTACK_ZALLOC, dwarf2_per_cu_data::quick, dwarf2_per_objfile::quick_file_names_table, dwarf2_per_objfile::using_index, and dwarf2_per_cu_data::v.
Referenced by elf_symfile_read().
| void elfmdebug_build_psymtabs | ( | struct objfile * | , |
| const struct ecoff_debug_swap * | , | ||
| asection * | |||
| ) |
Definition at line 4868 of file mdebugread.c.
References _, error(), minimal_symbol_reader::install(), mdebug_build_psymtabs(), and objfile::obfd.
Referenced by elf_symfile_read().
| 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 | ||
| ) |
Definition at line 3803 of file symfile.c.
References ALL_OBJFILES, quick_symbol_functions::expand_symtabs_matching, objfile::objfile(), sym_fns::qf, and objfile::sf.
Referenced by ada_add_global_exceptions(), ada_collect_symbol_completion_matches(), default_collect_symbol_completion_matches_break_on(), and search_symbols().
| void find_lowest_section | ( | bfd * | , |
| asection * | , | ||
| void * | |||
| ) |
Definition at line 202 of file symfile.c.
Referenced by addr_info_make_relative().
| struct obj_section* find_pc_mapped_section | ( | CORE_ADDR | ) |
Definition at line 3202 of file symfile.c.
References ALL_OBJSECTIONS, objfile::objfile(), overlay_debugging, pc_in_mapped_range(), and section_is_mapped().
Referenced by backtrace_command_1(), block_for_pc(), blockvector_for_pc(), find_pc_compunit_symtab(), find_pc_function(), and find_pc_section().
| struct obj_section* find_pc_overlay | ( | CORE_ADDR | ) |
Definition at line 3173 of file symfile.c.
References ALL_OBJSECTIONS, objfile::objfile(), overlay_debugging, pc_in_mapped_range(), pc_in_unmapped_range(), section_is_mapped(), and section_is_overlay().
Referenced by arm_linux_copy_svc(), build_address_symbolic(), call_function_by_hand_dummy(), convert_address_location_to_sals(), create_internal_breakpoint(), elf_gnu_ifunc_resolver_stop(), find_pc_line(), find_pc_partial_function_gnu_ifunc(), handle_step_into_function(), insert_hp_step_resume_breakpoint_at_frame(), insert_single_step_breakpoint(), insert_step_resume_breakpoint_at_caller(), memory_xfer_partial_1(), parse_probes_in_pspace(), process_event_stop_test(), and set_momentary_breakpoint_at_pc().
| char* find_separate_debug_file_by_debuglink | ( | struct objfile * | ) |
Definition at line 1551 of file symfile.c.
References find_separate_debug_file(), objfile::obfd, objfile_name(), string, and terminate_after_last_dir_separator().
Referenced by coff_symfile_read(), and elf_symfile_read().
| gdb_bfd_ref_ptr find_separate_debug_file_in_section | ( | struct objfile * | ) |
Definition at line 259 of file minidebug.c.
References _, gdb_bfd_openr_iovec(), gdb::ref_ptr< T, Policy >::get(), gnutarget, lzma_close(), lzma_open(), lzma_pread(), lzma_stat(), objfile::obfd, objfile_name(), gdb_lzma_stream::section, and warning().
Referenced by read_symbols().
| void free_section_addr_info | ( | struct section_addr_info * | ) |
Definition at line 317 of file symfile.c.
References other_sections::name, section_addr_info::num_sections, section_addr_info::other, and xfree().
Referenced by do_free_section_addr_info(), and solib_read_symbols().
| void free_symfile_segment_data | ( | struct symfile_segment_data * | data | ) |
Definition at line 3679 of file symfile.c.
References symfile_segment_data::segment_bases, symfile_segment_data::segment_info, symfile_segment_data::segment_sizes, and xfree().
Referenced by get_offsets(), solib_target_relocate_section_addresses(), and symfile_find_segment_sections().
| int get_section_index | ( | struct objfile * | , |
| const char * | |||
| ) |
Definition at line 1773 of file symfile.c.
References objfile::obfd.
Referenced by parse_partial_symbols(), and record_minimal_symbol().
| struct symfile_segment_data* get_symfile_segment_data | ( | bfd * | abfd | ) |
Definition at line 3668 of file symfile.c.
References find_sym_fns(), and sym_fns::sym_segments.
Referenced by get_offsets(), solib_target_relocate_section_addresses(), and symfile_find_segment_sections().
| scoped_restore_tmpl<int> increment_reading_symtab | ( | void | ) |
Definition at line 185 of file symfile.c.
References currently_reading_symtab, gdb_assert, and make_scoped_restore().
Referenced by dw2_instantiate_symtab(), and psymtab_to_symtab().
| void map_symbol_filenames | ( | symbol_filename_ftype * | fun, |
| void * | data, | ||
| int | need_fullname | ||
| ) |
Definition at line 3826 of file symfile.c.
References ALL_OBJFILES, quick_symbol_functions::map_symbol_filenames, objfile::objfile(), sym_fns::qf, and objfile::sf.
Referenced by info_sources_command(), make_source_files_completion_list(), and mi_cmd_file_list_exec_source_files().
| void mdebug_build_psymtabs | ( | minimal_symbol_reader & | , |
| struct objfile * | , | ||
| const struct ecoff_debug_swap * | , | ||
| struct ecoff_debug_info * | |||
| ) |
Definition at line 338 of file mdebugread.c.
References _, buildsym_new_init(), compare_glevel, cur_bfd, debug_info, debug_swap, free_header_files(), gdb_flush(), gdb_stdout, init_header_files(), max_gdbinfo, max_glevel, objfile::obfd, parse_partial_symbols(), printf_unfiltered(), and stabsread_new_init().
Referenced by elfmdebug_build_psymtabs(), and mipscoff_symfile_read().
| CORE_ADDR overlay_mapped_address | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 3125 of file symfile.c.
References pc_in_unmapped_range(), section_is_overlay(), and obj_section::the_bfd_section.
Referenced by build_address_symbolic(), find_pc_line(), find_pc_partial_function_gnu_ifunc(), info_symbol_command(), memory_xfer_partial_1(), and skip_prologue_sal().
| CORE_ADDR overlay_unmapped_address | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 3107 of file symfile.c.
References pc_in_mapped_range(), section_is_overlay(), and obj_section::the_bfd_section.
Referenced by find_pc_partial_function_gnu_ifunc(), info_address_command(), insert_bp_location(), skip_prologue_sal(), and symbol_overlayed_address().
| CORE_ADDR pc_in_mapped_range | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 3076 of file symfile.c.
References obj_section_addr, obj_section_endaddr, and section_is_overlay().
Referenced by find_pc_mapped_section(), find_pc_overlay(), and overlay_unmapped_address().
| CORE_ADDR pc_in_unmapped_range | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 3053 of file symfile.c.
References objfile::obfd, obj_section_offset, obj_section::objfile, offset, section_is_overlay(), size, and obj_section::the_bfd_section.
Referenced by build_address_symbolic(), find_pc_line(), find_pc_overlay(), find_pc_partial_function_gnu_ifunc(), info_symbol_command(), memory_xfer_partial_1(), and overlay_mapped_address().
| int print_symbol_loading_p | ( | int | from_tty, |
| int | mainline, | ||
| int | full | ||
| ) |
Definition at line 161 of file symfile.c.
References info_verbose, print_symbol_loading, print_symbol_loading_brief, print_symbol_loading_full, and print_symbol_loading_off.
Referenced by reload_shared_libraries_1(), solib_add(), and symbol_file_add_with_addrs().
| void relative_addr_info_to_section_offsets | ( | struct section_offsets * | section_offsets, |
| int | num_sections, | ||
| const struct section_addr_info * | addrs | ||
| ) |
Definition at line 464 of file symfile.c.
References other_sections::addr, memset(), section_addr_info::num_sections, section_offsets::offsets, section_addr_info::other, other_sections::sectindex, and SIZEOF_N_SECTION_OFFSETS.
Referenced by default_symfile_offsets(), and objfile_relocate().
| int section_is_mapped | ( | struct obj_section * | ) |
Definition at line 3017 of file symfile.c.
References gdbarch_overlay_update(), gdbarch_overlay_update_p(), get_objfile_arch(), obj_section::objfile, overlay_cache_invalid, overlay_debugging, overlay_invalidate_all(), ovly_auto, obj_section::ovly_mapped, ovly_off, ovly_on, and section_is_overlay().
Referenced by bkpt_breakpoint_hit(), bp_location_inserted_here_p(), breakpoint_here_p(), breakpoint_in_range_p(), find_pc_mapped_section(), find_pc_overlay(), info_symbol_command(), insert_bp_location(), is_addr_in_objfile(), jump_command(), list_overlays_command(), remove_breakpoint_1(), skip_prologue_sal(), and symbol_overlayed_address().
| int section_is_overlay | ( | struct obj_section * | ) |
Definition at line 2978 of file symfile.c.
References overlay_debugging, and obj_section::the_bfd_section.
Referenced by bkpt_breakpoint_hit(), bp_location_inserted_here_p(), breakpoint_here_p(), breakpoint_in_range_p(), clear_command(), find_pc_overlay(), info_address_command(), info_symbol_command(), insert_bp_location(), is_addr_in_objfile(), jump_command(), map_overlay_command(), overlay_invalidate_all(), overlay_mapped_address(), overlay_unmapped_address(), pc_in_mapped_range(), pc_in_unmapped_range(), remove_breakpoint_1(), section_is_mapped(), simple_overlay_update(), skip_prologue_sal(), spu_overlay_update(), and symbol_overlayed_address().
| void set_initial_language | ( | void | ) |
Definition at line 1690 of file symfile.c.
References current_language, expected_language, language_c, language_unknown, lookup_symbol(), main_language(), main_name(), name, set_language(), block_symbol::symbol, SYMBOL_LANGUAGE, and VAR_DOMAIN.
Referenced by set_language_command(), and symbol_file_add_main_1().
| void simple_overlay_update | ( | struct obj_section * | ) |
Definition at line 3559 of file symfile.c.
References _, ALL_OBJSECTIONS, BMSYMBOL_VALUE_ADDRESS, cache_novlys, cache_ovly_table, cache_ovly_table_base, error(), LMA, lookup_minimal_symbol(), MAPPED, bound_minimal_symbol::minsym, objfile::objfile(), obj_section::ovly_mapped, section_is_overlay(), simple_overlay_update_1(), simple_read_overlay_table(), obj_section::the_bfd_section, and VMA.
Referenced by ft32_gdbarch_init(), m32r_gdbarch_init(), and moxie_gdbarch_init().
| struct objfile* symbol_file_add | ( | const char * | , |
| symfile_add_flags | , | ||
| struct section_addr_info * | , | ||
| objfile_flags | |||
| ) |
Definition at line 1270 of file symfile.c.
References flags, gdb::ref_ptr< T, Policy >::get(), name, symbol_file_add_from_bfd(), and symfile_bfd_open().
Referenced by add_symbol_file_command(), and symbol_file_add_main_1().
| struct objfile* symbol_file_add_from_bfd | ( | bfd * | , |
| const char * | , | ||
| symfile_add_flags | , | ||
| struct section_addr_info * | , | ||
| objfile_flags | , | ||
| struct objfile * | parent | ||
| ) |
Definition at line 1257 of file symfile.c.
References flags, name, and symbol_file_add_with_addrs().
Referenced by compile_object_load(), jit_bfd_try_read_symtab(), macho_add_oso_symfile(), solib_read_symbols(), spu_symbol_file_add_from_memory(), symbol_file_add(), and symbol_file_add_from_memory().
| void symbol_file_add_main | ( | const char * | args, |
| symfile_add_flags | add_flags | ||
| ) |
Definition at line 1288 of file symfile.c.
References symbol_file_add_main_1().
Referenced by add_inferior_command(), clone_program_space(), open_symbol_file_object(), symbol_file_add_main_adapter(), and try_open_exec_file().
| void symbol_file_add_separate | ( | bfd * | , |
| const char * | , | ||
| symfile_add_flags | , | ||
| struct objfile * | |||
| ) |
Definition at line 1230 of file symfile.c.
References build_section_addr_info_from_objfile(), do_cleanups(), objfile::flags, make_cleanup_free_section_addr_info(), name, OBJF_READNOW, OBJF_REORDERED, OBJF_SHARED, OBJF_USERLOADED, and symbol_file_add_with_addrs().
Referenced by coff_symfile_read(), elf_symfile_read(), macho_symfile_read(), objfpy_add_separate_debug_file(), and read_symbols().
| void symbol_file_clear | ( | int | from_tty | ) |
Definition at line 1310 of file symfile.c.
References _, error(), free_all_objfiles(), gdb_assert, have_full_symbols(), have_partial_symbols(), no_shared_libraries(), objfile_name(), printf_unfiltered(), query(), and symfile_objfile.
Referenced by symbol_file_command().
| CORE_ADDR symbol_overlayed_address | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
| gdb_bfd_ref_ptr symfile_bfd_open | ( | const char * | ) |
Definition at line 1719 of file symfile.c.
References _, do_cleanups(), error(), gdb_bfd_has_target_filename(), gdb_bfd_open(), gdb::ref_ptr< T, Policy >::get(), gnutarget, is_target_filename(), make_cleanup(), name, null_cleanup(), O_BINARY, openp(), OPF_RETURN_REALPATH, OPF_TRY_CWD_FIRST, perror_with_name(), and xfree().
Referenced by coff_symfile_read(), elf_symfile_read(), objfpy_add_separate_debug_file(), and symbol_file_add().
| int symfile_map_offsets_to_segments | ( | bfd * | , |
| const struct symfile_segment_data * | , | ||
| struct section_offsets * | , | ||
| int | , | ||
| const CORE_ADDR * | |||
| ) |
Definition at line 3703 of file symfile.c.
References gdb_assert, symfile_segment_data::num_segments, section_offsets::offsets, symfile_segment_data::segment_bases, and symfile_segment_data::segment_info.
Referenced by get_offsets(), and solib_target_relocate_section_addresses().
| bfd_byte* symfile_relocate_debug_section | ( | struct objfile * | , |
| asection * | , | ||
| bfd_byte * | |||
| ) |
Definition at line 3659 of file symfile.c.
References gdb_assert, bound_minimal_symbol::objfile, objfile::sf, and sym_fns::sym_relocate.
Referenced by dbx_read_symtab(), dwarf2_read_section(), and elfstab_build_psymtabs().
| int auto_solib_add |
Definition at line 149 of file symfile.c.
Referenced by _initialize_solib(), enable_break(), handle_solib_event(), post_create_inferior(), reload_shared_libraries(), reload_shared_libraries_1(), remote_start_remote(), and svr4_fetch_objfile_link_map().
| int overlay_cache_invalid |
Definition at line 2971 of file symfile.c.
Referenced by fetch_inferior_event(), load_command(), prepare_for_detach(), section_is_mapped(), wait_for_inferior(), and wait_one().
| enum overlay_debugging_state overlay_debugging |
| int separate_debug_file_debug |
Definition at line 1333 of file symfile.c.
Referenced by _initialize_symfile(), build_id_to_debug_bfd(), find_separate_debug_file(), find_separate_debug_file_by_buildid(), and separate_debug_file_exists().
1.8.14