GDB (xrefs)
|
#include "dictionary.h"
Go to the source code of this file.
#define ALL_BLOCK_SYMBOLS | ( | block, | |
iter, | |||
sym | |||
) |
for ((sym) = block_iterator_first ((block), &(iter)); \ (sym); \ (sym) = block_iterator_next (&(iter)))
Definition at line 277 of file block.h.
Referenced by ada_add_block_symbols(), check_exception_resume(), find_pc_sect_symtab(), gdb_block_vars(), gdb_get_blocks(), gdb_get_vars_command(), gdb_listfuncs(), 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().
#define BLOCK_DICT | ( | bl | ) | (bl)->dict |
Definition at line 121 of file block.h.
Referenced by add_class_symtab_symbol(), add_symbol(), allocate_block(), augment_type_symtab(), block_iter_match_step(), block_iter_name_step(), block_iterator_step(), dump_symtab_1(), end_symtab_from_static_block(), finalize_symtab(), finish_block_internal(), get_java_class_symtab(), new_block(), and objfile_relocate1().
#define BLOCK_END | ( | bl | ) | (bl)->endaddr |
Definition at line 118 of file block.h.
Referenced by allocate_block(), blpy_get_end(), check_scope(), compare_blocks(), dump_symtab_1(), end_symtab_from_static_block(), finalize_symtab(), find_block_in_blockvector(), find_pc_partial_function_gnu_ifunc(), find_pc_sect_line(), find_pc_sect_symtab(), finish_block_internal(), gdb_block_vars(), gdb_get_blocks(), gdb_selected_block(), 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 119 of file block.h.
Referenced by allocate_block(), block_containing_function(), block_inlined_p(), block_linkage_function(), blpy_get_function(), contained_in(), cp_lookup_symbol_imports_or_template(), dump_symtab_1(), end_symtab_from_static_block(), finalize_symtab(), finish_block_internal(), frapy_block(), gdb_block_vars(), gdb_get_blocks(), gdb_get_vars_command(), get_frame_function(), go_block_package_name(), info_common_command(), iterate_over_block_local_vars(), list_args_or_locals(), lookup_block_symbol(), lookup_language_this(), lookup_symbol_aux_local(), 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.namespace |
Definition at line 122 of file block.h.
Referenced by allocate_block(), block_initialize_namespace(), block_scope(), block_set_scope(), block_set_using(), and block_using().
#define BLOCK_START | ( | bl | ) | (bl)->startaddr |
Definition at line 117 of file block.h.
Referenced by address_info(), allocate_block(), block_compar(), blpy_get_start(), build_address_symbolic(), check_scope(), compare_blocks(), 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_symtab(), find_proc_desc(), finish_block_internal(), fixup_symbol_section(), func_addr_to_tail_call_list(), gdb_block_vars(), gdb_get_blocks(), gdb_selected_block(), gen_var_ref(), get_pc_function_start(), inline_frame_this_id(), maintenance_check_psymtabs(), make_blockvector(), 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 120 of file block.h.
Referenced by ada_add_local_symbols(), allocate_block(), block_containing_function(), block_depth(), block_global_block(), block_linkage_function(), 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_namespace(), dump_symtab_1(), finalize_symtab(), finish_block_internal(), frapy_block(), gdb_block_vars(), gdb_get_blocks(), gdb_get_vars_command(), get_block_symtab(), get_frame_block(), get_frame_function(), 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_symbol_aux_local(), make_symbol_overload_list_qualified(), make_symbol_overload_list_using(), mylookup_symbol(), new_symtab(), parse_procedure(), parse_symbol(), scope_info(), set_block_symtab(), skip_inline_frames(), skip_prologue_sal(), skip_prologue_using_sal(), and VEC().
#define BLOCKVECTOR_BLOCK | ( | blocklist, | |
n | |||
) | (blocklist)->block[n] |
Definition at line 137 of file block.h.
Referenced by add_block(), add_class_symtab_symbol(), augment_type_symtab(), basic_lookup_transparent_type(), basic_lookup_transparent_type_quick(), block_iter_match_step(), block_iter_name_step(), block_iterator_step(), block_lookup(), dump_symtab_1(), dw2_lookup_symbol(), end_symtab_from_static_block(), finalize_symtab(), find_block_in_blockvector(), find_pc_sect_line(), find_pc_sect_symtab(), gdb_listfuncs(), get_java_class_symtab(), iterate_over_all_matching_symtabs(), iterate_over_file_blocks(), lookup_global_symbol_from_objfile(), lookup_objfile_from_block(), lookup_symbol_aux_objfile(), lookup_symbol_aux_psymtabs(), lookup_symbol_aux_quick(), maintenance_check_psymtabs(), make_blockvector(), make_symbol_overload_list_qualified(), map_matching_symbols_psymtab(), new_symtab(), objfile_relocate1(), parse_exp_in_context_1(), parse_procedure(), parse_symbol(), patch_opaque_types(), psymtab_to_symtab_1(), search_symbols(), sort_blocks(), spu_catch_start(), stpy_global_block(), stpy_static_block(), and VEC().
#define BLOCKVECTOR_MAP | ( | blocklist | ) | ((blocklist)->map) |
Definition at line 138 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 136 of file block.h.
Referenced by count_symtabs_and_blocks(), dump_symtab_1(), end_symtab_from_static_block(), finalize_symtab(), find_block_in_blockvector(), get_java_class_symtab(), iterate_over_all_matching_symtabs(), make_blockvector(), new_bvect(), objfile_relocate1(), parse_symbol(), and sort_blocks().
struct block* allocate_block | ( | struct obstack * | obstack | ) | [read] |
Definition at line 375 of file block.c.
References BLOCK_DICT, BLOCK_END, BLOCK_FUNCTION, BLOCK_NAMESPACE, BLOCK_START, and BLOCK_SUPERBLOCK.
Referenced by finalize_symtab(), finish_block_internal(), and get_java_class_symtab().
struct block* allocate_global_block | ( | struct obstack * | obstack | ) | [read] |
Definition at line 392 of file block.c.
References global_block::block, and OBSTACK_ZALLOC.
Referenced by finalize_symtab(), finish_block_internal(), and get_java_class_symtab().
struct symbol* block_containing_function | ( | const struct block * | ) | [read] |
Definition at line 90 of file block.c.
References BLOCK_FUNCTION, and BLOCK_SUPERBLOCK.
Referenced by create_sals_line_offset().
struct block* block_for_pc | ( | CORE_ADDR | ) | [read] |
Definition at line 256 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(), 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(), gdb_get_vars_command(), gdbpy_block_for_pc(), 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(), validate_actionline(), and wrap_block_for_pc().
struct block* block_for_pc_sect | ( | CORE_ADDR | , |
struct obj_section * | |||
) | [read] |
Definition at line 241 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().
struct block* block_global_block | ( | const struct block * | block | ) | [read] |
Definition at line 354 of file block.c.
References BLOCK_SUPERBLOCK.
Referenced by blpy_get_global_block(), lookup_objfile_from_block(), lookup_symbol_file(), and make_symbol_overload_list_namespace().
int block_inlined_p | ( | const struct block * | block | ) |
Definition at line 101 of file block.c.
References BLOCK_FUNCTION, and SYMBOL_INLINED.
Referenced by block_linkage_function(), contained_in(), find_frame_funname(), get_frame_block(), inline_frame_sniffer(), lookup_symbol_aux_local(), 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 | ||
) | [read] |
Definition at line 670 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 | ||
) | [read] |
Definition at line 687 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 | ||
) | [read] |
Definition at line 601 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.
Referenced by iterate_over_symbols(), lookup_block_symbol(), and make_symbol_overload_list_block().
struct symbol* block_iter_name_next | ( | const char * | name, |
struct block_iterator * | iterator | ||
) | [read] |
Definition at line 616 of file block.c.
References block_iter_name_step(), block_iterator::dict_iter, dict_iter_name_next(), FIRST_LOCAL_BLOCK, and block_iterator::which.
Referenced by iterate_over_symbols(), lookup_block_symbol(), and make_symbol_overload_list_block().
struct symbol* block_iterator_first | ( | const struct block * | block, |
struct block_iterator * | iterator | ||
) | [read] |
Definition at line 535 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().
struct symbol* block_iterator_next | ( | struct block_iterator * | iterator | ) | [read] |
Definition at line 549 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().
struct symbol* block_linkage_function | ( | const struct block * | ) | [read] |
Definition at line 75 of file block.c.
References BLOCK_FUNCTION, block_inlined_p(), and BLOCK_SUPERBLOCK.
Referenced by 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().
const char* block_scope | ( | const struct block * | block | ) |
Definition at line 269 of file block.c.
References BLOCK_NAMESPACE, and BLOCK_SUPERBLOCK.
Referenced by cp_lookup_symbol_nonlocal(), cp_lookup_transparent_type(), and lookup_symbol_aux_local().
void block_set_scope | ( | struct block * | block, |
const char * | scope, | ||
struct obstack * | obstack | ||
) |
Definition at line 286 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, | ||
struct obstack * | obstack | ||
) |
Definition at line 311 of file block.c.
References block_initialize_namespace(), and BLOCK_NAMESPACE.
Referenced by finish_block_internal().
struct block* block_static_block | ( | const struct block * | block | ) | [read] |
Definition at line 339 of file block.c.
References BLOCK_SUPERBLOCK.
Referenced by ada_lookup_symbol_nonlocal(), blpy_get_static_block(), lookup_symbol_aux_local(), lookup_symbol_static(), make_symbol_overload_list_namespace(), and make_symbol_overload_list_qualified().
struct using_direct* block_using | ( | const struct block * | block | ) | [read] |
Definition at line 298 of file block.c.
References BLOCK_NAMESPACE.
Referenced by cp_lookup_symbol_imports(), and make_symbol_overload_list_using().
int blockvector_contains_pc | ( | struct blockvector * | bv, |
CORE_ADDR | pc | ||
) |
Definition at line 188 of file block.c.
References find_block_in_blockvector().
Referenced by recursively_find_pc_sect_symtab().
struct blockvector* blockvector_for_pc | ( | CORE_ADDR | , |
struct block ** | |||
) | [read] |
Definition at line 231 of file block.c.
References blockvector_for_pc_sect(), and find_pc_mapped_section().
Referenced by block_starting_point_at().
struct blockvector* blockvector_for_pc_sect | ( | CORE_ADDR | , |
struct obj_section * | , | ||
struct block ** | , | ||
struct symtab * | |||
) | [read] |
Definition at line 159 of file block.c.
References BLOCKVECTOR, find_block_in_blockvector(), and find_pc_sect_symtab().
Referenced by block_for_pc_sect(), blockvector_for_pc(), and resolve_sal_pc().
struct call_site* call_site_for_pc | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | pc | ||
) | [read] |
Definition at line 198 of file block.c.
References _, symtab::call_site_htab, find_pc_symtab(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, NO_ENTRY_VALUE_ERROR, paddress(), SYMBOL_PRINT_NAME, and throw_error().
Referenced by call_site_find_chain_1(), and dwarf_expr_reg_to_entry_parameter().
Definition at line 48 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(), and write_var_from_sym().
void set_block_symtab | ( | struct block * | , |
struct symtab * | |||
) |
Definition at line 402 of file block.c.
References BLOCK_SUPERBLOCK, gdb_assert, and global_block::symtab.
Referenced by end_symtab_from_static_block(), finalize_symtab(), and get_java_class_symtab().