|
GDB (xrefs)
|
#include <array>#include <vector>#include <string>#include "gdb_vecs.h"#include "gdbtypes.h"#include "common/enum-flags.h"#include "common/function-view.h"#include "common/gdb_optional.h"#include "completer.h"#include "minsyms.h"Go to the source code of this file.
Classes | |
| class | ada_lookup_name_info |
| struct | demangle_for_lookup_info |
| class | lookup_name_info |
| struct | general_symbol_info |
| struct | minimal_symbol |
| struct | symbol_computed_ops |
| struct | symbol_block_ops |
| struct | symbol_register_ops |
| struct | symbol_impl |
| struct | symbol |
| struct | block_symbol |
| struct | template_symbol |
| struct | rust_vtable_symbol |
| struct | linetable_entry |
| struct | linetable |
| struct | section_offsets |
| struct | symtab |
| struct | compunit_symtab |
| struct | field_of_this_result |
| struct | gnu_ifunc_fns |
| struct | symtab_and_line |
| struct | symbol_search |
| class | demangle_result_storage |
Typedefs | |
| typedef bool() | symbol_name_matcher_ftype(const char *symbol_search_name, const lookup_name_info &lookup_name, completion_match_result *comp_match_res) |
| typedef enum domain_enum_tag | domain_enum |
| typedef struct symtab * | symtab_ptr |
| typedef struct compunit_symtab * | compunit_symtab_ptr |
| typedef bool() | symbol_found_callback_ftype(symbol *sym) |
Variables | |
| int | demangle |
| const struct symbol_impl * | symbol_impls |
| const struct block_symbol | null_block_symbol |
| int | currently_reading_symtab |
| const char | multiple_symbols_ask [] |
| const char | multiple_symbols_all [] |
| const char | multiple_symbols_cancel [] |
| const struct gnu_ifunc_fns * | gnu_ifunc_fns_p |
| unsigned int | symtab_create_debug |
| unsigned int | symbol_lookup_debug |
| int | basenames_may_differ |
| #define ALL_COMPUNIT_FILETABS | ( | cu, | |
| s | |||
| ) | for ((s) = (cu) -> filetabs; (s) != NULL; (s) = (s) -> next) |
Definition at line 1474 of file symtab.h.
Referenced by count_symtabs_and_blocks(), end_symtab_with_blockvector(), find_pc_sect_line(), iterate_over_some_symtabs(), maintenance_info_line_tables(), and maintenance_info_symtabs().
| #define ANOFFSET | ( | secoff, | |
| whichone | |||
| ) |
Definition at line 1276 of file symtab.h.
Referenced by add_address_entry(), add_partial_subprogram(), add_partial_symbol(), add_pe_forwarded_sym(), amd64_windows_find_unwind_info(), coff_symtab_read(), create_addrmap_from_aranges(), create_addrmap_from_index(), dsbt_relocate_main_executable(), dwarf2_frame_find_fde(), dwarf2_per_cu_text_offset(), dwarf2_ranges_process(), dwarf2_ranges_read(), dwarf2_rnglists_process(), dwarf_decode_lines_1(), enable_break(), enter_line_range(), enter_linenos(), entry_point_address_query(), execute_cfa_program(), fixup_section(), frv_relocate_main_executable(), dtrace_probe::get_relocated_address(), hppabsd_find_global_pointer(), init_objfile_sect_indices(), new_symbol_full(), objfile_relocate1(), parse_partial_symbols(), parse_symbol(), process_coff_symbol(), process_full_comp_unit(), process_one_symbol(), process_psymtab_comp_unit_reader(), process_xcoff_symbol(), psym_relocate(), psymtab_to_symtab_1(), read_call_site_scope(), read_dbx_symtab(), read_file_scope(), read_func_scope(), read_lexical_block_scope(), read_unwind_info(), read_xcoff_symtab(), relocate_address(), relocate_one_symbol(), scan_xcoff_symtab(), and var_decode_location().
| #define BMSYMBOL_VALUE_ADDRESS | ( | symbol | ) | MSYMBOL_VALUE_ADDRESS ((symbol).objfile, (symbol).minsym) |
Definition at line 691 of file symtab.h.
Referenced by ada_add_standard_exceptions(), ada_main_name(), ada_tasks_inferior_data_sniffer(), add_pe_forwarded_sym(), arm_skip_stub(), avr_scan_prologue(), bsd_uthread_lookup_address(), build_address_symbolic(), call_site_to_target_addr(), compile_object_load(), convert_code_addr_to_desc_addr(), create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), dbx_end_psymtab(), default_read_var_value(), define_symbol(), elf_gnu_ifunc_record_cache(), elf_gnu_ifunc_resolve_by_got(), elf_locate_base(), enable_break(), find_frame_funname(), find_function_in_inferior(), find_minimal_symbol_address(), find_minsym_type_and_address(), find_objc_msgsend(), find_pc_partial_function_gnu_ifunc(), find_pc_sect_line(), find_pc_sect_psymtab(), find_pc_sect_psymtab_closer(), find_stab_function_addr(), flush_ea_cache(), frv_frame_this_id(), ft32_analyze_prologue(), gcc_symbol_address(), gen_var_ref(), get_pc_function_start(), get_running_thread_id(), glibc_skip_solib_resolver(), gnuv3_get_typeid(), gnuv3_skip_trampoline(), hppa_symbol_address(), inferior_has_bug(), info_address_command(), info_scope_command(), inside_main_func(), jit_breakpoint_re_set_internal(), ld_so_xfer_auxv(), lm_base(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_return_value(), m32r_frame_this_id(), m68hc11_get_register_info(), macho_resolve_oso_sym_with_minsym(), main_got(), maintenance_translate_address(), minimal_symbol_upper_bound(), mips_linux_skip_resolver(), mips_skip_pic_trampoline_code(), obsd_skip_solib_resolver(), ocl_enable_break(), pascal_val_print(), pd_enable(), pdc_symbol_addrs(), ppc_elfv2_skip_entrypoint(), print_msymbol_info(), print_unpacked_pointer(), ps_pglobal_lookup(), remote_check_symbols(), simple_overlay_update(), simple_read_overlay_table(), skip_prologue_function(), skip_prologue_sal(), sol2_skip_solib_resolver(), spu_catch_start(), spu_enable_break(), spu_get_overlay_table(), tui_find_disassembly_address(), tui_get_begin_asm_address(), until_next_command(), value_fn_field(), and value_static_field().
| #define COMPUNIT_BLOCK_LINE_SECTION | ( | cust | ) | ((cust)->block_line_section) |
Definition at line 1466 of file symtab.h.
Referenced by end_symtab_with_blockvector(), and objfile_relocate1().
| #define COMPUNIT_BLOCKVECTOR | ( | cust | ) | ((cust)->blockvector) |
Definition at line 1465 of file symtab.h.
Referenced by ada_add_global_exceptions(), ada_collect_symbol_completion_matches(), add_nonlocal_symbols(), add_symtab_completions(), augment_type_symtab(), basic_lookup_transparent_type_1(), basic_lookup_transparent_type_quick(), block_iter_match_step(), block_iterator_step(), blockvector_for_pc_sect(), count_symtabs_and_blocks(), dw2_debug_names_lookup_symbol(), dw2_lookup_symbol(), end_symtab_with_blockvector(), finalize_symtab(), find_pc_sect_compunit_symtab(), find_pc_sect_line(), find_symbol_at_address(), lookup_objfile_from_block(), lookup_symbol_in_objfile_symtabs(), lookup_symbol_via_quick_fns(), maintenance_check_psymtabs(), maintenance_check_symtabs(), maintenance_info_symtabs(), make_symbol_overload_list_qualified(), new_symtab(), objfile_relocate1(), parse_procedure(), psym_lookup_symbol(), psym_map_matching_symbols(), psymtab_to_symtab_1(), recursively_find_pc_sect_compunit_symtab(), search_symbols(), and spu_catch_start().
| #define COMPUNIT_CALL_SITE_HTAB | ( | cust | ) | ((cust)->call_site_htab) |
Definition at line 1469 of file symtab.h.
Referenced by call_site_for_pc().
| #define COMPUNIT_DEBUGFORMAT | ( | cust | ) | ((cust)->debugformat) |
Definition at line 1462 of file symtab.h.
Referenced by allocate_compunit_symtab(), end_symtab_with_blockvector(), info_source_command(), maintenance_info_symtabs(), new_symtab(), and or1k_skip_prologue().
| #define COMPUNIT_DIRNAME | ( | cust | ) | ((cust)->dirname) |
Definition at line 1464 of file symtab.h.
Referenced by end_symtab_with_blockvector(), finalize_symtab(), macro_source_fullname(), maintenance_info_symtabs(), and restart_symtab().
| #define COMPUNIT_EPILOGUE_UNWIND_VALID | ( | cust | ) | ((cust)->epilogue_unwind_valid) |
Definition at line 1468 of file symtab.h.
Referenced by amd64_stack_frame_destroyed_p(), and i386_stack_frame_destroyed_p().
| #define COMPUNIT_FILETABS | ( | cust | ) | ((cust)->filetabs) |
Definition at line 1461 of file symtab.h.
Referenced by compunit_primary_filetab(), dump_symtab_1(), end_symtab_with_blockvector(), finalize_symtab(), iterate_over_all_matching_symtabs(), process_full_comp_unit(), process_full_type_unit(), psymtab_to_symtab_1(), and set_missing_symtab().
| #define COMPUNIT_LOCATIONS_VALID | ( | cust | ) | ((cust)->locations_valid) |
Definition at line 1467 of file symtab.h.
Referenced by find_function_start_sal(), minsym_found(), and skip_prologue_sal().
| #define COMPUNIT_MACRO_TABLE | ( | cust | ) | ((cust)->macro_table) |
Definition at line 1470 of file symtab.h.
Referenced by end_symtab_with_blockvector(), info_source_command(), mi_cmd_file_list_exec_source_file(), and sal_macro_scope().
| #define COMPUNIT_OBJFILE | ( | cust | ) | ((cust)->objfile) |
Definition at line 1460 of file symtab.h.
Referenced by block_objfile(), gdbpy_block_for_pc(), gdbscm_lookup_block(), and restart_symtab().
| #define COMPUNIT_PRODUCER | ( | cust | ) | ((cust)->producer) |
Definition at line 1463 of file symtab.h.
Referenced by amd64_skip_prologue(), amd64_skip_xmm_prologue(), arm_skip_prologue(), dwarf2_frame_find_quirks(), end_symtab_with_blockvector(), i386_skip_prologue(), info_source_command(), maintenance_info_symtabs(), and stpy_get_producer().
| #define GCC2_COMPILED_FLAG_SYMBOL "gcc2_compiled." |
Definition at line 1712 of file symtab.h.
Referenced by process_one_symbol(), read_ofile_symtab(), and minimal_symbol_reader::record_full().
| #define GCC_COMPILED_FLAG_SYMBOL "gcc_compiled." |
Definition at line 1707 of file symtab.h.
Referenced by read_ofile_symtab(), and minimal_symbol_reader::record_full().
| #define gnu_ifunc_resolve_addr gnu_ifunc_fns_p->gnu_ifunc_resolve_addr |
Definition at line 1736 of file symtab.h.
Referenced by compile_object_load(), convert_one_symbol(), convert_symbol_bmsym(), find_function_addr(), and gcc_symbol_address().
| #define gnu_ifunc_resolve_name gnu_ifunc_fns_p->gnu_ifunc_resolve_name |
Definition at line 1737 of file symtab.h.
Referenced by set_breakpoint_location_function().
| #define gnu_ifunc_resolver_return_stop gnu_ifunc_fns_p->gnu_ifunc_resolver_return_stop |
Definition at line 1739 of file symtab.h.
Referenced by bpstat_run_callbacks().
| #define gnu_ifunc_resolver_stop gnu_ifunc_fns_p->gnu_ifunc_resolver_stop |
Definition at line 1738 of file symtab.h.
Referenced by bpstat_run_callbacks().
| #define MSYMBOL_DEMANGLED_NAME | ( | symbol | ) | (symbol_demangled_name (&(symbol)->mginfo)) |
Definition at line 710 of file symtab.h.
Referenced by dump_msymbols(), gnuv3_get_typename_from_type_info(), gnuv3_rtti_type(), and gnuv3_skip_trampoline().
| #define MSYMBOL_HAS_SIZE | ( | msymbol | ) | ((msymbol)->has_size + 0) |
Definition at line 679 of file symtab.h.
Referenced by build_address_symbolic().
| #define MSYMBOL_LANGUAGE | ( | symbol | ) | (symbol)->mginfo.language |
Definition at line 698 of file symtab.h.
Referenced by ada_collect_symbol_completion_matches(), add_minsym_to_demangled_hash_table(), completion_list_add_msymbol(), find_frame_funname(), and info_frame_command().
| #define MSYMBOL_LINKAGE_NAME | ( | symbol | ) | (symbol)->mginfo.name |
Definition at line 707 of file symtab.h.
Referenced by ada_collect_symbol_completion_matches(), ada_lookup_simple_minsym(), add_minsym_to_hash_table(), amd64_skip_main_prologue(), amd64_windows_skip_trampoline_code(), arm_pe_skip_trampoline_code(), arm_skip_stack_protector(), arm_wince_skip_main_prologue(), build_address_symbolic(), build_minimal_symbol_hash_tables(), coff_symfile_read(), compact_minimal_symbols(), compare_minimal_symbols(), convert_code_addr_to_desc_addr(), dump_msymbols(), find_pc_partial_function_gnu_ifunc(), find_pc_sect_line(), find_solib_trampoline_target(), frv_skip_main_prologue(), ftrace_function_switched(), gdbpy_rbreak(), get_prev_frame_always_1(), gnuv2_value_rtti_type(), gnuv3_get_typename_from_type_info(), hppa_lookup_stub_minimal_symbol(), i386_pe_skip_trampoline_code(), i386_skip_main_prologue(), ia64_convert_from_func_ptr_addr(), info_checkpoints_command(), iterate_over_minimal_symbols(), lookup_minimal_symbol_and_objfile(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_mangled(), lookup_minimal_symbol_solib_trampoline(), lookup_minimal_symbol_text(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), minimal_symbol_upper_bound(), mips_skip_pic_trampoline_code(), mips_stub_frame_sniffer(), msp430_skip_trampoline_code(), powerpc_linux_in_dynsym_resolve_code(), rbreak_command(), read_atcb(), rs6000_skip_main_prologue(), rs6000_skip_trampoline_code(), scan_file_globals(), search_symbols(), skip_prologue_function(), and skip_prologue_sal().
| #define MSYMBOL_NATURAL_NAME | ( | symbol | ) | (symbol_natural_name (&(symbol)->mginfo)) |
Definition at line 705 of file symtab.h.
Referenced by completion_list_add_msymbol(), completion_list_objc_symbol(), convert_symbol_bmsym(), find_imps(), find_methods(), info_classes_command(), info_selectors_command(), minsym_found(), and search_symbols().
Definition at line 700 of file symtab.h.
Referenced by default_read_var_value(), dump_msymbols(), elf_gnu_ifunc_record_cache(), find_minsym_type_and_address(), info_address_command(), lookup_minimal_symbol_by_pc_section_1(), maintenance_translate_address(), minimal_symbol_upper_bound(), minsym_found(), resolve_sal_pc(), skip_prologue_sal(), and spu_catch_start().
| #define MSYMBOL_PRINT_NAME | ( | symbol | ) | (demangle ? MSYMBOL_NATURAL_NAME (symbol) : MSYMBOL_LINKAGE_NAME (symbol)) |
Definition at line 708 of file symtab.h.
Referenced by btrace_call_history(), btrace_get_bfun_name(), build_address_symbolic(), call_site_find_chain_1(), call_site_for_pc(), call_site_to_target_addr(), dump_subexp_body_standard(), dwarf_expr_reg_to_entry_parameter(), evaluate_funcall(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), find_frame_funname(), ftrace_print_function_name(), func_verify_no_selftailcall(), gen_expr(), get_function_name(), info_cb(), info_frame_command(), info_symbol_command(), maintenance_translate_address(), pascal_val_print(), print_msymbol_info(), print_subexp_standard(), print_unpacked_pointer(), py_print_frame(), rbreak_command(), and tailcall_dump().
| #define MSYMBOL_SEARCH_NAME | ( | symbol | ) | (symbol_search_name (&(symbol)->mginfo)) |
Definition at line 714 of file symtab.h.
Referenced by add_minsym_to_demangled_hash_table(), build_minimal_symbol_hash_tables(), iterate_over_minimal_symbols(), lookup_minimal_symbol_demangled(), pascal_val_print(), and print_unpacked_pointer().
Definition at line 699 of file symtab.h.
Referenced by add_pe_forwarded_sym(), compact_minimal_symbols(), fixup_section(), minimal_symbol_upper_bound(), minimal_symbol_reader::record_full(), and scan_file_globals().
| #define MSYMBOL_SET_LANGUAGE | ( | symbol, | |
| language, | |||
| obstack | |||
| ) | (symbol_set_language (&(symbol)->mginfo, (language), (obstack))) |
Definition at line 712 of file symtab.h.
Referenced by minimal_symbol_reader::record_full(), and terminate_minimal_symbol_table().
| #define MSYMBOL_SET_NAMES | ( | symbol, | |
| linkage_name, | |||
| len, | |||
| copy_name, | |||
| objfile | |||
| ) | symbol_set_names (&(symbol)->mginfo, linkage_name, len, copy_name, objfile) |
Definition at line 716 of file symtab.h.
Referenced by minimal_symbol_reader::record_full().
| #define MSYMBOL_SIZE | ( | msymbol | ) | ((msymbol)->size + 0) |
Definition at line 672 of file symtab.h.
Referenced by build_address_symbolic(), dbx_end_psymtab(), elf_gnu_ifunc_resolve_by_got(), elf_symtab_read(), ld_so_xfer_auxv(), lookup_minimal_symbol_by_pc_section_1(), minimal_symbol_upper_bound(), mips_skip_pic_trampoline_code(), and spu_get_overlay_table().
| #define MSYMBOL_TARGET_FLAG_1 | ( | msymbol | ) | (msymbol)->target_flag_1 |
Definition at line 670 of file symtab.h.
Referenced by ppc_elfv2_elf_make_msymbol_special(), ppc_elfv2_skip_entrypoint(), minimal_symbol_reader::record_full(), and sh64_elf_make_msymbol_special().
| #define MSYMBOL_TARGET_FLAG_2 | ( | msymbol | ) | (msymbol)->target_flag_2 |
Definition at line 671 of file symtab.h.
Referenced by minimal_symbol_reader::record_full().
| #define MSYMBOL_TYPE | ( | msymbol | ) | (msymbol)->type |
Definition at line 680 of file symtab.h.
Referenced by ada_has_this_exception_support(), ada_lookup_simple_minsym(), add_pe_forwarded_sym(), build_address_symbolic(), coff_symfile_read(), compact_minimal_symbols(), compare_msyms(), compile_object_load(), convert_symbol_bmsym(), create_std_terminate_master_breakpoint(), dump_msymbols(), elf_gnu_ifunc_resolve_by_got(), expand_symtab_containing_pc(), find_minsym_type_and_address(), find_pc_partial_function_gnu_ifunc(), find_pc_sect_compunit_symtab(), find_pc_sect_line(), find_solib_trampoline_target(), gcc_symbol_address(), in_gnu_ifunc_stub(), lookup_minimal_symbol_by_pc_section_1(), lookup_minimal_symbol_solib_trampoline(), lookup_minimal_symbol_text(), lookup_solib_trampoline_symbol_by_pc(), found_minimal_symbols::maybe_collect(), minimal_symbol_reader::record_full(), scan_file_globals(), search_minsyms_for_name(), search_symbols(), symbol_is_function_or_method(), and terminate_minimal_symbol_table().
Definition at line 682 of file symtab.h.
Referenced by hppa_lookup_stub_minimal_symbol().
Definition at line 687 of file symtab.h.
Referenced by convert_symbol_bmsym(), dump_msymbols(), find_solib_trampoline_target(), info_symbol_command(), jit_breakpoint_re_set_internal(), jit_read_descriptor(), lookup_minimal_symbol_by_pc_name(), minimal_symbol_upper_bound(), minsym_found(), msymbol_is_function(), scan_file_globals(), and search_symbols().
Definition at line 684 of file symtab.h.
Referenced by compact_minimal_symbols(), compare_minimal_symbols(), default_read_var_value(), find_minsym_type_and_address(), gdb_bfd_lookup_symbol_from_symtab(), info_address_command(), lookup_minimal_symbol_by_pc_section_1(), minimal_symbol_upper_bound(), mips_elf_make_msymbol_special(), ppc_linux_spe_context_lookup(), and sh64_elf_make_msymbol_special().
| #define SET_MSYMBOL_SIZE | ( | msymbol, | |
| sz | |||
| ) |
Definition at line 673 of file symtab.h.
Referenced by elf_rel_plt_read(), elf_symtab_read(), and ppc64_elf_make_msymbol_special().
| #define SET_MSYMBOL_VALUE_ADDRESS | ( | symbol, | |
| new_value | |||
| ) | ((symbol)->mginfo.value.address = (new_value)) |
Definition at line 693 of file symtab.h.
Referenced by gdb_bfd_lookup_symbol_from_symtab(), mips_elf_make_msymbol_special(), minimal_symbol_reader::record_full(), and sh64_elf_make_msymbol_special().
| #define SIZEOF_N_SECTION_OFFSETS | ( | n | ) |
Definition at line 1283 of file symtab.h.
Referenced by default_symfile_offsets(), get_offsets(), macho_symfile_offsets(), objfile_rebase1(), objfile_relocate(), objfile_relocate1(), relative_addr_info_to_section_offsets(), reread_symbols(), solib_target_relocate_section_addresses(), and syms_from_objfile_1().
Definition at line 1154 of file symtab.h.
Referenced by add_data_symbol(), coff_read_enum_type(), common_block_end(), define_symbol(), dwarf2_const_value(), dwarf2_symbol_mark_computed(), finalize_symtab(), fixup_go_packaging(), language_alloc_type_symbol(), mark_common_block_symbol_computed(), new_symbol_full(), parse_symbol(), patch_block_stabs(), process_coff_symbol(), process_xcoff_symbol(), psymtab_to_symtab_1(), read_enum_type(), scan_file_globals(), and var_decode_location().
| #define SYMBOL_BLOCK_OPS | ( | symbol | ) | (SYMBOL_IMPL (symbol).ops_block) |
Definition at line 1164 of file symtab.h.
Referenced by follow_static_link(), func_get_frame_base_dwarf_block(), locexpr_get_frame_base(), and loclist_get_frame_base().
Definition at line 467 of file symtab.h.
Referenced by block_lookup(), build_address_symbolic(), check_exception_resume(), compile_object_run(), convert_one_symbol(), cp_search_static_and_baseclasses(), default_read_var_value(), dwarf2_find_location_expression(), finalize_symtab(), find_frame_funname(), find_function_alias_target(), find_function_return_type(), find_function_start_sal(), find_pc_partial_function_gnu_ifunc(), finish_block_internal(), fixup_symbol_section(), func_addr_to_tail_call_list(), gcc_symbol_address(), gen_var_ref(), get_pc_function_start(), info_address_command(), info_scope_command(), inline_frame_this_id(), mips_make_symbol_special(), parse_procedure(), parse_symbol(), print_frame_arg_vars(), print_frame_args(), print_symbol(), skip_prologue_sal(), until_next_command(), value_fn_field(), watchpoint_check(), and yyparse().
| #define SYMBOL_CLASS | ( | symbol | ) | (SYMBOL_IMPL (symbol).aclass) |
Definition at line 1155 of file symtab.h.
Referenced by ada_add_block_symbols(), ada_add_exceptions_from_frame(), ada_args_match(), ada_exception_sal(), ada_find_any_type_symbol(), ada_has_this_exception_support(), ada_is_exception_sym(), ada_parse_renaming(), collect_info::add_symbol(), add_template_parameters(), aux_add_nonlocal_symbols(), block_lookup(), c_type_print_template_args(), classify_inner_name(), cleanup_undefined_types_1(), collection_list::collect_symbol(), completion_list_add_fields(), const_var_ref(), convert_ast_to_expression(), convert_one_symbol(), cp_lookup_rtti_type(), default_read_var_value(), define_symbol(), evaluate_subexp_for_address(), find_function_alias_target(), find_function_in_inferior(), find_primitive_type(), find_symbol_at_address(), fixup_go_packaging(), fixup_symbol_section(), gcc_symbol_address(), gdbscm_symbol_addr_class(), gdbscm_symbol_constant_p(), gdbscm_symbol_function_p(), gdbscm_symbol_value(), gdbscm_symbol_variable_p(), gen_var_ref(), generate_c_for_for_one_variable(), info_address_command(), info_common_command_for_block(), info_scope_command(), is_nonfunction(), iterate_over_block_locals(), lesseq_defined_than(), list_args_or_locals(), lookup_typename(), mi_should_print(), mips_make_symbol_special(), mylookup_symbol(), new_symbol_full(), old_renaming_is_invisible(), package_name_p(), parse_procedure(), patch_opaque_types(), print_frame_args(), print_symbol(), print_symbol_info(), read_type(), relocate_one_symbol(), remove_extra_symbols(), remove_irrelevant_renamings(), resolve_subexp(), scan_file_globals(), search_symbols(), select_possible_type_sym(), symbol_read_needs(), symbol_to_sal(), sympy_get_addr_class(), sympy_is_constant(), sympy_is_function(), sympy_is_variable(), sympy_value(), typy_template_argument(), user_select_syms(), validate_actionline(), value_maybe_namespace_elt(), VEC(), watchpoint_exp_is_const(), write_name_assoc(), write_object_renaming(), yylex(), and yyparse().
| #define SYMBOL_COMPUTED_OPS | ( | symbol | ) | (SYMBOL_IMPL (symbol).ops_computed) |
Definition at line 1163 of file symtab.h.
Referenced by default_read_var_value(), evaluate_subexp_standard(), gen_var_ref(), generate_c_for_for_one_variable(), info_address_command(), info_scope_command(), read_frame_arg(), symbol_read_needs(), and var_decode_location().
| #define SYMBOL_DEMANGLED_NAME | ( | symbol | ) | (symbol_demangled_name (&(symbol)->ginfo)) |
Definition at line 527 of file symtab.h.
Referenced by cp_scan_for_anonymous_namespaces(), cp_set_block_scope(), dump_symtab_1(), find_oload_champ(), and print_partial_symbols().
Definition at line 1152 of file symtab.h.
Referenced by ada_add_block_symbols(), ada_evaluate_subexp(), add_data_symbol(), add_symtab_completions(), block_find_symbol(), block_lookup_symbol(), block_lookup_symbol_primary(), cleanup_undefined_types_1(), coff_read_enum_type(), convert_one_symbol(), default_collect_symbol_completion_matches_break_on(), define_symbol(), eq_symbol_entry(), finalize_symtab(), find_label_symbols_in_block(), find_pc_sect_psymbol(), fixup_go_packaging(), info_common_command_for_block(), iterate_over_block_locals(), iterate_over_symbols(), language_alloc_type_symbol(), lesseq_defined_than(), lookup_partial_symbol(), maintenance_check_psymtabs(), map_block(), match_partial_symbol(), mylookup_symbol(), new_symbol_full(), parse_procedure(), parse_symbol(), patch_block_stabs(), patch_opaque_types(), print_partial_symbols(), print_symbol(), print_symbol_info(), process_coff_symbol(), process_xcoff_symbol(), psymtab_to_symtab_1(), read_enum_type(), read_type(), resolve_subexp(), symbol_cache_dump(), and write_ambiguous_var().
| #define SYMBOL_IMPL | ( | symbol | ) | (symbol_impls[(symbol)->aclass_index]) |
Definition at line 1158 of file symtab.h.
Referenced by block_inlined_p(), iterate_over_all_matching_symtabs(), and new_symbol_full().
Definition at line 1157 of file symtab.h.
Referenced by ada_add_block_symbols(), aux_add_nonlocal_symbols(), block_lookup_symbol(), check_exception_resume(), define_symbol(), finish_block_internal(), gdbscm_symbol_argument_p(), gdbscm_symbol_variable_p(), info_address_command(), info_scope_command(), iterate_over_block_arg_vars(), iterate_over_block_locals(), list_arg_or_local(), list_args_or_locals(), mi_should_print(), new_symbol_full(), parse_symbol(), print_frame_args(), print_symbol(), process_coff_symbol(), sympy_is_argument(), sympy_is_variable(), and yyparse().
| #define SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION | ( | symbol | ) | (((symbol)->subclass) == SYMBOL_TEMPLATE) |
Definition at line 1159 of file symtab.h.
Referenced by cp_lookup_symbol_imports_or_template().
| #define SYMBOL_LANGUAGE | ( | symbol | ) | (symbol)->ginfo.language |
Definition at line 469 of file symtab.h.
Referenced by ada_add_block_symbols(), ada_collect_symbol_completion_matches(), block_find_symbol(), block_lookup_symbol(), block_lookup_symbol_primary(), completion_list_add_fields(), completion_list_add_symbol(), cp_lookup_symbol_imports_or_template(), define_symbol(), eq_symbol_entry(), extract_sym(), find_frame_funname(), find_label_symbols_in_block(), find_method(), fixup_go_packaging(), ft32_skip_prologue(), gen_expr(), go_symbol_package_name(), info_frame_command(), insert_symbol_hashed(), iterate_over_symbols(), list_arg_or_local(), lookup_partial_symbol(), map_block(), match_partial_symbol(), moxie_skip_prologue(), mt_skip_prologue(), parse_exp_in_context_1(), parse_symbol(), print_frame_arg(), process_one_symbol(), psymbol_name_matches(), py_print_single_arg(), read_var_value(), set_initial_language(), write_ambiguous_var(), write_psymbols(), debug_names::write_psymbols(), and xstormy16_skip_prologue().
Definition at line 1162 of file symtab.h.
Referenced by convert_one_symbol(), define_symbol(), find_frame_sal(), gdbscm_symbol_line(), new_symbol_full(), skip_prologue_sal(), symbol_to_sal(), sympy_line(), and user_select_syms().
| #define SYMBOL_LINKAGE_NAME | ( | symbol | ) | (symbol)->ginfo.name |
Definition at line 523 of file symtab.h.
Referenced by ada_add_block_symbols(), ada_collect_symbol_completion_matches(), ada_find_renaming_symbol(), ada_has_this_exception_support(), ada_is_non_standard_exception_sym(), ada_parse_renaming(), ada_read_renaming_var_value(), add_template_parameters(), build_address_symbolic(), c_print_typedef(), c_type_print_template_args(), cleanup_undefined_types_1(), coff_read_enum_type(), common_block_end(), default_read_var_value(), define_symbol(), dump_symtab_1(), find_old_style_renaming_symbol(), find_pc_partial_function_gnu_ifunc(), find_symbol_in_list(), frv_fdpic_find_canonical_descriptor(), ftrace_function_switched(), gdbpy_rbreak(), gdbscm_symbol_linkage_name(), gen_var_ref(), get_out_value_type(), go_symbol_package_name(), info_address_command(), info_common_command_for_block(), info_scope_command(), lesseq_defined_than(), list_args_or_locals(), m2_print_typedef(), maintenance_check_psymtabs(), mylookup_symbol(), overload_list_add_symbol(), parse_symbol(), patch_opaque_types(), print_frame_args(), print_partial_symbols(), print_symbol(), process_coff_symbol(), process_enumeration_scope(), rbreak_command(), read_enum_type(), read_type(), remove_extra_symbols(), remove_irrelevant_renamings(), resolve_subexp(), scan_file_globals(), set_traceframe_context(), skip_prologue_sal(), sort_choices(), sympy_get_linkage_name(), and write_ambiguous_var().
Definition at line 1166 of file symtab.h.
Referenced by dwarf2_const_value(), dwarf2_symbol_mark_computed(), locexpr_describe_location(), locexpr_find_frame_base_location(), locexpr_generate_c_location(), locexpr_get_frame_base(), locexpr_get_symbol_read_needs(), locexpr_read_variable(), locexpr_read_variable_at_entry(), locexpr_tracepoint_var_ref(), loclist_describe_location(), loclist_find_frame_base_location(), loclist_generate_c_location(), loclist_get_frame_base(), loclist_read_variable(), loclist_read_variable_at_entry(), loclist_tracepoint_var_ref(), and mark_common_block_symbol_computed().
| #define SYMBOL_MATCHES_SEARCH_NAME | ( | symbol, | |
| name | |||
| ) | symbol_matches_search_name (&(symbol)->ginfo, (name)) |
Definition at line 557 of file symtab.h.
Referenced by dw2_lookup_symbol(), eq_symbol_entry(), lookup_partial_symbol(), and psym_lookup_symbol().
| #define SYMBOL_NATURAL_NAME | ( | symbol | ) | (symbol_natural_name (&(symbol)->ginfo)) |
Definition at line 513 of file symtab.h.
Referenced by ada_add_global_exceptions(), ada_print_subexp(), aggregate_assign_from_choices(), canonicalize_linespec(), completion_list_add_symbol(), convert_linespec_to_sals(), convert_one_symbol(), cp_lookup_symbol_imports_or_template(), create_sals_line_offset(), dwarf2_symbol_mark_computed(), encode_actions_1(), eq_symname(), find_imps(), find_overload_match(), func_get_frame_base_dwarf_block(), gdbscm_symbol_name(), hash_symname(), info_classes_command(), info_selectors_command(), locexpr_generate_c_location(), loclist_generate_c_location(), overload_list_add_symbol(), search_symbol_list(), search_symbols(), symbol_substitution_name(), and sympy_get_name().
Definition at line 471 of file symtab.h.
Referenced by default_read_var_value(), find_function_start_sal(), find_pc_sect_compunit_symtab(), find_pc_sect_psymbol(), fixup_symbol_section(), info_address_command(), jump_command(), print_symbol(), resolve_sal_pc(), and skip_prologue_sal().
Definition at line 1156 of file symtab.h.
Referenced by cache_symbol(), fixup_symbol_section(), gdbscm_symbol_symtab(), info_address_command(), initialize_objfile_symbol_1(), language_alloc_type_symbol(), print_symbol(), set_symbol(), symbol_arch(), symbol_objfile(), symbol_set_symtab(), symbol_symtab(), sympy_dealloc(), sympy_get_symtab(), syscm_get_symbol_map(), and user_select_syms().
| #define SYMBOL_PRINT_NAME | ( | symbol | ) | (demangle ? SYMBOL_NATURAL_NAME (symbol) : SYMBOL_LINKAGE_NAME (symbol)) |
Definition at line 542 of file symtab.h.
Referenced by ada_add_exceptions_from_frame(), ada_add_global_exceptions(), ada_evaluate_subexp(), ada_print_symbol_signature(), address_of_variable(), bkscm_print_block_smob(), btrace_call_history(), btrace_get_bfun_name(), build_address_symbolic(), c_print_token(), c_print_typedef(), collection_list::collect_symbol(), compare_classes(), symbol_search::compare_search_syms(), compare_selectors(), convert_one_symbol(), default_read_var_value(), do_compile_dwarf_expr_to_c(), dump_subexp_body_standard(), dwarf2_const_value(), edit_command(), evaluate_funcall(), evaluate_subexp_standard(), extract_sym(), find_frame_funname(), finish_block_internal(), finish_command(), ftrace_print_function_name(), gdbscm_symbol_print_name(), gen_expr(), gen_expr_for_cast(), gen_maybe_namespace_elt(), gen_var_ref(), get_function_name(), get_hosting_frame(), info_address_command(), info_common_command_for_block(), info_frame_command(), info_scope_command(), iterate_over_block_arg_vars(), iterate_over_block_locals(), jump_command(), list_arg_or_local(), list_command(), locexpr_describe_location_1(), locexpr_describe_location_piece(), loclist_describe_location(), lookup_language_this(), m2_print_typedef(), mdebug_reg_to_regnum(), pascal_print_typedef(), print_breakpoint_location(), print_frame_arg(), print_one_static_tracepoint_marker(), print_sal_location(), print_subexp_standard(), print_symbol(), print_symbol_info(), print_variable_and_value(), py_print_single_arg(), resolve_subexp(), return_command(), rust_print_typedef(), scan_file_globals(), stab_reg_to_regnum(), symbol_cache_dump(), sympy_str(), syscm_print_symbol_smob(), update_static_tracepoint(), user_select_syms(), and validate_actionline().
| #define SYMBOL_REGISTER_OPS | ( | symbol | ) | (SYMBOL_IMPL (symbol).ops_register) |
Definition at line 1165 of file symtab.h.
Referenced by collection_list::collect_symbol(), default_read_var_value(), gen_var_ref(), info_address_command(), and info_scope_command().
| #define SYMBOL_SEARCH_NAME | ( | symbol | ) | (symbol_search_name (&(symbol)->ginfo)) |
Definition at line 551 of file symtab.h.
Referenced by complete_label(), dw2_debug_names_lookup_symbol(), eq_symbol_entry(), find_label_symbols_in_block(), debug_names::insert(), insert_exception_resume_breakpoint(), insert_symbol_hashed(), iter_match_first_hashed(), iter_match_next_hashed(), iter_match_next_linear(), iterate_over_block_arg_vars(), lookup_partial_symbol(), maintenance_check_psymtabs(), match_partial_symbol(), new_symbol_full(), print_frame_args(), psymbol_name_matches(), recursively_search_psymtabs(), sort_pst_symbols(), and write_psymbols().
Definition at line 470 of file symtab.h.
Referenced by add_psymbol_to_bcache(), coff_symtab_read(), fixup_psymbol_section(), initialize_objfile_symbol_1(), process_coff_symbol(), process_xcoff_symbol(), psym_relocate(), read_xcoff_symtab(), relocate_one_symbol(), scan_file_globals(), and var_decode_location().
| #define SYMBOL_SET_LANGUAGE | ( | symbol, | |
| language, | |||
| obstack | |||
| ) | (symbol_set_language (&(symbol)->ginfo, (language), (obstack))) |
Definition at line 478 of file symtab.h.
Referenced by add_psymbol_to_bcache(), define_symbol(), fixup_go_packaging(), new_symbol(), new_symbol_full(), process_coff_symbol(), and read_enum_type().
| #define SYMBOL_SET_LINKAGE_NAME | ( | symbol, | |
| linkage_name | |||
| ) | (symbol)->ginfo.name = (linkage_name) |
Definition at line 489 of file symtab.h.
Referenced by coff_read_enum_type(), common_block_end(), define_symbol(), parse_symbol(), patch_block_stabs(), process_xcoff_symbol(), and read_enum_type().
| #define SYMBOL_SET_NAMES | ( | symbol, | |
| linkage_name, | |||
| len, | |||
| copy_name, | |||
| objfile | |||
| ) | symbol_set_names (&(symbol)->ginfo, linkage_name, len, copy_name, objfile) |
Definition at line 494 of file symtab.h.
Referenced by add_psymbol_to_bcache(), define_symbol(), fixup_go_packaging(), new_symbol(), new_symbol_full(), and process_coff_symbol().
Definition at line 1161 of file symtab.h.
Referenced by ada_args_match(), ada_evaluate_subexp(), ada_find_any_type(), ada_is_exception_sym(), ada_parse_renaming(), ada_print_symbol_signature(), ada_resolve_function(), ada_tasks_inferior_data_sniffer(), add_data_symbol(), add_symtab_completions(), add_template_parameters(), address_of_variable(), basic_lookup_transparent_type_1(), basic_lookup_transparent_type_quick(), block_find_non_opaque_type(), block_find_non_opaque_type_preferred(), bpfinishpy_init(), c_print_typedef(), c_type_print_template_args(), call_site_find_chain_1(), check_typedef(), classify_inner_name(), cleanup_undefined_types_1(), coff_read_enum_type(), collection_list::collect_symbol(), common_block_end(), compile_object_load(), compile_object_run(), completion_list_add_fields(), const_var_ref(), convert_ast_to_expression(), convert_one_symbol(), cp_lookup_bare_symbol(), cp_lookup_rtti_type(), cp_search_static_and_baseclasses(), d_lookup_symbol(), default_collect_symbol_completion_matches_break_on(), default_read_var_value(), define_symbol(), dwarf2_const_value(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), evaluate_var_value(), finalize_symtab(), find_function_return_type(), find_method(), find_oload_champ(), find_overload_match(), find_pc_partial_function_gnu_ifunc(), find_primitive_type(), finish_block_internal(), finish_command_fsm_should_stop(), fix_common_block(), fixup_go_packaging(), func_addr_to_tail_call_list(), func_verify_no_selftailcall(), gcc_symbol_address(), gdbscm_symbol_type(), gen_var_ref(), generate_c_for_for_one_variable(), get_out_value_type(), get_regs_type(), get_symbol_field_type(), gnuv3_get_typeid_type(), info_scope_command(), inspect_type(), is_nonfunction(), language_alloc_type_symbol(), language_bool_type(), lesseq_defined_than(), locexpr_read_variable(), locexpr_read_variable_at_entry(), loclist_read_variable(), loclist_read_variable_at_entry(), lookup_enum(), lookup_struct(), lookup_struct_typedef(), lookup_template_type(), lookup_typename(), lookup_union(), m2_print_typedef(), new_symbol_full(), old_renaming_is_invisible(), operator_check_standard(), overload_list_add_symbol(), package_name_p(), parse_procedure(), parse_symbol(), pascal_val_print(), patch_block_stabs(), patch_opaque_types(), print_frame_args(), print_symbol(), print_symbol_info(), print_unpacked_pointer(), process_coff_symbol(), process_xcoff_symbol(), psymtab_to_symtab_1(), read_enum_type(), read_frame_arg(), read_type(), remove_extra_symbols(), replace_typedefs(), resolve_subexp(), return_command(), rust_evaluate_funcall(), rust_lookup_type(), search_symbols(), select_possible_type_sym(), sparc32_struct_return_from_sym(), symbol_is_function_or_method(), symbols_are_identical_enums(), sympy_get_type(), typy_template_argument(), user_select_syms(), value_maybe_namespace_elt(), value_nsstring(), VEC(), write_var_or_type(), and yylex().
Definition at line 463 of file symtab.h.
Referenced by coff_read_enum_type(), coff_reg_to_regnum(), coff_symtab_read(), collection_list::collect_symbol(), const_var_ref(), convert_one_symbol(), default_read_var_value(), define_symbol(), dwarf2_const_value(), gen_sym_offset(), gen_var_ref(), info_address_command(), info_scope_command(), lesseq_defined_than(), mdebug_reg_to_regnum(), parse_symbol(), print_frame_args(), print_symbol(), process_coff_symbol(), process_enumeration_scope(), read_enum_type(), stab_reg_to_regnum(), symbols_are_identical_enums(), and validate_actionline().
Definition at line 464 of file symtab.h.
Referenced by ada_add_exceptions_from_frame(), ada_add_global_exceptions(), ada_tasks_inferior_data_sniffer(), add_psymbol_to_bcache(), collection_list::collect_symbol(), const_var_ref(), convert_one_symbol(), default_read_var_value(), define_symbol(), find_pc_sect_psymbol(), find_pc_sect_psymtab(), find_pc_sect_psymtab_closer(), find_symbol_at_address(), fix_common_block(), fixup_psymbol_section(), fixup_symbol_section(), gen_var_ref(), info_address_command(), info_scope_command(), new_symbol_full(), parse_symbol(), print_partial_symbols(), print_symbol(), process_coff_symbol(), process_xcoff_symbol(), psym_fill_psymbol_map(), psym_relocate(), relocate_one_symbol(), remove_extra_symbols(), scan_file_globals(), symbol_to_sal(), and var_decode_location().
Definition at line 465 of file symtab.h.
Referenced by default_read_var_value(), define_symbol(), dwarf2_const_value(), find_proc_desc(), info_scope_command(), parse_procedure(), parse_symbol(), print_symbol(), and psymtab_to_symtab_1().
Definition at line 468 of file symtab.h.
Referenced by common_block_end(), define_symbol(), parse_symbol(), patch_opaque_types(), process_coff_symbol(), and scan_file_globals().
| #define SYMBOL_VALUE_COMMON_BLOCK | ( | symbol | ) | (symbol)->ginfo.value.common_block |
Definition at line 466 of file symtab.h.
Referenced by info_common_command_for_block(), and read_common_block().
| #define SYMTAB_BLOCKVECTOR | ( | symtab | ) | COMPUNIT_BLOCKVECTOR (SYMTAB_COMPUNIT (symtab)) |
Definition at line 1334 of file symtab.h.
Referenced by add_block(), block_lookup(), cache_symbol(), dump_symtab_1(), gdbscm_symtab_global_block(), gdbscm_symtab_static_block(), get_expr_block_and_pc(), get_out_value_type(), iterate_over_all_matching_symtabs(), iterate_over_file_blocks(), parse_exp_in_context_1(), parse_symbol(), patch_opaque_types(), psymtab_to_symtab_1(), sort_blocks(), stpy_global_block(), stpy_static_block(), VEC(), and yyparse().
| #define SYMTAB_COMPUNIT | ( | symtab | ) | ((symtab)->compunit_symtab) |
Definition at line 1331 of file symtab.h.
Referenced by amd64_skip_xmm_prologue(), collect_file_symbol_completion_matches(), dump_symtab_1(), find_function_start_sal(), info_source_command(), mi_cmd_file_list_exec_source_file(), minsym_found(), or1k_skip_prologue(), resolve_sal_pc(), sal_macro_scope(), skip_prologue_sal(), and stpy_get_producer().
| #define SYMTAB_DIRNAME | ( | symtab | ) | COMPUNIT_DIRNAME (SYMTAB_COMPUNIT (symtab)) |
Definition at line 1339 of file symtab.h.
Referenced by cmp_symtabs(), dump_symtab_1(), info_source_command(), open_source_file(), and symtab_to_fullname().
Definition at line 1333 of file symtab.h.
Referenced by compunit_language(), find_function_start_sal(), and minsym_found().
Definition at line 1332 of file symtab.h.
Referenced by btrace_find_line_range(), do_mixed_source_and_assembly(), do_mixed_source_and_assembly_deprecated(), dump_symtab_1(), end_symtab_with_blockvector(), finalize_symtab(), find_line_pc(), find_line_symtab(), find_pc_sect_line(), find_pcs_for_symtab_line(), gdb_disassembly(), ltpy_get_all_source_lines(), ltpy_has_line(), ltpy_iternext(), maintenance_print_one_line_table(), mi_cmd_symbol_list_lines(), new_symtab(), objfile_relocate1(), print_objfile_statistics(), psymtab_to_symtab_1(), skip_prologue_using_lineinfo(), and skip_prologue_using_sal().
| #define SYMTAB_OBJFILE | ( | symtab | ) | COMPUNIT_OBJFILE (SYMTAB_COMPUNIT (symtab)) |
Definition at line 1336 of file symtab.h.
Referenced by breakpoint_free_objfile(), dump_objfile(), dump_symtab_1(), edit_command(), find_source_lines(), gdbscm_symtab_global_block(), gdbscm_symtab_objfile(), gdbscm_symtab_static_block(), get_sal_arch(), identify_source_line(), info_line_command(), is_known_support_routine(), list_command(), mi_cmd_symbol_list_lines(), resolve_sal_pc(), salpy_dealloc(), search_minsyms_for_name(), set_sal(), set_symtab(), stpy_dealloc(), stpy_get_objfile(), stpy_global_block(), stpy_static_block(), stscm_objfile_symtab_map(), symbol_arch(), symbol_objfile(), tui_set_source_content(), tui_update_source_windows_with_line(), and objfile::~objfile().
| #define SYMTAB_PSPACE | ( | symtab | ) | (SYMTAB_OBJFILE (symtab)->pspace) |
Definition at line 1338 of file symtab.h.
Referenced by add_matching_symbols_to_info(), compare_symbols(), convert_linespec_to_sals(), decode_digits_list_mode(), decode_digits_ordinary(), find_method(), search_minsyms_for_name(), select_source_symtab(), symbol_to_sal(), tui_update_source_window_as_is(), and VEC().
| #define VTBL_FNADDR_OFFSET 2 |
Definition at line 1502 of file symtab.h.
Referenced by c_val_print_struct(), and pascal_val_print().
| typedef struct compunit_symtab* compunit_symtab_ptr |
| typedef enum domain_enum_tag domain_enum |
| typedef bool() symbol_name_matcher_ftype(const char *symbol_search_name, const lookup_name_info &lookup_name, completion_match_result *comp_match_res) |
| typedef struct symtab* symtab_ptr |
| enum address_class |
|
strong |
| enum domain_enum_tag |
| enum minimal_symbol_type |
| enum search_domain |
|
strong |
| enum symbol_subclass_kind |
Definition at line 5757 of file symtab.c.
References initialize_objfile_symbol_1(), and OBSTACK_ZALLOC.
Referenced by coff_read_enum_type(), common_block_end(), define_symbol(), finalize_symtab(), fixup_go_packaging(), new_symbol(), new_symbol_full(), parse_symbol(), patch_block_stabs(), process_coff_symbol(), and read_enum_type().
| struct template_symbol* allocate_template_symbol | ( | struct objfile * | ) |
Definition at line 5771 of file symtab.c.
References initialize_objfile_symbol_1(), and OBSTACK_ZALLOC.
Referenced by read_func_scope().
| struct block_symbol basic_lookup_symbol_nonlocal | ( | const struct language_defn * | langdef, |
| const char * | , | ||
| const struct block * | , | ||
| const domain_enum | |||
| ) |
Definition at line 2417 of file symtab.c.
References block_gdbarch(), language_lookup_primitive_type_as_symbol(), lookup_global_symbol(), lookup_symbol_in_static_block(), name, target_gdbarch(), and VAR_DOMAIN.
| struct type* basic_lookup_transparent_type | ( | const char * | ) |
Definition at line 2792 of file symtab.c.
References ALL_OBJFILES, basic_lookup_transparent_type_1(), basic_lookup_transparent_type_quick(), GLOBAL_BLOCK, name, objfile::objfile(), and STATIC_BLOCK.
Referenced by cp_lookup_transparent_type(), and cp_lookup_transparent_type_loop().
| void clear_pc_function_cache | ( | void | ) |
Definition at line 167 of file blockframe.c.
References cache_pc_function_high, cache_pc_function_is_gnu_ifunc, cache_pc_function_low, cache_pc_function_name, and cache_pc_function_section.
Referenced by clear_symtab_users(), and objfile::~objfile().
| void clear_solib | ( | void | ) |
Definition at line 1203 of file solib.c.
References target_so_ops::clear_solib, disable_breakpoints_in_shlibs(), free_so(), so_list::next, observer_notify_solib_unloaded(), remove_target_sections(), so_list_head, solib_ops(), and target_gdbarch().
Referenced by core_close(), and no_shared_libraries().
| void collect_file_symbol_completion_matches | ( | completion_tracker & | tracker, |
| complete_symbol_mode | , | ||
| symbol_name_match_type | name_match_type, | ||
| const char * | , | ||
| const char * | , | ||
| const char * | |||
| ) |
Definition at line 5240 of file symtab.c.
References add_symtab_completions(), iterate_over_symtabs(), language_search_unquoted_string(), LINESPEC, SYMTAB_COMPUNIT, and TYPE_CODE_UNDEF.
Referenced by complete_files_symbols(), and linespec_complete_function().
| void collect_symbol_completion_matches | ( | completion_tracker & | tracker, |
| complete_symbol_mode | mode, | ||
| symbol_name_match_type | name_match_type, | ||
| const char * | , | ||
| const char * | |||
| ) |
Definition at line 5206 of file symtab.c.
References current_language, language_defn::la_collect_symbol_completion_matches, and TYPE_CODE_UNDEF.
Referenced by complete_files_symbols(), linespec_complete_function(), and symbol_completer().
| void collect_symbol_completion_matches_type | ( | completion_tracker & | tracker, |
| const char * | , | ||
| const char * | , | ||
| enum | type_code | ||
| ) |
Definition at line 5221 of file symtab.c.
References code, current_language, EXPRESSION, gdb_assert, language_defn::la_collect_symbol_completion_matches, TYPE_CODE_ENUM, TYPE_CODE_STRUCT, and TYPE_CODE_UNION.
Referenced by complete_expression().
| int compare_filenames_for_search | ( | const char * | filename, |
| const char * | search_name | ||
| ) |
Definition at line 318 of file symtab.c.
References symtab::filename.
Referenced by skiplist_entry::do_skip_file_p(), dw2_map_symtabs_matching_filename(), file_matches(), iterate_over_some_symtabs(), maintenance_print_msymbols(), maintenance_print_psymbols(), maintenance_print_symbols(), objfpy_lookup_objfile_by_name(), and psym_map_symtabs_matching_filename().
| int compare_glob_filenames_for_search | ( | const char * | filename, |
| const char * | search_name | ||
| ) |
Definition at line 356 of file symtab.c.
References count_path_elements(), symtab::filename, gdb_filename_fnmatch(), and strip_leading_path_elements().
Referenced by skiplist_entry::do_skip_gfile_p().
| void completion_list_add_name | ( | completion_tracker & | tracker, |
| language | symbol_language, | ||
| const char * | symname, | ||
| const lookup_name_info & | lookup_name, | ||
| const char * | text, | ||
| const char * | word | ||
| ) |
Definition at line 4717 of file symtab.c.
References completion_tracker::add_completion(), compare_symbol_name(), gdb_assert, make_completion_match_str(), completion_match::match(), completion_match_result::match, completion_match_result::match_for_lcd, and completion_tracker::reset_completion_match_result().
Referenced by ada_collect_symbol_completion_matches(), completion_list_add_fields(), completion_list_add_msymbol(), completion_list_add_symbol(), completion_list_objc_symbol(), and default_collect_symbol_completion_matches_break_on().
|
static |
Definition at line 1880 of file symtab.h.
References LINESPEC, and symbol_is_function_or_method().
Referenced by ada_collect_symbol_completion_matches(), add_symtab_completions(), and default_collect_symbol_completion_matches_break_on().
| enum language compunit_language | ( | const struct compunit_symtab * | cust | ) |
Definition at line 303 of file symtab.c.
References compunit_primary_filetab(), and SYMTAB_LANGUAGE.
Referenced by finalize_symtab(), get_frame_language(), handle_step_into_function(), handle_step_into_function_backward(), new_symtab(), restart_symtab(), and select_frame().
| struct symtab* compunit_primary_filetab | ( | const struct compunit_symtab * | cust | ) |
Definition at line 292 of file symtab.c.
References COMPUNIT_FILETABS, and gdb_assert.
Referenced by bkscm_print_block_syms_progress_smob(), compunit_language(), debug_qf_find_compunit_symtab_by_address(), debug_qf_find_pc_sect_compunit_symtab(), debug_qf_lookup_symbol(), dw2_find_last_source_symtab(), error_in_psymtab_expansion(), maintenance_check_symtabs(), and psym_find_last_source_symtab().
| DEF_ENUM_FLAGS_TYPE | ( | enum | print_source_lines_flag, |
| print_source_lines_flags | |||
| ) |
| DEF_VEC_P | ( | symtab_ptr | ) |
| DEF_VEC_P | ( | compunit_symtab_ptr | ) |
| void default_collect_symbol_completion_matches | ( | completion_tracker & | tracker, |
| complete_symbol_mode | , | ||
| symbol_name_match_type | name_match_type, | ||
| const char * | , | ||
| const char * | , | ||
| enum | type_code | ||
| ) |
Definition at line 5190 of file symtab.c.
References code, and default_collect_symbol_completion_matches_break_on().
| void default_collect_symbol_completion_matches_break_on | ( | completion_tracker & | tracker, |
| complete_symbol_mode | mode, | ||
| symbol_name_match_type | name_match_type, | ||
| const char * | text, | ||
| const char * | word, | ||
| const char * | break_on, | ||
| enum type_code | code | ||
| ) |
Definition at line 4986 of file symtab.c.
References add_symtab_completions(), ALL_BLOCK_SYMBOLS, ALL_COMPUNITS, ALL_DOMAIN, ALL_MSYMBOLS, BLOCK_FUNCTION, block_global_block(), block_inlined_p(), block_static_block(), BLOCK_SUPERBLOCK, code, completion_list_add_fields(), completion_list_add_msymbol(), completion_list_add_name(), completion_list_add_symbol(), completion_list_objc_symbol(), completion_skip_symbol(), current_language, default_macro_scope(), expand_symtabs_matching(), macro_scope::file, get_selected_block(), language_defn::la_macro_expansion, language_c, macro_scope::line, LINESPEC, macro_expansion_c, macro_for_each(), macro_for_each_in_scope(), macro_user_macros, objfile::objfile(), QUIT, STRUCT_DOMAIN, SYMBOL_DOMAIN, SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_UNDEF, and xfree().
Referenced by default_collect_symbol_completion_matches(), and f_collect_symbol_completion_matches().
| const char* demangle_for_lookup | ( | const char * | name, |
| enum language | lang, | ||
| demangle_result_storage & | storage | ||
| ) |
Definition at line 1823 of file symtab.c.
References cp_canonicalize_string(), d_demangle(), gdb_demangle(), go_demangle(), language_cplus, language_d, language_go, name, demangle_result_storage::set_malloc_ptr(), string, and demangle_result_storage::swap_string().
Referenced by demangle_for_lookup_info::demangle_for_lookup_info(), lookup_symbol_in_language(), and lookup_symbol_in_objfile_from_linkage_name().
| const char* domain_name | ( | domain_enum | ) |
Definition at line 260 of file symtab.c.
References COMMON_BLOCK_DOMAIN, gdb_assert_not_reached, LABEL_DOMAIN, MODULE_DOMAIN, STRUCT_DOMAIN, UNDEF_DOMAIN, and VAR_DOMAIN.
Referenced by cp_lookup_nested_symbol(), cp_lookup_symbol_imports_or_template(), cp_lookup_symbol_namespace(), cp_lookup_symbol_nonlocal(), debug_qf_lookup_symbol(), debug_qf_map_matching_symbols(), lookup_symbol_aux(), lookup_symbol_in_block(), lookup_symbol_in_objfile(), lookup_symbol_in_objfile_symtabs(), lookup_symbol_in_static_block(), lookup_symbol_via_quick_fns(), rust_lookup_symbol_nonlocal(), symbol_cache_dump(), and symbol_cache_lookup().
| void expand_symtab_containing_pc | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 1032 of file symtab.c.
References ALL_OBJFILES, quick_symbol_functions::find_pc_sect_compunit_symtab, lookup_minimal_symbol_by_pc_section(), mst_abs, mst_bss, mst_data, mst_file_bss, mst_file_data, MSYMBOL_TYPE, objfile::objfile(), sym_fns::qf, and objfile::sf.
Referenced by backtrace_command_1().
| symbol* find_function_alias_target | ( | bound_minimal_symbol | msymbol | ) |
Definition at line 3953 of file symtab.c.
References BLOCK_START, find_pc_function(), LOC_BLOCK, bound_minimal_symbol::minsym, msymbol_is_function(), bound_minimal_symbol::objfile, SYMBOL_BLOCK_VALUE, and SYMBOL_CLASS.
Referenced by yyparse().
| struct symtab_and_line find_function_start_sal | ( | struct symbol * | sym, |
| int | |||
| ) |
Definition at line 3585 of file symtab.c.
References BLOCK_START, COMPUNIT_LOCATIONS_VALID, current_program_space, find_pc_sect_line(), fixup_symbol_section(), gdbarch_skip_entrypoint(), gdbarch_skip_entrypoint_p(), language_asm, symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, skip_prologue_sal(), symtab_and_line::symbol, symbol_arch(), SYMBOL_BLOCK_VALUE, SYMBOL_OBJ_SECTION, symbol_objfile(), symtab_and_line::symtab, SYMTAB_COMPUNIT, and SYMTAB_LANGUAGE.
Referenced by ada_exception_sal(), spu_catch_start(), symbol_to_sal(), and user_select_syms().
Definition at line 3456 of file symtab.c.
References find_line_symtab(), linetable::item, linetable_entry::pc, and SYMTAB_LINETABLE.
Referenced by extract_display_start_addr(), find_line_pc_range(), make_visible_with_new_height(), mi_cmd_disassemble(), resolve_sal_pc(), tui_update_source_windows_with_line(), and update_static_tracepoint().
| int find_line_pc_range | ( | struct symtab_and_line | , |
| CORE_ADDR * | , | ||
| CORE_ADDR * | |||
| ) |
Definition at line 3483 of file symtab.c.
References symtab_and_line::end, find_line_pc(), find_pc_sect_line(), symtab_and_line::line, symtab_and_line::pc, symtab_and_line::section, and symtab_and_line::symtab.
Referenced by find_breakpoint_range_end(), info_line_command(), mi_cmd_trace_find(), and tfind_line_command().
Definition at line 3322 of file symtab.c.
References ALL_FILETABS, ALL_OBJFILES, quick_symbol_functions::expand_symtabs_with_fullname, symtab::filename, find_line_common(), linetable::item, linetable_entry::line, objfile::objfile(), sym_fns::qf, objfile::sf, SYMTAB_LINETABLE, and symtab_to_fullname().
Referenced by decode_digits_list_mode(), and find_line_pc().
| struct compunit_symtab* find_pc_compunit_symtab | ( | CORE_ADDR | ) |
Definition at line 2988 of file symtab.c.
References find_pc_mapped_section(), and find_pc_sect_compunit_symtab().
Referenced by amd64_skip_prologue(), amd64_stack_frame_destroyed_p(), arm_skip_prologue(), call_site_for_pc(), dwarf2_frame_find_quirks(), gdbpy_block_for_pc(), gdbscm_lookup_block(), get_frame_language(), get_selected_pc_producer_options(), handle_step_into_function(), handle_step_into_function_backward(), i386_skip_prologue(), i386_stack_frame_destroyed_p(), search_symbols(), and select_frame().
Definition at line 150 of file blockframe.c.
References find_pc_mapped_section(), and find_pc_sect_function().
Referenced by bpfinishpy_init(), edit_command(), evaluate_subexp_standard(), find_function_alias_target(), find_function_return_type(), finish_command(), frv_fdpic_find_canonical_descriptor(), ftrace_update_function(), func_addr_to_tail_call_list(), gdbscm_frame_function(), get_function_name(), jump_command(), list_command(), print_stop_location(), process_event_stop_test(), set_step_frame(), set_traceframe_context(), sparc32_dwarf2_struct_return_p(), sparc32_frame_cache(), and until_next_command().
| struct symtab_and_line find_pc_line | ( | CORE_ADDR | , |
| int | |||
| ) |
Definition at line 3288 of file symtab.c.
References find_pc_overlay(), find_pc_sect_line(), overlay_mapped_address(), symtab_and_line::pc, pc_in_unmapped_range(), and symtab_and_line::section.
Referenced by aarch64_scan_prologue(), after_prologue(), arc_make_frame_cache(), arm_linux_copy_svc(), BP_MANIPULATION(), btrace_compute_src_line_range(), c_parse(), call0_analyze_prologue(), convert_address_location_to_sals(), cris_skip_prologue(), decode_static_tracepoint_spec(), default_macro_scope(), do_mixed_source_and_assembly(), do_mixed_source_and_assembly_deprecated(), elf_gnu_ifunc_resolver_return_stop(), find_frame_sal(), find_last_line_symbol(), find_pc_line_pc_range(), find_pc_line_symtab(), find_pc_sect_line(), finish_backward(), finish_forward(), frv_skip_prologue(), ft32_skip_prologue(), gdbpy_find_pc_line(), gdbscm_find_pc_line(), h8300_skip_prologue(), handle_step_into_function(), handle_step_into_function_backward(), info_checkpoints_command(), insert_single_step_breakpoint(), iq2000_skip_prologue(), m32r_skip_prologue(), m68hc11_skip_prologue(), m88k_skip_prologue(), microblaze_skip_prologue(), moxie_skip_prologue(), mt_skip_prologue(), or1k_skip_prologue(), parse_breakpoint_sals(), print_one_static_tracepoint_marker(), process_event_stop_test(), recpy_bt_insn_sal(), refine_prologue_limit(), save_bookmark_command(), set_momentary_breakpoint_at_pc(), set_traceframe_context(), skip_prologue(), skip_prologue_using_sal(), sparc32_skip_prologue(), sparc64_skip_prologue(), tfind_line_command(), tui_show_disassem_and_update_source(), tui_update_source_windows_with_addr(), until_break_command(), until_next_command(), update_static_tracepoint(), v850_skip_prologue(), write_macro_definitions(), xstormy16_skip_prologue(), and xtensa_skip_prologue().
Definition at line 3567 of file symtab.c.
References find_pc_line(), and symtab_and_line::pc.
Referenced by prepare_one_step().
Definition at line 3301 of file symtab.c.
References find_pc_line(), and symtab_and_line::pc.
Referenced by btrace_find_line_range(), gdb_disassembly(), maintenance_print_symbols(), make_visible_with_new_height(), tui_display_main(), tui_horizontal_source_scroll(), tui_refresh_frame_and_register_information(), tui_show_disassem(), and tui_vertical_source_scroll().
Definition at line 320 of file blockframe.c.
References find_pc_partial_function_gnu_ifunc(), and name.
Referenced by aarch64_scan_prologue(), aarch64_skip_prologue(), after_prologue(), alpha_sigtramp_frame_sniffer(), amd64_linux_sigtramp_p(), amd64_skip_prologue(), amd64_sol2_sigtramp_p(), amd64_windows_skip_prologue(), amd64nbsd_sigtramp_p(), amd64obsd_sigtramp_p(), amd64obsd_trapframe_cache(), amd64obsd_trapframe_sniffer(), arc_make_frame_cache(), arc_skip_prologue(), arm_adjust_breakpoint_address(), arm_exidx_unwind_sniffer(), arm_scan_prologue(), arm_skip_prologue(), arm_skip_stub(), arm_stack_frame_destroyed_p_1(), arm_stub_unwind_sniffer(), avr_skip_prologue(), BP_MANIPULATION(), call0_analyze_prologue(), call0_frame_cache(), cris_skip_prologue(), disassemble_command(), disassemble_current_function(), elf_gnu_ifunc_resolve_addr(), fill_in_stop_func(), find_func_descr(), find_proc_desc(), finish_backward(), frv_linux_sigtramp_frame_sniffer(), frv_skip_prologue(), ft32_skip_prologue(), func_command(), h8300_skip_prologue(), handle_exception(), i386_in_stack_tramp_p(), i386_linux_dwarf_signal_frame_p(), i386_linux_sigtramp_p(), i386_sigtramp_p(), i386_skip_prologue(), i386_sol2_sigtramp_p(), i386_svr4_sigtramp_p(), i386nto_sigtramp_p(), i386obsd_sigtramp_p(), i386obsd_trapframe_cache(), i386obsd_trapframe_sniffer(), iq2000_frame_cache(), iq2000_skip_prologue(), lm32_skip_prologue(), m32c_skip_prologue(), m32c_skip_trampoline_code(), m32c_virtual_frame_pointer(), m32r_linux_sigtramp_frame_sniffer(), m32r_skip_prologue(), m68hc11_skip_prologue(), m88k_skip_prologue(), mep_skip_prologue(), mi_cmd_disassemble(), microblaze_analyze_prologue(), microblaze_skip_prologue(), micromips_stack_frame_destroyed_p(), mips16_stack_frame_destroyed_p(), mips32_stack_frame_destroyed_p(), mips_adjust_breakpoint_address(), mips_in_frame_stub(), mips_in_return_stub(), mips_insn16_frame_cache(), mips_insn32_frame_cache(), mips_micro_frame_cache(), mips_sde_frame_cache(), mips_sde_frame_sniffer(), mips_skip_mips16_trampoline_code(), mips_skip_prologue(), mips_stub_frame_cache(), mn10300_skip_prologue(), moxie_skip_prologue(), msp430_skip_prologue(), mt_skip_prologue(), nds32_skip_prologue(), nios2_skip_prologue(), nios2_stack_frame_destroyed_p(), nios2_stub_frame_cache(), or1k_frame_cache(), or1k_skip_prologue(), ppcfbsd_sigtramp_frame_sniffer(), ppcobsd_sigtramp_frame_sniffer(), prepare_one_step(), refine_prologue_limit(), rl78_skip_prologue(), rs6000_in_function_epilogue_frame_p(), rs6000_skip_prologue(), rx_frame_type(), rx_skip_prologue(), s390_skip_prologue(), score_make_prologue_cache(), sh_skip_prologue(), sh_stack_frame_destroyed_p(), skip_function_command(), skip_prologue_using_lineinfo(), skip_prologue_using_sal(), sparc32_skip_prologue(), sparc32_sol2_sigtramp_frame_sniffer(), sparc32nbsd_sigcontext_frame_sniffer(), sparc32obsd_sigtramp_frame_sniffer(), sparc64_skip_prologue(), sparc64_sol2_sigtramp_frame_sniffer(), sparc64fbsd_sigtramp_frame_sniffer(), sparc64nbsd_sigtramp_frame_sniffer(), sparc64obsd_sigtramp_frame_sniffer(), sparc64obsd_trapframe_sniffer(), spu_stack_frame_destroyed_p(), thumb_scan_prologue(), thumb_stack_frame_destroyed_p(), tic6x_skip_prologue(), tilegx_skip_prologue(), tilegx_stack_frame_destroyed_p(), tui_show_frame_info(), v850_skip_prologue(), xstormy16_skip_prologue(), xstormy16_stack_frame_destroyed_p(), xtensa_scan_prologue(), and xtensa_skip_prologue().
| int find_pc_partial_function_gnu_ifunc | ( | CORE_ADDR | pc, |
| const char ** | name, | ||
| CORE_ADDR * | address, | ||
| CORE_ADDR * | endaddr, | ||
| int * | is_gnu_ifunc_p | ||
| ) |
Definition at line 191 of file blockframe.c.
References ALL_OBJFILES, BLOCK_END, BLOCK_START, BMSYMBOL_VALUE_ADDRESS, cache_pc_function_high, cache_pc_function_is_gnu_ifunc, cache_pc_function_low, cache_pc_function_name, cache_pc_function_section, find_pc_overlay(), quick_symbol_functions::find_pc_sect_compunit_symtab, find_pc_sect_function(), find_pc_section(), lookup_minimal_symbol_by_pc_section(), minimal_symbol_upper_bound(), bound_minimal_symbol::minsym, mst_text_gnu_ifunc, MSYMBOL_LINKAGE_NAME, MSYMBOL_TYPE, name, objfile::objfile(), overlay_mapped_address(), overlay_unmapped_address(), pc_in_unmapped_range(), sym_fns::qf, objfile::sf, SYMBOL_BLOCK_VALUE, SYMBOL_LINKAGE_NAME, SYMBOL_TYPE, and TYPE_GNU_IFUNC.
Referenced by find_pc_partial_function(), and set_breakpoint_location_function().
| struct compunit_symtab* find_pc_sect_compunit_symtab | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 2872 of file symtab.c.
References ALL_BLOCK_SYMBOLS, ALL_COMPUNITS, ALL_OBJFILES, BLOCK_END, BLOCK_START, BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, quick_symbol_functions::find_pc_sect_compunit_symtab, fixup_symbol_section(), objfile::flags, GLOBAL_BLOCK, lookup_minimal_symbol_by_pc_section(), matching_obj_sections(), mst_abs, mst_bss, mst_data, mst_file_bss, mst_file_data, MSYMBOL_TYPE, OBJF_REORDERED, objfile::objfile(), sym_fns::qf, objfile::sf, and SYMBOL_OBJ_SECTION.
Referenced by blockvector_for_pc_sect(), find_pc_compunit_symtab(), find_pc_sect_line(), and spu_catch_start().
| struct symbol* find_pc_sect_function | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 136 of file blockframe.c.
References block_for_pc_sect(), and block_linkage_function().
Referenced by build_address_symbolic(), find_pc_function(), find_pc_partial_function_gnu_ifunc(), print_breakpoint_location(), print_one_static_tracepoint_marker(), skip_prologue_sal(), and update_static_tracepoint().
| struct symtab_and_line find_pc_sect_line | ( | CORE_ADDR | , |
| struct obj_section * | , | ||
| int | |||
| ) |
Definition at line 3051 of file symtab.c.
References ALL_COMPUNIT_FILETABS, BLOCK_END, BLOCKVECTOR_BLOCK, BMSYMBOL_VALUE_ADDRESS, COMPUNIT_BLOCKVECTOR, current_program_space, symtab_and_line::end, find_pc_line(), find_pc_sect_compunit_symtab(), GLOBAL_BLOCK, linetable::item, linetable_entry::line, symtab_and_line::line, lookup_minimal_symbol_by_pc(), lookup_minimal_symbol_text(), bound_minimal_symbol::minsym, mst_solib_trampoline, MSYMBOL_LINKAGE_NAME, MSYMBOL_TYPE, linetable::nitems, linetable_entry::pc, symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, symtab_and_line::symtab, and SYMTAB_LINETABLE.
Referenced by add_minsym(), amd64_skip_xmm_prologue(), build_address_symbolic(), find_function_start_sal(), find_instruction_backward(), find_line_pc_range(), find_pc_line(), minsym_found(), and skip_prologue_sal().
| std::vector<CORE_ADDR> find_pcs_for_symtab_line | ( | struct symtab * | symtab, |
| int | line, | ||
| struct linetable_entry ** | best_entry | ||
| ) |
Definition at line 3416 of file symtab.c.
References find_line_common(), linetable_entry::line, linetable_entry::pc, and SYMTAB_LINETABLE.
Referenced by decode_digits_ordinary(), and ltpy_get_pcs_for_line().
| CORE_ADDR find_solib_trampoline_target | ( | struct frame_info * | , |
| CORE_ADDR | |||
| ) |
Definition at line 1492 of file minsyms.c.
References ALL_MSYMBOLS, current_target, func, gdbarch_convert_from_func_ptr_addr(), get_objfile_arch(), lookup_solib_trampoline_symbol_by_pc(), mst_data, mst_text, mst_text_gnu_ifunc, MSYMBOL_LINKAGE_NAME, MSYMBOL_TYPE, MSYMBOL_VALUE_ADDRESS, and objfile::objfile().
Referenced by aarch64_linux_init_abi(), alpha_gdbarch_init(), alpha_linux_init_abi(), amd64_linux_init_abi_common(), arm_linux_skip_trampoline_code(), i386_linux_init_abi(), i386_svr4_init_abi(), ia64_linux_init_abi(), m32r_linux_init_abi(), m68k_linux_init_abi(), mips_skip_trampoline_code(), nios2_linux_init_abi(), obsd_skip_solib_resolver(), ppc64_skip_trampoline_code_1(), ppcfbsd_init_abi(), rs6000_skip_trampoline_code(), s390_gdbarch_init(), sh_linux_init_abi(), sparc32_linux_init_abi(), sparc32_sol2_init_abi(), sparc64_linux_init_abi(), sparc64_sol2_init_abi(), sparc64fbsd_init_abi(), sparc64nbsd_init_abi(), and tilegx_linux_init_abi().
Definition at line 2996 of file symtab.c.
References ALL_BLOCK_SYMBOLS, ALL_OBJFILES, BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, quick_symbol_functions::find_compunit_symtab_by_address, GLOBAL_BLOCK, LOC_STATIC, objfile::objfile(), sym_fns::qf, objfile::sf, STATIC_BLOCK, SYMBOL_CLASS, and SYMBOL_VALUE_ADDRESS.
Referenced by rust_get_trait_object_pointer().
| void fixup_section | ( | struct general_symbol_info * | ginfo, |
| CORE_ADDR | addr, | ||
| struct objfile * | objfile | ||
| ) |
Definition at line 1637 of file symtab.c.
References ALL_OBJFILE_OSECTIONS, ANOFFSET, lookup_minimal_symbol_by_pc_name(), MSYMBOL_SECTION, general_symbol_info::name, obj_section_addr, obj_section_endaddr, offset, general_symbol_info::section, objfile::section_offsets, and objfile::sections.
Referenced by fixup_psymbol_section(), and fixup_symbol_section().
Definition at line 1718 of file symtab.c.
References BLOCK_START, fixup_section(), gdb_assert, symbol::ginfo, LOC_BLOCK, LOC_LABEL, LOC_STATIC, SYMBOL_BLOCK_VALUE, SYMBOL_CLASS, SYMBOL_OBJ_SECTION, symbol_objfile(), SYMBOL_OBJFILE_OWNED, symbol_symtab(), and SYMBOL_VALUE_ADDRESS.
Referenced by ada_add_block_symbols(), ada_lookup_symbol(), aux_add_nonlocal_symbols(), find_function_start_sal(), find_pc_sect_compunit_symtab(), jump_command(), lookup_symbol_in_block(), lookup_symbol_in_objfile_symtabs(), lookup_symbol_via_quick_fns(), relocate_one_symbol(), resolve_sal_pc(), skip_prologue_sal(), spu_catch_start(), and var_decode_location().
| void forget_cached_source_info | ( | void | ) |
Definition at line 388 of file source.c.
References ALL_PSPACE_OBJFILES, ALL_PSPACES, forget_cached_source_info_for_objfile(), last_source_visited, objfile::objfile(), and objfile::pspace.
Referenced by cd_command(), directory_command(), init_source_path(), mi_cmd_env_dir(), set_substitute_path_command(), and unset_substitute_path_command().
| void forget_cached_source_info_for_objfile | ( | struct objfile * | ) |
Definition at line 360 of file source.c.
References ALL_OBJFILE_FILETABS, quick_symbol_functions::forget_cached_source_info, symtab::fullname, symtab::line_charpos, sym_fns::qf, objfile::sf, and xfree().
Referenced by forget_cached_source_info(), and objfile::~objfile().
| gdb_static_assert | ( | nr_minsym_types<= | 1<< MINSYM_TYPE_BITS | ) |
| gdb_static_assert | ( | NR_DOMAINS<= | 1<< SYMBOL_DOMAIN_BITS | ) |
| gdb_static_assert | ( | LOC_FINAL_VALUE<= | 1<< SYMBOL_ACLASS_BITS | ) |
Definition at line 1295 of file source.c.
References annotate_source(), clear_lines_listed_range(), current_source_line, current_source_symtab, symtab::fullname, get_filename_and_charpos(), get_objfile_arch(), symtab::line_charpos, symtab::nlines, and SYMTAB_OBJFILE.
Referenced by info_line_command(), and print_frame_info().
| int in_gnu_ifunc_stub | ( | CORE_ADDR | pc | ) |
Definition at line 945 of file minsyms.c.
References lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, mst_text_gnu_ifunc, and MSYMBOL_TYPE.
Referenced by svr4_in_dynsym_resolve_code().
| void initialize_objfile_symbol | ( | struct symbol * | ) |
Definition at line 5747 of file symtab.c.
References initialize_objfile_symbol_1(), and memset().
Referenced by process_xcoff_symbol(), and read_variable().
| bool iterate_over_some_symtabs | ( | const char * | name, |
| const char * | real_path, | ||
| struct compunit_symtab * | first, | ||
| struct compunit_symtab * | after_last, | ||
| gdb::function_view< bool(symtab *)> | callback | ||
| ) |
Definition at line 399 of file symtab.c.
References ALL_COMPUNIT_FILETABS, basenames_may_differ, compare_filenames_for_search(), symtab::filename, symtab::fullname, gdb_assert, name, compunit_symtab::next, and symtab_to_fullname().
Referenced by dw2_map_expand_apply(), iterate_over_symtabs(), and partial_map_expand_apply().
| void iterate_over_symbols | ( | const struct block * | block, |
| const lookup_name_info & | name, | ||
| const domain_enum | domain, | ||
| gdb::function_view< symbol_found_callback_ftype > | callback | ||
| ) |
Definition at line 2849 of file symtab.c.
References ALL_BLOCK_SYMBOLS_WITH_NAME, symbol::domain, name, SYMBOL_DOMAIN, SYMBOL_LANGUAGE, and symbol_matches_domain().
| void iterate_over_symtabs | ( | const char * | name, |
| gdb::function_view< bool(symtab *)> | callback | ||
| ) |
Definition at line 462 of file symtab.c.
References ALL_OBJFILES, objfile::compunit_symtabs, gdb_assert, gdb_realpath(), iterate_over_some_symtabs(), quick_symbol_functions::map_symtabs_matching_filename, name, objfile::objfile(), sym_fns::qf, and objfile::sf.
Referenced by collect_file_symbol_completion_matches(), and lookup_symtab().
Definition at line 1602 of file gdbtypes.c.
References _, error(), lookup_symbol(), name, STRUCT_DOMAIN, block_symbol::symbol, SYMBOL_TYPE, TYPE_CODE, and TYPE_CODE_ENUM.
Referenced by typy_lookup_typename(), tyscm_lookup_typename(), and yyparse().
| struct block_symbol lookup_global_symbol | ( | const char * | name, |
| const struct block * | block, | ||
| const domain_enum | domain | ||
| ) |
Definition at line 2651 of file symtab.c.
References block_symbol::block, current_program_space, symbol_cache_slot::domain, global_sym_lookup_data::domain, gdbarch_iterate_over_objfiles_in_search_order(), get_objfile_arch(), get_symbol_cache(), GLOBAL_BLOCK, lookup_objfile_from_block(), lookup_symbol_global_iterator_cb(), memset(), name, global_sym_lookup_data::name, objfile::objfile(), global_sym_lookup_data::result, solib_global_lookup(), block_symbol::symbol, symbol_cache_lookup(), symbol_cache_mark_found(), symbol_cache_mark_not_found(), SYMBOL_LOOKUP_FAILED_P, and target_gdbarch().
Referenced by basic_lookup_symbol_nonlocal(), cp_basic_lookup_symbol(), cp_lookup_bare_symbol(), cp_search_static_and_baseclasses(), d_lookup_symbol(), gdbpy_lookup_global_symbol(), gdbscm_lookup_global_symbol(), and rust_lookup_symbol_nonlocal().
| struct block_symbol lookup_global_symbol_from_objfile | ( | struct objfile * | main_objfile, |
| const char * | name, | ||
| const domain_enum | domain | ||
| ) |
Definition at line 2226 of file symtab.c.
References GLOBAL_BLOCK, lookup_symbol_in_objfile(), name, objfile::objfile(), objfile_separate_debug_iterate(), and block_symbol::symbol.
Referenced by compile_object_load(), elf_lookup_lib_symbol(), and spu_lookup_lib_symbol().
| struct block_symbol lookup_language_this | ( | const struct language_defn * | lang, |
| const struct block * | block | ||
| ) |
Definition at line 1915 of file symtab.c.
References BLOCK_FUNCTION, block_lookup_symbol(), BLOCK_SUPERBLOCK, fprintf_unfiltered(), gdb_stdlog, host_address_to_string, lookup_objfile_from_block(), objfile_debug_name(), SEARCH_NAME, symbol_lookup_debug, SYMBOL_PRINT_NAME, and VAR_DOMAIN.
Referenced by cp_lookup_bare_symbol(), d_lookup_symbol(), gen_expr(), lookup_symbol_aux(), and value_of_this().
Definition at line 2164 of file symtab.c.
References ALL_COMPUNITS, block_global_block(), BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, GLOBAL_BLOCK, and objfile::separate_debug_objfile_backlink.
Referenced by clear_dangling_display_expressions(), lookup_global_symbol(), lookup_language_this(), lookup_symbol_aux(), lookup_symbol_in_block(), lookup_symbol_in_static_block(), and operator_check_standard().
| struct block_symbol lookup_static_symbol | ( | const char * | name, |
| const domain_enum | domain | ||
| ) |
Definition at line 2574 of file symtab.c.
References ALL_OBJFILES, block_symbol::block, current_program_space, symbol_cache_slot::domain, get_symbol_cache(), lookup_symbol_in_objfile(), name, objfile::objfile(), STATIC_BLOCK, block_symbol::symbol, symbol_cache_lookup(), symbol_cache_mark_found(), symbol_cache_mark_not_found(), and SYMBOL_LOOKUP_FAILED_P.
Referenced by cp_lookup_nested_symbol_1(), d_lookup_nested_symbol(), find_symbol_in_baseclass(), and lookup_symbol_aux().
Definition at line 1556 of file gdbtypes.c.
References _, error(), lookup_symbol(), name, STRUCT_DOMAIN, block_symbol::symbol, SYMBOL_TYPE, TYPE_CODE, and TYPE_CODE_STRUCT.
Referenced by typy_lookup_typename(), tyscm_lookup_typename(), and yyparse().
| struct block_symbol lookup_symbol | ( | const char * | , |
| const struct block * | , | ||
| const domain_enum | , | ||
| struct field_of_this_result * | |||
| ) |
Definition at line 1893 of file symtab.c.
References current_language, language_defn::la_language, lookup_symbol_in_language(), and name.
Referenced by check_typedef(), classify_name(), classify_packaged_name(), convert_symbol_sym(), cp_lookup_rtti_type(), cp_search_static_and_baseclasses(), evaluate_subexp_standard(), find_function_in_inferior(), find_imps(), find_label_symbols_in_block(), find_proc_desc(), frapy_read_var(), ft32_skip_prologue(), gcc_convert_symbol(), gcc_symbol_address(), gdbpy_lookup_symbol(), gdbscm_frame_read_var(), gdbscm_lookup_symbol(), gen_static_field(), gnuv3_get_typeid_type(), info_address_command(), inspect_type(), language_bool_type(), lex_one_token(), list_args_or_locals(), lookup_enum(), lookup_struct(), lookup_struct_typedef(), lookup_template_type(), lookup_union(), moxie_skip_prologue(), mt_skip_prologue(), package_name_p(), parse_procedure(), replace_typedefs(), rust_evaluate_funcall(), rust_lookup_symbol(), rust_lookup_type(), select_source_symtab(), set_initial_language(), value_fn_field(), value_static_field(), value_struct_elt_for_reference(), VEC(), write_dollar_variable(), xstormy16_skip_prologue(), yylex(), and yyparse().
| struct symbol* lookup_symbol_in_block | ( | const char * | name, |
| symbol_name_match_type | match_type, | ||
| const struct block * | block, | ||
| const domain_enum | domain | ||
| ) |
Definition at line 2190 of file symtab.c.
References block_lookup_symbol(), domain_name(), fixup_symbol_section(), fprintf_unfiltered(), gdb_stdlog, host_address_to_string, lookup_objfile_from_block(), name, objfile_debug_name(), and symbol_lookup_debug.
Referenced by cp_basic_lookup_symbol(), lookup_local_symbol(), and lookup_symbol_in_static_block().
| struct block_symbol lookup_symbol_in_language | ( | const char * | , |
| const struct block * | , | ||
| const domain_enum | , | ||
| enum | language, | ||
| struct field_of_this_result * | |||
| ) |
Definition at line 1877 of file symtab.c.
References demangle_for_lookup(), FULL, lookup_symbol_aux(), and name.
Referenced by ada_get_tcb_types_info(), ada_tasks_inferior_data_sniffer(), lookup_symbol(), lookup_typename(), and standard_lookup().
| struct block_symbol lookup_symbol_in_static_block | ( | const char * | name, |
| const struct block * | block, | ||
| const domain_enum | domain | ||
| ) |
Definition at line 2487 of file symtab.c.
References block_static_block(), domain_name(), fprintf_unfiltered(), FULL, gdb_stdlog, host_address_to_string, lookup_objfile_from_block(), lookup_symbol_in_block(), name, objfile_debug_name(), and symbol_lookup_debug.
Referenced by basic_lookup_symbol_nonlocal(), cp_basic_lookup_symbol(), cp_lookup_bare_symbol(), cp_lookup_nested_symbol_1(), cp_search_static_and_baseclasses(), d_lookup_symbol(), find_symbol_in_baseclass(), and rust_lookup_symbol_nonlocal().
| struct block_symbol lookup_symbol_search_name | ( | const char * | search_name, |
| const struct block * | block, | ||
| domain_enum | domain | ||
| ) |
Definition at line 1905 of file symtab.c.
References language_asm, lookup_symbol_aux(), and SEARCH_NAME.
Referenced by insert_exception_resume_breakpoint(), iterate_over_block_arg_vars(), pascal_val_print(), print_frame_args(), and print_unpacked_pointer().
| struct symtab* lookup_symtab | ( | const char * | ) |
Definition at line 502 of file symtab.c.
References iterate_over_symtabs(), and name.
Referenced by block_lookup(), mi_cmd_disassemble(), mi_cmd_symbol_list_lines(), VEC(), yylex(), and yyparse().
| struct type* lookup_transparent_type | ( | const char * | ) |
Definition at line 2722 of file symtab.c.
References current_language, language_defn::la_lookup_transparent_type, and name.
Referenced by check_typedef().
Definition at line 1578 of file gdbtypes.c.
References _, error(), lookup_symbol(), name, STRUCT_DOMAIN, block_symbol::symbol, SYMBOL_TYPE, TYPE_CODE, and TYPE_CODE_UNION.
Referenced by typy_lookup_typename(), tyscm_lookup_typename(), and yyparse().
| enum language main_language | ( | void | ) |
Definition at line 5582 of file symtab.c.
References find_main_name(), get_main_info(), main_info::language_of_main, and main_info::name_of_main.
Referenced by set_initial_language().
| char* main_name | ( | void | ) |
Definition at line 5568 of file symtab.c.
References find_main_name(), get_main_info(), and main_info::name_of_main.
Referenced by inside_main_func(), run_command_1(), select_source_symtab(), set_initial_language(), and skip_prologue().
| completion_list make_source_files_completion_list | ( | const char * | , |
| const char * | |||
| ) |
Definition at line 5381 of file symtab.c.
References add_filename_to_list(), ALL_FILETABS, symtab::filename, add_partial_filename_data::filename_seen_cache, have_full_symbols(), have_partial_symbols(), add_partial_filename_data::list, map_symbol_filenames(), maybe_add_partial_symtab_filename(), not_interesting_fname(), objfile::objfile(), filename_seen_cache::seen(), add_partial_filename_data::text, add_partial_filename_data::text_len, and add_partial_filename_data::word.
Referenced by collect_explicit_location_matches(), complete_files_symbols(), and complete_source_filenames().
| int matching_obj_sections | ( | struct obj_section * | , |
| struct obj_section * | |||
| ) |
Definition at line 969 of file symtab.c.
References ALL_OBJFILES, gdb_assert, objfile::obfd, objfile::separate_debug_objfile, objfile::separate_debug_objfile_backlink, and obj_section::the_bfd_section.
Referenced by find_pc_sect_compunit_symtab(), find_pc_sect_psymbol(), and lookup_minimal_symbol_by_pc_section_1().
| const char* multiple_symbols_select_mode | ( | void | ) |
Definition at line 252 of file symtab.c.
References multiple_symbols_mode.
Referenced by decode_line_full(), and user_select_syms().
| void print_source_lines | ( | struct symtab * | , |
| int | , | ||
| int | , | ||
| print_source_lines_flags | |||
| ) |
Definition at line 1471 of file source.c.
References flags, and print_source_lines_base().
Referenced by btrace_print_lines(), do_mixed_source_and_assembly(), do_mixed_source_and_assembly_deprecated(), forward_search_command(), list_command(), print_frame_info(), reverse_search_command(), and tui_vertical_source_scroll().
| int producer_is_realview | ( | const char * | producer | ) |
Definition at line 5605 of file symtab.c.
References startswith().
Referenced by dwarf2_frame_find_quirks(), prototyped_function_p(), and read_structure_type().
| int register_symbol_block_impl | ( | enum address_class | aclass, |
| const struct symbol_block_ops * | ops | ||
| ) |
Definition at line 5684 of file symtab.c.
References symbol_impl::aclass, symbol_block_ops::find_frame_base_location, gdb_assert, LOC_BLOCK, MAX_SYMBOL_IMPLS, next_aclass_value, and symbol_impl::ops_block.
Referenced by _initialize_dwarf2_read().
| int register_symbol_computed_impl | ( | enum | address_class, |
| const struct symbol_computed_ops * | |||
| ) |
Definition at line 5658 of file symtab.c.
References symbol_impl::aclass, symbol_computed_ops::describe_location, gdb_assert, symbol_computed_ops::get_symbol_read_needs, LOC_COMPUTED, MAX_SYMBOL_IMPLS, next_aclass_value, symbol_impl::ops_computed, symbol_computed_ops::read_variable, and symbol_computed_ops::tracepoint_var_ref.
Referenced by _initialize_dwarf2_read().
| int register_symbol_register_impl | ( | enum | address_class, |
| const struct symbol_register_ops * | |||
| ) |
Definition at line 5707 of file symtab.c.
References symbol_impl::aclass, gdb_assert, LOC_REGISTER, LOC_REGPARM_ADDR, MAX_SYMBOL_IMPLS, next_aclass_value, and symbol_impl::ops_register.
Referenced by _initialize_coffread(), _initialize_mdebugread(), and _initialize_stabsread().
| void reread_symbols | ( | void | ) |
Definition at line 2411 of file symfile.c.
References _, build_objfile_section_table(), clear_complaints(), clear_symtab_users(), clear_symtab_users_cleanup(), objfile::compunit_symtabs, discard_cleanups(), error(), exec_bfd, exec_file_attach(), find_sym_fns(), objfile::flags, free_objfile_separate_debug(), objfile::free_psymtabs, gdb_bfd_open(), objfile::global_psymbols, gnutarget, init_entry_point_info(), make_cleanup(), objfile::mtime, objfile::next, objfile::num_sections, objfile::obfd, object_files, OBJF_PSYMTABS_READ, objfile::objfile(), objfile_has_symbols(), objfile_name(), objfile_set_sym_fns(), objfiles_changed(), observer_notify_executable_changed(), observer_notify_new_objfile(), section_offsets::offsets, objfile::original_name, preserve_values(), printf_unfiltered(), psymbol_bcache_free(), psymbol_bcache_init(), objfile::psymbol_cache, objfile::psymtabs, objfile::psymtabs_addrmap, read_symbols(), reinit_frame_cache(), gdb::ref_ptr< T, Policy >::release(), objfile::section_offsets, objfile::sections, objfile::separate_debug_objfile_backlink, set_objfile_per_bfd(), objfile::sf, SIZEOF_N_SECTION_OFFSETS, objfile::static_psymbols, sym_fns::sym_finish, sym_fns::sym_init, sym_fns::sym_new_init, symfile_complaints, symfile_objfile, objfile::template_symbols, terminate_minimal_symbol_table(), wrap_here(), and xfree().
Referenced by load_command(), remote_open_1(), run_command_1(), and setup_inferior().
| void resolve_sal_pc | ( | struct symtab_and_line * | ) |
Definition at line 9543 of file breakpoint.c.
References _, block_linkage_function(), blockvector_for_pc_sect(), error(), symtab_and_line::explicit_line, find_line_pc(), fixup_symbol_section(), symtab_and_line::line, lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, MSYMBOL_OBJ_SECTION, bound_minimal_symbol::objfile, symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, skip_prologue_sal(), switch_to_program_space_and_thread(), SYMBOL_OBJ_SECTION, symtab_and_line::symtab, SYMTAB_COMPUNIT, SYMTAB_OBJFILE, and symtab_to_filename_for_display().
Referenced by breakpoint_sals_to_pc(), info_scope_command(), jump_command(), location_to_sals(), and until_break_command().
| const char* search_domain_name | ( | enum | search_domain | ) |
Definition at line 277 of file symtab.c.
References ALL_DOMAIN, FUNCTIONS_DOMAIN, gdb_assert_not_reached, TYPES_DOMAIN, and VARIABLES_DOMAIN.
Referenced by debug_qf_expand_symtabs_matching().
| unsigned int search_name_hash | ( | enum language | language, |
| const char * | search_name | ||
| ) |
Definition at line 1859 of file symtab.c.
References language_defn::la_search_name_hash, and language_def().
Referenced by add_minsym_to_demangled_hash_table(), and insert_symbol_hashed().
| std::vector<symbol_search> search_symbols | ( | const char * | , |
| enum | search_domain, | ||
| int | , | ||
| const char ** | |||
| ) |
| void select_source_symtab | ( | struct symtab * | ) |
Definition at line 247 of file source.c.
References _, ALL_FILETABS, ALL_OBJFILES, current_program_space, current_source_line, current_source_pspace, current_source_symtab, DECODE_LINE_FUNFIRSTLINE, decode_line_with_current_source(), error(), symtab::filename, quick_symbol_functions::find_last_source_symtab, symtab_and_line::line, lines_to_list, lookup_symbol(), main_name(), name, symtab_and_line::pspace, sym_fns::qf, objfile::sf, symtab_and_line::symtab, SYMTAB_PSPACE, and VAR_DOMAIN.
Referenced by forward_search_command(), reverse_search_command(), set_default_source_symtab_and_line(), and tui_refresh_frame_and_register_information().
| void skip_prologue_sal | ( | struct symtab_and_line * | ) |
Definition at line 3671 of file symtab.c.
References BLOCK_END, block_for_pc_sect(), BLOCK_FUNCTION, block_inlined_p(), BLOCK_START, BLOCK_SUPERBLOCK, BMSYMBOL_VALUE_ADDRESS, COMPUNIT_LOCATIONS_VALID, symtab_and_line::end, symtab_and_line::explicit_line, symtab_and_line::explicit_pc, find_pc_sect_function(), find_pc_sect_line(), fixup_symbol_section(), gdbarch_deprecated_function_start_offset(), gdbarch_skip_entrypoint(), gdbarch_skip_entrypoint_p(), gdbarch_skip_main_prologue(), gdbarch_skip_main_prologue_p(), gdbarch_skip_prologue_noexcept(), get_objfile_arch(), symtab_and_line::line, lookup_minimal_symbol_by_pc_section(), bound_minimal_symbol::minsym, MSYMBOL_LINKAGE_NAME, MSYMBOL_OBJ_SECTION, name, bound_minimal_symbol::objfile, objfile::objfile(), overlay_mapped_address(), overlay_unmapped_address(), symtab_and_line::pc, symtab_and_line::pspace, symtab_and_line::section, section_is_mapped(), section_is_overlay(), skip_prologue_using_lineinfo(), strcmp_iw(), switch_to_program_space_and_thread(), SYMBOL_BLOCK_VALUE, SYMBOL_LINE, SYMBOL_LINKAGE_NAME, SYMBOL_OBJ_SECTION, symbol_objfile(), symbol_symtab(), symtab_and_line::symtab, and SYMTAB_COMPUNIT.
Referenced by create_sals_line_offset(), find_function_start_sal(), minsym_found(), and resolve_sal_pc().
Definition at line 3854 of file symtab.c.
References block_for_pc(), BLOCK_FUNCTION, block_inlined_p(), BLOCK_SUPERBLOCK, symtab_and_line::end, find_pc_line(), find_pc_partial_function(), gdbarch_deprecated_function_start_offset(), linetable::item, symtab::language, language_asm, linetable_entry::line, symtab_and_line::line, linetable::nitems, linetable_entry::pc, symtab_and_line::pc, symtab_and_line::symtab, and SYMTAB_LINETABLE.
Referenced by aarch64_skip_prologue(), amd64_skip_prologue(), amd64_windows_skip_prologue(), arc_skip_prologue(), arm_skip_prologue(), avr_skip_prologue(), frv_analyze_prologue(), ft32_skip_prologue(), i386_skip_prologue(), lm32_skip_prologue(), m32c_skip_prologue(), mips_skip_prologue(), moxie_skip_prologue(), mt_frame_unwind_cache(), nds32_skip_prologue(), nios2_skip_prologue(), or1k_skip_prologue(), rs6000_skip_prologue(), s390_skip_prologue(), sh_skip_prologue(), tic6x_skip_prologue(), and tilegx_skip_prologue().
Definition at line 5793 of file symtab.c.
References symbol::arch, get_objfile_arch(), symbol::owner, SYMBOL_OBJFILE_OWNED, symbol::symtab, and SYMTAB_OBJFILE.
Referenced by block_gdbarch(), cp_lookup_symbol_imports_or_template(), default_read_var_value(), find_function_start_sal(), info_address_command(), info_scope_command(), and syscm_get_symbol_map().
| const char* symbol_demangled_name | ( | const struct general_symbol_info * | symbol | ) |
Definition at line 915 of file symtab.c.
References ada_decode_symbol(), general_symbol_info::language, language_ada, language_cplus, language_d, language_fortran, language_go, language_objc, and symbol_get_demangled_name().
| const char* symbol_get_demangled_name | ( | const struct general_symbol_info * | ) |
Definition at line 630 of file symtab.c.
References general_symbol_info::ada_mangled, general_symbol_info::demangled_name, general_symbol_info::language, language_ada, and general_symbol_info::language_specific.
Referenced by new_symbol_full(), symbol_demangled_name(), and symbol_natural_name().
| bool symbol_is_function_or_method | ( | symbol * | sym | ) |
Definition at line 4918 of file symtab.c.
References SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_FUNC, and TYPE_CODE_METHOD.
Referenced by completion_skip_symbol().
| bool symbol_is_function_or_method | ( | minimal_symbol * | msymbol | ) |
Definition at line 4933 of file symtab.c.
References mst_file_text, mst_solib_trampoline, mst_text, mst_text_gnu_ifunc, and MSYMBOL_TYPE.
| int symbol_matches_domain | ( | enum language | symbol_language, |
| domain_enum | symbol_domain, | ||
| domain_enum | domain | ||
| ) |
Definition at line 2700 of file symtab.c.
References symbol_cache_slot::domain, language_ada, language_cplus, language_d, language_rust, STRUCT_DOMAIN, and VAR_DOMAIN.
Referenced by ada_add_block_symbols(), block_find_symbol(), block_lookup_symbol(), block_lookup_symbol_primary(), eq_symbol_entry(), find_label_symbols_in_block(), iterate_over_symbols(), lookup_partial_symbol(), map_block(), and match_partial_symbol().
| bool symbol_matches_search_name | ( | const struct general_symbol_info * | gsymbol, |
| const lookup_name_info & | name | ||
| ) |
Definition at line 954 of file symtab.c.
References get_symbol_name_matcher(), general_symbol_info::language, language_def(), name, and symbol_search_name().
| const char* symbol_natural_name | ( | const struct general_symbol_info * | symbol | ) |
Definition at line 891 of file symtab.c.
References ada_decode_symbol(), general_symbol_info::language, language_ada, language_cplus, language_d, language_fortran, language_go, language_objc, general_symbol_info::name, and symbol_get_demangled_name().
Referenced by symbol_search_name().
Definition at line 5784 of file symtab.c.
References gdb_assert, symbol::owner, SYMBOL_OBJFILE_OWNED, symbol::symtab, and SYMTAB_OBJFILE.
Referenced by block_objfile(), default_read_var_value(), find_function_in_inferior(), find_function_start_sal(), fixup_symbol_section(), frapy_block(), gdbscm_frame_block(), info_address_command(), jump_command(), operator_check_standard(), print_symbol(), set_symbol(), skip_prologue_sal(), sympy_dealloc(), and syscm_get_symbol_map().
| CORE_ADDR symbol_overlayed_address | ( | CORE_ADDR | , |
| struct obj_section * | |||
| ) |
Definition at line 3143 of file symfile.c.
References overlay_debugging, overlay_unmapped_address(), section_is_mapped(), and section_is_overlay().
Referenced by default_read_var_value(), and find_minsym_type_and_address().
| const char* symbol_search_name | ( | const struct general_symbol_info * | ginfo | ) |
Definition at line 943 of file symtab.c.
References general_symbol_info::language, language_ada, general_symbol_info::name, and symbol_natural_name().
Referenced by ada_symbol_name_matches(), cp_fq_symbol_name_matches(), cp_symbol_name_matches(), cp_symbol_name_matches_1(), default_symbol_name_matcher(), do_full_match(), do_wild_match(), literal_symbol_name_matcher(), and symbol_matches_search_name().
| void symbol_set_demangled_name | ( | struct general_symbol_info * | , |
| const char * | , | ||
| struct obstack * | |||
| ) |
Definition at line 606 of file symtab.c.
References general_symbol_info::ada_mangled, general_symbol_info::demangled_name, general_symbol_info::language, language_ada, general_symbol_info::language_specific, name, and general_symbol_info::obstack.
Referenced by new_symbol_full(), symbol_set_language(), and symbol_set_names().
| void symbol_set_language | ( | struct general_symbol_info * | symbol, |
| enum language | language, | ||
| struct obstack * | obstack | ||
| ) |
Definition at line 647 of file symtab.c.
References general_symbol_info::ada_mangled, gdb_assert, general_symbol_info::language, language_ada, language_cplus, language_d, language_fortran, language_go, language_objc, general_symbol_info::language_specific, memset(), general_symbol_info::obstack, and symbol_set_demangled_name().
| void symbol_set_names | ( | struct general_symbol_info * | symbol, |
| const char * | linkage_name, | ||
| int | len, | ||
| int | copy_name, | ||
| struct objfile * | objfile | ||
| ) |
Definition at line 773 of file symtab.c.
References copy_name(), create_demangled_names_hash(), demangled_name_entry::demangled, objfile_per_bfd_storage::demangled_names_hash, general_symbol_info::language, language_ada, language_go, demangled_name_entry::mangled, name, general_symbol_info::name, objfile::per_bfd, objfile_per_bfd_storage::storage_obstack, symbol_find_demangled_name(), symbol_set_demangled_name(), and xfree().
Definition at line 5812 of file symtab.c.
References gdb_assert, symbol::owner, SYMBOL_OBJFILE_OWNED, and symbol::symtab.
Referenced by add_symbol(), end_symtab_with_blockvector(), finalize_symtab(), new_symbol_full(), and set_missing_symtab().
Definition at line 5803 of file symtab.c.
References gdb_assert, symbol::owner, SYMBOL_OBJFILE_OWNED, and symbol::symtab.
Referenced by btrace_call_history_src_line(), btrace_compute_src_line_range(), cache_symbol(), symbol_search::compare_search_syms(), compare_symbols(), convert_linespec_to_sals(), convert_one_symbol(), end_symtab_with_blockvector(), find_frame_sal(), find_method(), fixup_go_packaging(), fixup_symbol_section(), ftrace_function_switched(), ftrace_print_filename(), gdbpy_rbreak(), gdbscm_symbol_symtab(), print_symbol_info(), rbreak_command(), search_symbols(), set_missing_symtab(), set_symbol(), skip_prologue_sal(), symbol_to_sal(), sympy_dealloc(), sympy_get_symtab(), symtab_symbol_info(), and user_select_syms().
| int basenames_may_differ |
Definition at line 231 of file symtab.c.
Referenced by _initialize_symtab(), skiplist_entry::do_skip_file_p(), skiplist_entry::do_skip_gfile_p(), dw2_map_symtabs_matching_filename(), dw_expand_symtabs_matching_file_matcher(), iterate_over_some_symtabs(), psym_expand_symtabs_matching(), psym_expand_symtabs_with_fullname(), psym_map_symtabs_matching_filename(), and search_symbols().
| int currently_reading_symtab |
Definition at line 179 of file symfile.c.
Referenced by check_typedef(), and increment_reading_symtab().
| int demangle |
Definition at line 47 of file demangle.c.
Referenced by _initialize_demangler(), f_val_print(), fprintf_symbol_filtered(), generic_val_print_func(), gnuv3_print_method_ptr(), pascal_val_print(), print_breakpoint_location(), print_function_pointer_address(), print_unpacked_pointer(), and tui_get_function_from_frame().
| const struct gnu_ifunc_fns* gnu_ifunc_fns_p |
Definition at line 1003 of file minsyms.c.
Referenced by _initialize_elfread().
| const char multiple_symbols_all[] |
Definition at line 238 of file symtab.c.
Referenced by decode_line_2(), decode_line_full(), decode_location_default(), and user_select_syms().
| const char multiple_symbols_ask[] |
Definition at line 237 of file symtab.c.
Referenced by decode_line_full().
| const char multiple_symbols_cancel[] |
Definition at line 239 of file symtab.c.
Referenced by decode_line_2(), decode_line_full(), and user_select_syms().
| const struct block_symbol null_block_symbol |
Definition at line 96 of file symtab.c.
Referenced by cp_lookup_bare_symbol(), cp_lookup_nested_symbol(), cp_lookup_nested_symbol_1(), cp_lookup_symbol_via_all_imports(), cp_lookup_symbol_via_imports(), cp_search_static_and_baseclasses(), d_lookup_nested_symbol(), d_lookup_symbol(), d_lookup_symbol_imports(), and d_lookup_symbol_module().
| const struct symbol_impl* symbol_impls |
| unsigned int symbol_lookup_debug |
Definition at line 218 of file symtab.c.
Referenced by _initialize_symtab(), cp_lookup_nested_symbol(), cp_lookup_symbol_imports_or_template(), cp_lookup_symbol_namespace(), cp_lookup_symbol_nonlocal(), language_lookup_primitive_type_as_symbol(), lookup_language_this(), lookup_minimal_symbol(), lookup_symbol_aux(), lookup_symbol_in_block(), lookup_symbol_in_objfile(), lookup_symbol_in_objfile_symtabs(), lookup_symbol_in_static_block(), lookup_symbol_via_quick_fns(), rust_lookup_symbol_nonlocal(), and symbol_cache_lookup().
| unsigned int symtab_create_debug |
Definition at line 215 of file symtab.c.
Referenced by _initialize_symtab(), allocate_compunit_symtab(), allocate_psymtab(), allocate_symtab(), elf_read_minimal_symbols(), and minimal_symbol_reader::install().
1.8.14