GDB (xrefs)
|
#include "dictionary.h"
Go to the source code of this file.
Classes | |
struct | block |
struct | global_block |
struct | blockvector |
struct | block_iterator |
Macros | |
#define | BLOCK_START(bl) (bl)->startaddr |
#define | BLOCK_END(bl) (bl)->endaddr |
#define | BLOCK_FUNCTION(bl) (bl)->function |
#define | BLOCK_SUPERBLOCK(bl) (bl)->superblock |
#define | BLOCK_DICT(bl) (bl)->dict |
#define | BLOCK_NAMESPACE(bl) (bl)->language_specific.cplus_specific.the_namespace |
#define | BLOCKVECTOR_NBLOCKS(blocklist) (blocklist)->nblocks |
#define | BLOCKVECTOR_BLOCK(blocklist, n) (blocklist)->block[n] |
#define | BLOCKVECTOR_MAP(blocklist) ((blocklist)->map) |
#define | ALL_BLOCK_SYMBOLS(block, iter, sym) |
#define | ALL_BLOCK_SYMBOLS_WITH_NAME(block, name, iter, sym) |
Typedefs | |
typedef int( | block_symbol_matcher_ftype) (struct symbol *, void *) |
#define ALL_BLOCK_SYMBOLS | ( | block, | |
iter, | |||
sym | |||
) |
Definition at line 333 of file block.h.
Referenced by ada_add_block_symbols(), ada_add_exceptions_from_frame(), ada_add_global_exceptions(), add_symtab_completions(), check_exception_resume(), default_make_symbol_completion_list_break_on_1(), find_pc_sect_compunit_symtab(), info_common_command_for_block(), iterate_over_block_arg_vars(), iterate_over_block_locals(), list_args_or_locals(), mylookup_symbol(), parse_symbol(), patch_opaque_types(), print_frame_args(), scope_info(), search_symbols(), and VEC().
Definition at line 342 of file block.h.
Referenced by block_find_symbol(), block_lookup_symbol(), iterate_over_symbols(), and make_symbol_overload_list_block().
#define BLOCK_DICT | ( | bl | ) | (bl)->dict |
Definition at line 120 of file block.h.
Referenced by add_class_symtab_symbol(), add_symbol(), augment_type_symtab(), block_iter_match_step(), block_iter_name_step(), block_iterator_step(), dump_symtab_1(), end_symtab_with_blockvector(), finalize_symtab(), finish_block_internal(), get_java_class_symtab(), new_block(), and objfile_relocate1().
#define BLOCK_END | ( | bl | ) | (bl)->endaddr |
Definition at line 117 of file block.h.
Referenced by bkscm_print_block_smob(), blpy_get_end(), check_scope(), compare_blocks(), dump_symtab_1(), end_symtab_with_blockvector(), finalize_symtab(), find_block_in_blockvector(), find_pc_partial_function_gnu_ifunc(), find_pc_sect_compunit_symtab(), find_pc_sect_line(), finish_block_internal(), gdbscm_block_end(), maintenance_check_psymtabs(), objfile_relocate1(), parse_procedure(), parse_symbol(), print_symbol(), psymtab_to_symtab_1(), record_block_range(), skip_prologue_sal(), and sort_blocks().
#define BLOCK_FUNCTION | ( | bl | ) | (bl)->function |
Definition at line 118 of file block.h.
Referenced by ada_add_exceptions_from_frame(), bkscm_print_block_smob(), block_containing_function(), block_gdbarch(), block_inlined_p(), block_linkage_function(), block_lookup_symbol(), block_objfile(), blpy_get_function(), contained_in(), cp_lookup_symbol_imports_or_template(), default_make_symbol_completion_list_break_on_1(), dump_symtab_1(), end_symtab_with_blockvector(), finalize_symtab(), finish_block_internal(), frapy_block(), gdbscm_block_function(), gdbscm_frame_block(), generate_c_for_variable_locations(), get_frame_function(), get_out_value_type(), go_block_package_name(), info_common_command(), inline_frame_sniffer(), iterate_over_block_local_vars(), list_args_or_locals(), lookup_language_this(), lookup_local_symbol(), parse_procedure(), parse_symbol(), print_subexp_standard(), scope_info(), skip_inline_frames(), skip_prologue_sal(), skip_prologue_using_sal(), and value_of_variable().
#define BLOCK_NAMESPACE | ( | bl | ) | (bl)->language_specific.cplus_specific.the_namespace |
Definition at line 121 of file block.h.
Referenced by block_initialize_namespace(), block_scope(), block_set_scope(), block_set_using(), and block_using().
#define BLOCK_START | ( | bl | ) | (bl)->startaddr |
Definition at line 116 of file block.h.
Referenced by address_info(), bkscm_print_block_smob(), block_compar(), blpy_get_start(), build_address_symbolic(), check_scope(), compare_blocks(), compile_object_run(), convert_one_symbol(), default_read_var_value(), dump_symtab_1(), dwarf2_find_location_expression(), finalize_symtab(), find_block_in_blockvector(), find_frame_funname(), find_function_return_type(), find_function_start_sal(), find_pc_partial_function_gnu_ifunc(), find_pc_sect_compunit_symtab(), find_proc_desc(), finish_block_internal(), fixup_symbol_section(), func_addr_to_tail_call_list(), gcc_symbol_address(), gdbscm_block_start(), gen_var_ref(), get_expr_block_and_pc(), get_pc_function_start(), inline_frame_this_id(), maintenance_check_psymtabs(), make_blockvector(), mips_make_symbol_special(), objfile_relocate1(), parse_exp_in_context_1(), parse_procedure(), parse_symbol(), print_symbol(), psymtab_to_symtab_1(), record_block_range(), scope_info(), skip_inline_frames(), skip_prologue_sal(), sort_blocks(), until_next_command(), and value_fn_field().
#define BLOCK_SUPERBLOCK | ( | bl | ) | (bl)->superblock |
Definition at line 119 of file block.h.
Referenced by ada_add_exceptions_from_frame(), ada_add_local_symbols(), bkscm_print_block_smob(), block_containing_function(), block_depth(), block_find_symbol(), block_global_block(), block_linkage_function(), block_lookup_symbol_primary(), block_scope(), block_static_block(), blpy_get_static_block(), blpy_get_superblock(), blpy_is_global(), blpy_is_static(), contained_in(), cp_lookup_symbol_imports_or_template(), cp_lookup_symbol_via_all_imports(), default_make_symbol_completion_list_break_on_1(), dump_symtab_1(), finalize_symtab(), finish_block_internal(), frapy_block(), gdbscm_block_global_p(), gdbscm_block_static_block(), gdbscm_block_static_p(), gdbscm_block_superblock(), gdbscm_frame_block(), generate_c_for_variable_locations(), get_block_compunit_symtab(), get_frame_block(), get_frame_function(), get_out_value_type(), go_block_package_name(), info_common_command(), initialize_block_iterator(), inline_frame_sniffer(), iterate_over_block_local_vars(), iterate_over_file_blocks(), list_args_or_locals(), lookup_language_this(), lookup_local_symbol(), make_symbol_overload_list_qualified(), make_symbol_overload_list_using(), mylookup_symbol(), new_symtab(), parse_procedure(), parse_symbol(), scope_info(), set_block_compunit_symtab(), skip_inline_frames(), skip_prologue_sal(), skip_prologue_using_sal(), and VEC().
#define BLOCKVECTOR_BLOCK | ( | blocklist, | |
n | |||
) | (blocklist)->block[n] |
Definition at line 136 of file block.h.
Referenced by ada_add_global_exceptions(), add_block(), add_class_symtab_symbol(), add_symtab_completions(), augment_type_symtab(), basic_lookup_transparent_type_1(), basic_lookup_transparent_type_quick(), block_iter_match_step(), block_iter_name_step(), block_iterator_step(), block_lookup(), cache_symbol(), dump_symtab_1(), dw2_lookup_symbol(), end_symtab_with_blockvector(), finalize_symtab(), find_block_in_blockvector(), find_pc_sect_compunit_symtab(), find_pc_sect_line(), gdbscm_symtab_global_block(), gdbscm_symtab_static_block(), get_expr_block_and_pc(), get_java_class_symtab(), get_out_value_type(), iterate_over_all_matching_symtabs(), iterate_over_file_blocks(), lookup_objfile_from_block(), lookup_symbol_in_objfile_symtabs(), lookup_symbol_via_quick_fns(), maintenance_check_psymtabs(), make_blockvector(), make_symbol_overload_list_qualified(), new_symtab(), objfile_relocate1(), parse_exp_in_context_1(), parse_procedure(), parse_symbol(), patch_opaque_types(), psym_lookup_symbol(), psym_map_matching_symbols(), psymtab_to_symtab_1(), search_symbols(), sort_blocks(), spu_catch_start(), stpy_global_block(), stpy_static_block(), VEC(), and yyparse().
#define BLOCKVECTOR_MAP | ( | blocklist | ) | ((blocklist)->map) |
Definition at line 137 of file block.h.
Referenced by block_starting_point_at(), finalize_symtab(), find_block_in_blockvector(), make_blockvector(), and objfile_relocate1().
#define BLOCKVECTOR_NBLOCKS | ( | blocklist | ) | (blocklist)->nblocks |
Definition at line 135 of file block.h.
Referenced by count_symtabs_and_blocks(), dump_symtab_1(), end_symtab_with_blockvector(), finalize_symtab(), find_block_in_blockvector(), get_java_class_symtab(), get_out_value_type(), iterate_over_all_matching_symtabs(), make_blockvector(), new_bvect(), objfile_relocate1(), parse_symbol(), and sort_blocks().
struct block* allocate_block | ( | struct obstack * | obstack | ) |
Definition at line 401 of file block.c.
References OBSTACK_ZALLOC.
Referenced by finalize_symtab(), finish_block_internal(), and get_java_class_symtab().
struct block* allocate_global_block | ( | struct obstack * | obstack | ) |
Definition at line 411 of file block.c.
References global_block::block, and OBSTACK_ZALLOC.
Referenced by finalize_symtab(), finish_block_internal(), and get_java_class_symtab().
Definition at line 115 of file block.c.
References BLOCK_FUNCTION, and BLOCK_SUPERBLOCK.
Referenced by create_sals_line_offset().
Definition at line 849 of file block.c.
References SYMBOL_TYPE, and TYPE_IS_OPAQUE.
Referenced by basic_lookup_transparent_type_1(), and basic_lookup_transparent_type_quick().
Definition at line 857 of file block.c.
References SYMBOL_TYPE, and TYPE_IS_OPAQUE.
Referenced by dw2_lookup_symbol(), and psym_lookup_symbol().
struct symbol* block_find_symbol | ( | const struct block * | block, |
const char * | name, | ||
const domain_enum | domain, | ||
block_symbol_matcher_ftype * | matcher, | ||
void * | data | ||
) |
Definition at line 823 of file block.c.
References ALL_BLOCK_SYMBOLS_WITH_NAME, BLOCK_SUPERBLOCK, gdb_assert, SYMBOL_DOMAIN, SYMBOL_LANGUAGE, and symbol_matches_domain().
Referenced by basic_lookup_transparent_type_1(), basic_lookup_transparent_type_quick(), dw2_lookup_symbol(), and psym_lookup_symbol().
Definition at line 282 of file block.c.
References block_for_pc_sect(), and find_pc_mapped_section().
Referenced by add_local_symbols(), agent_eval_command_one(), create_excep_cond_exprs(), do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), dwarf2_find_location_expression(), encode_actions_1(), evaluate_subexp_standard(), find_condition_and_thread(), find_proc_desc(), frame_id_inner(), gdbpy_block_for_pc(), gdbscm_lookup_block(), gen_expr(), gen_maybe_namespace_elt(), get_frame_block(), get_pc_function_start(), init_breakpoint_sal(), inline_frame_sniffer(), locexpr_describe_location_piece(), parse_cmd_to_aexpr(), scope_info(), set_breakpoint_condition(), skip_inline_frames(), skip_prologue_using_sal(), update_breakpoint_locations(), and validate_actionline().
const struct block* block_for_pc_sect | ( | CORE_ADDR | , |
struct obj_section * | |||
) |
Definition at line 267 of file block.c.
References blockvector_for_pc_sect().
Referenced by block_for_pc(), create_sals_line_offset(), find_pc_sect_function(), and skip_prologue_sal().
Definition at line 60 of file block.c.
References BLOCK_FUNCTION, block_objfile(), get_objfile_arch(), and symbol_arch().
Referenced by ada_lookup_symbol_nonlocal(), basic_lookup_symbol_nonlocal(), and cp_lookup_bare_symbol().
Definition at line 380 of file block.c.
References BLOCK_SUPERBLOCK.
Referenced by block_objfile(), blpy_get_global_block(), cp_basic_lookup_symbol(), default_make_symbol_completion_list_break_on_1(), gdbscm_block_global_block(), lookup_objfile_from_block(), and make_symbol_overload_list_namespace().
Definition at line 126 of file block.c.
References BLOCK_FUNCTION, and SYMBOL_INLINED.
Referenced by block_linkage_function(), contained_in(), default_make_symbol_completion_list_break_on_1(), find_frame_funname(), get_frame_block(), inline_frame_sniffer(), lookup_local_symbol(), skip_inline_frames(), skip_prologue_sal(), skip_prologue_using_sal(), and value_of_variable().
struct symbol* block_iter_match_first | ( | const struct block * | block, |
const char * | name, | ||
symbol_compare_ftype * | compare, | ||
struct block_iterator * | iterator | ||
) |
Definition at line 695 of file block.c.
References block_iter_match_step(), block::dict, block_iterator::dict_iter, dict_iter_match_first(), FIRST_LOCAL_BLOCK, initialize_block_iterator(), and block_iterator::which.
Referenced by ada_add_block_symbols(), and map_block().
struct symbol* block_iter_match_next | ( | const char * | name, |
symbol_compare_ftype * | compare, | ||
struct block_iterator * | iterator | ||
) |
Definition at line 712 of file block.c.
References block_iter_match_step(), block_iterator::dict_iter, dict_iter_match_next(), FIRST_LOCAL_BLOCK, and block_iterator::which.
Referenced by ada_add_block_symbols(), and map_block().
struct symbol* block_iter_name_first | ( | const struct block * | block, |
const char * | name, | ||
struct block_iterator * | iterator | ||
) |
Definition at line 624 of file block.c.
References block_iter_name_step(), block::dict, block_iterator::dict_iter, dict_iter_name_first(), FIRST_LOCAL_BLOCK, initialize_block_iterator(), and block_iterator::which.
struct symbol* block_iter_name_next | ( | const char * | name, |
struct block_iterator * | iterator | ||
) |
Definition at line 639 of file block.c.
References block_iter_name_step(), block_iterator::dict_iter, dict_iter_name_next(), FIRST_LOCAL_BLOCK, and block_iterator::which.
struct symbol* block_iterator_first | ( | const struct block * | block, |
struct block_iterator * | iterator | ||
) |
Definition at line 556 of file block.c.
References block_iterator_step(), block::dict, block_iterator::dict_iter, dict_iterator_first(), FIRST_LOCAL_BLOCK, initialize_block_iterator(), and block_iterator::which.
Referenced by blpy_block_syms_iternext(), gdbscm_block_next_symbol_x(), gdbscm_block_symbols(), and generate_c_for_variable_locations().
struct symbol* block_iterator_next | ( | struct block_iterator * | iterator | ) |
Definition at line 570 of file block.c.
References block_iterator_step(), block_iterator::dict_iter, dict_iterator_next(), FIRST_LOCAL_BLOCK, and block_iterator::which.
Referenced by blpy_block_syms_iternext(), gdbscm_block_next_symbol_x(), gdbscm_block_symbols(), and generate_c_for_variable_locations().
Definition at line 100 of file block.c.
References BLOCK_FUNCTION, block_inlined_p(), and BLOCK_SUPERBLOCK.
Referenced by do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), dwarf2_find_location_expression(), dwarf_expr_frame_base(), find_old_style_renaming_symbol(), find_pc_sect_function(), gen_expr(), get_pc_function_start(), locexpr_describe_location_piece(), parse_exp_in_context_1(), remove_irrelevant_renamings(), and resolve_sal_pc().
struct symbol* block_lookup_symbol | ( | const struct block * | block, |
const char * | name, | ||
const domain_enum | domain | ||
) |
Definition at line 734 of file block.c.
References ALL_BLOCK_SYMBOLS_WITH_NAME, BLOCK_FUNCTION, SYMBOL_DOMAIN, SYMBOL_IS_ARGUMENT, SYMBOL_LANGUAGE, and symbol_matches_domain().
Referenced by get_out_value_type(), lookup_language_this(), lookup_symbol_in_block(), lookup_symbol_via_quick_fns(), maintenance_check_psymtabs(), and spu_catch_start().
struct symbol* block_lookup_symbol_primary | ( | const struct block * | block, |
const char * | name, | ||
const domain_enum | domain | ||
) |
Definition at line 790 of file block.c.
References BLOCK_SUPERBLOCK, block::dict, dict_iter_name_first(), dict_iter_name_next(), gdb_assert, SYMBOL_DOMAIN, SYMBOL_LANGUAGE, and symbol_matches_domain().
Referenced by lookup_symbol_in_objfile_symtabs().
Definition at line 46 of file block.c.
References BLOCK_FUNCTION, block_global_block(), COMPUNIT_OBJFILE, global_block::compunit_symtab, and symbol_objfile().
Referenced by block_gdbarch().
Definition at line 295 of file block.c.
References BLOCK_NAMESPACE, and BLOCK_SUPERBLOCK.
Referenced by cp_lookup_symbol_nonlocal(), cp_lookup_transparent_type(), and lookup_local_symbol().
Definition at line 312 of file block.c.
References block_initialize_namespace(), and BLOCK_NAMESPACE.
Referenced by cp_set_block_scope(), and read_func_scope().
void block_set_using | ( | struct block * | block, |
struct using_direct * | using_decl, | ||
struct obstack * | obstack | ||
) |
Definition at line 337 of file block.c.
References block_initialize_namespace(), and BLOCK_NAMESPACE.
Referenced by finish_block_internal().
Definition at line 365 of file block.c.
References BLOCK_SUPERBLOCK.
Referenced by ada_lookup_symbol_nonlocal(), blpy_get_static_block(), convert_symbol_sym(), default_make_symbol_completion_list_break_on_1(), gdbscm_block_static_block(), generate_c_for_variable_locations(), lookup_local_symbol(), lookup_symbol_in_static_block(), make_symbol_overload_list_namespace(), and make_symbol_overload_list_qualified().
struct using_direct* block_using | ( | const struct block * | block | ) |
Definition at line 324 of file block.c.
References BLOCK_NAMESPACE.
Referenced by cp_lookup_symbol_via_imports(), and make_symbol_overload_list_using().
int blockvector_contains_pc | ( | const struct blockvector * | bv, |
CORE_ADDR | pc | ||
) |
Definition at line 214 of file block.c.
References find_block_in_blockvector().
Referenced by recursively_find_pc_sect_compunit_symtab().
const struct blockvector* blockvector_for_pc | ( | CORE_ADDR | , |
const struct block ** | |||
) |
Definition at line 257 of file block.c.
References blockvector_for_pc_sect(), and find_pc_mapped_section().
Referenced by block_starting_point_at().
const struct blockvector* blockvector_for_pc_sect | ( | CORE_ADDR | , |
struct obj_section * | , | ||
const struct block ** | , | ||
struct compunit_symtab * | |||
) |
Definition at line 184 of file block.c.
References COMPUNIT_BLOCKVECTOR, find_block_in_blockvector(), and find_pc_sect_compunit_symtab().
Referenced by block_for_pc_sect(), blockvector_for_pc(), and resolve_sal_pc().
Definition at line 224 of file block.c.
References _, COMPUNIT_CALL_SITE_HTAB, find_pc_compunit_symtab(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, MSYMBOL_PRINT_NAME, NO_ENTRY_VALUE_ERROR, paddress(), and throw_error().
Referenced by call_site_find_chain_1(), and dwarf_expr_reg_to_entry_parameter().
Definition at line 73 of file block.c.
References BLOCK_FUNCTION, block_inlined_p(), and BLOCK_SUPERBLOCK.
Referenced by block_innermost_frame(), block_starting_point_at(), display_info(), do_one_display(), frame_id_inner(), push_variable(), resolve_subexp(), watchpoint_check(), write_var_from_sym(), and yyparse().
void set_block_compunit_symtab | ( | struct block * | , |
struct compunit_symtab * | |||
) |
Definition at line 421 of file block.c.
References BLOCK_SUPERBLOCK, global_block::compunit_symtab, and gdb_assert.
Referenced by end_symtab_with_blockvector(), finalize_symtab(), and get_java_class_symtab().