GDB (xrefs)
|
#include "cli/cli-option.h"
#include "frame-id.h"
#include "gdbsupport/common-debug.h"
#include "gdbsupport/intrusive_list.h"
#include "unwind_stop_reasons.def"
Go to the source code of this file.
Classes | |
class | scoped_restore_selected_frame |
class | frame_info_ptr |
struct | frame_print_options |
struct | frame_arg |
struct | set_backtrace_options |
Macros | |
#define | frame_debug_printf(fmt, ...) debug_prefixed_printf_cond (frame_debug, "frame", fmt, ##__VA_ARGS__) |
#define | FRAME_SCOPED_DEBUG_ENTER_EXIT scoped_debug_enter_exit (frame_debug, "frame") |
#define | SET(name, description) name, |
#define | FIRST_ENTRY(name) UNWIND_FIRST = name, |
#define | LAST_ENTRY(name) UNWIND_LAST = name, |
#define | FIRST_ERROR(name) UNWIND_FIRST_ERROR = name, |
#define | FRAME_OBSTACK_ZALLOC(TYPE) ((TYPE *) frame_obstack_zalloc (sizeof (TYPE))) |
#define | FRAME_OBSTACK_CALLOC(NUMBER, TYPE) ((TYPE *) frame_obstack_zalloc ((NUMBER) * sizeof (TYPE))) |
Enumerations | |
enum | frame_type { NORMAL_FRAME , DUMMY_FRAME , INLINE_FRAME , TAILCALL_FRAME , SIGTRAMP_FRAME , ARCH_FRAME , SENTINEL_FRAME } |
enum | unwind_stop_reason |
enum | print_what { SRC_LINE = -1 , LOCATION , SRC_AND_LOC , LOC_AND_ADDRESS , SHORT_LOCATION } |
Variables | |
bool | frame_debug |
const char | print_frame_arguments_all [] |
const char | print_frame_arguments_scalars [] |
const char | print_frame_arguments_none [] |
const char | print_frame_info_auto [] |
const char | print_frame_info_source_line [] |
const char | print_frame_info_location [] |
const char | print_frame_info_source_and_location [] |
const char | print_frame_info_location_and_address [] |
const char | print_frame_info_short_location [] |
const char | print_entry_values_no [] |
const char | print_entry_values_only [] |
const char | print_entry_values_preferred [] |
const char | print_entry_values_if_needed [] |
const char | print_entry_values_both [] |
const char | print_entry_values_compact [] |
const char | print_entry_values_default [] |
frame_print_options | user_frame_print_options |
const gdb::option::option_def | set_backtrace_option_defs [2] |
set_backtrace_options | user_set_backtrace_options |
#define frame_debug_printf | ( | fmt, | |
... ) debug_prefixed_printf_cond (frame_debug, "frame", fmt, ##__VA_ARGS__) |
Definition at line 120 of file frame.h.
Referenced by amd64_windows_find_unwind_info(), amd64_windows_frame_decode_insns(), amd64_windows_frame_prev_register(), compute_frame_id(), create_new_frame(), create_sentinel_frame(), value::fetch_lazy_register(), frame_debug_got_null_frame(), frame_id_inner(), frame_id_p(), frame_unwind_arch(), frame_unwind_find_by_frame(), frame_unwind_pc(), frame_unwind_register_value(), frame_unwind_try_unwinder(), get_frame_func_if_available(), get_prev_frame_always_1(), get_prev_frame_maybe_check_cycle(), get_prev_frame_raw(), and frame_id::operator==().
#define FRAME_OBSTACK_CALLOC | ( | NUMBER, | |
TYPE ) ((TYPE *) frame_obstack_zalloc ((NUMBER) * sizeof (TYPE))) |
Definition at line 827 of file frame.h.
Referenced by dwarf2_frame_cache(), trad_frame_saved_reg::set_value_bytes(), and trad_frame_alloc_saved_regs().
#define FRAME_OBSTACK_ZALLOC | ( | TYPE | ) | ((TYPE *) frame_obstack_zalloc (sizeof (TYPE))) |
Definition at line 825 of file frame.h.
Referenced by aarch64_make_prologue_cache(), aarch64_make_stub_cache(), alpha_heuristic_frame_unwind_cache(), alpha_mdebug_frame_unwind_cache(), alpha_sigtramp_frame_unwind_cache(), amd64_alloc_frame_cache(), amd64_windows_frame_cache(), arc_make_frame_cache(), arc_make_sigtramp_frame_cache(), arm_exidx_fill_cache(), arm_m_exception_cache(), arm_make_epilogue_frame_cache(), arm_make_prologue_cache(), arm_make_stub_cache(), avr_frame_unwind_cache(), bfcache_new(), bfin_alloc_frame_cache(), BP_MANIPULATION(), BP_MANIPULATION(), BP_MANIPULATION(), BP_MANIPULATION(), create_new_frame(), create_sentinel_frame(), cris_frame_unwind_cache(), cris_sigtramp_frame_unwind_cache(), csky_frame_unwind_cache(), csky_make_stub_cache(), dummy_frame_sniffer(), dwarf2_frame_allocate_fn_data(), dwarf2_frame_cache(), frv_frame_unwind_cache(), ft32_alloc_frame_cache(), get_prev_frame_raw(), h8300_frame_cache(), hppa_fallback_frame_cache(), hppa_frame_cache(), hppa_linux_sigtramp_frame_unwind_cache(), hppa_stub_frame_unwind_cache(), i386_alloc_frame_cache(), ia64_alloc_frame_cache(), iq2000_frame_cache(), libunwind_frame_cache(), lm32_frame_cache(), m32c_analyze_frame_prologue(), m32r_frame_unwind_cache(), m32r_linux_sigtramp_frame_cache(), m68hc11_frame_unwind_cache(), m68k_alloc_frame_cache(), mips_insn16_frame_cache(), mips_insn32_frame_cache(), mips_micro_frame_cache(), mn10300_analyze_frame_prologue(), moxie_alloc_frame_cache(), msp430_analyze_frame_prologue(), nds32_alloc_frame_cache(), nios2_frame_unwind_cache(), riscv_frame_cache(), rl78_analyze_frame_prologue(), rs6000_epilogue_frame_cache(), rs6000_frame_cache(), rx_analyze_frame_prologue(), s390_frame_unwind_cache(), s390_sigtramp_frame_unwind_cache(), s390_stub_frame_unwind_cache(), sentinel_frame_cache(), sh_alloc_frame_cache(), tic6x_frame_unwind_cache(), tic6x_make_stub_cache(), trad_frame_cache_zalloc(), tramp_frame_sniffer(), v850_alloc_frame_cache(), vax_frame_cache(), xstormy16_alloc_frame_cache(), xtensa_alloc_frame_cache(), and z80_frame_unwind_cache().
#define FRAME_SCOPED_DEBUG_ENTER_EXIT scoped_debug_enter_exit (frame_debug, "frame") |
Definition at line 125 of file frame.h.
Referenced by compute_frame_id(), frame_unwind_find_by_frame(), frame_unwind_register_value(), get_prev_frame(), and get_prev_frame_always_1().
enum frame_type |
enum print_what |
enum unwind_stop_reason |
|
extern |
Definition at line 463 of file blockframe.c.
References block::contains(), get_frame_block(), get_prev_frame(), and get_selected_frame().
Referenced by bpstat_check_breakpoint_conditions(), get_hosting_frame(), and watch_command_1().
|
extern |
Definition at line 2055 of file frame.c.
References create_new_frame(), and frame_id_build().
Referenced by frame_info_ptr::reinflate().
|
extern |
Definition at line 1464 of file frame.c.
References frame_register(), and regnum.
Referenced by frame_save_as_regcache(), i386_frame_cache_1(), jit_unwind_reg_get_impl(), mips_read_fp_register_double(), and mips_read_fp_register_single().
|
extern |
Definition at line 1907 of file frame.c.
References get_selected_frame(), and has_stack_frames().
Referenced by check_frame_language_change(), default_macro_scope(), tui_source_window_base::refill(), tui_source_window_base::rerender(), tui_enable(), and value_assign().
|
extern |
Definition at line 2821 of file frame.c.
References find_pc_line(), frame_inlined_callees(), get_frame_address_in_block(), get_frame_function(), get_frame_pc(), get_frame_pc_if_available(), get_frame_program_space(), get_next_frame(), inferior_thread(), inline_skipped_symbol(), symbol::line(), symtab_and_line::line, symtab_and_line::pc, symtab_and_line::pspace, symbol::symtab, and symtab_and_line::symtab.
Referenced by frapy_find_sal(), gdbscm_frame_sal(), info_frame_command_core(), inline_frame_is_marked_for_skip(), is_known_support_routine(), pending_framepy_find_sal(), prepare_one_step(), print_frame_info(), process_event_stop_test(), py_print_frame(), set_current_sal_from_frame(), set_step_frame(), and tui_show_frame_info().
|
extern |
Definition at line 2588 of file stack.c.
References get_next_frame(), and get_prev_frame().
Referenced by down_silently_base(), find_frame_for_function(), frame_command_helper< FPTR >::level(), lookup_selected_frame(), maintenance_print_frame_id(), mi_cmd_execute(), parse_frame_specification(), and up_silently_base().
|
extern |
Definition at line 3228 of file frame.c.
References frame_info::addr, CC_UNKNOWN, COMPUTED, frame_info::p, frame_info::prev_func, frame_info::prev_p, frame_info::prologue_cache, frame_info::status, frame_info::this_id, and frame_info::unwind.
Referenced by frame_unwind_try_unwinder().
|
extern |
Definition at line 916 of file frame.c.
References frame_id_build_sentinel(), frame_id_inner(), frame_id_p(), frame_stash_find(), get_current_frame(), get_frame_arch(), get_frame_id(), get_frame_type(), get_prev_frame(), NORMAL_FRAME, and sentinel_frame.
Referenced by address_of_variable(), bpfinishpy_detect_out_scope_cb(), check_longjmp_breakpoint_for_call_dummy(), check_scope(), default_value_from_register(), value::fetch_lazy_register(), frame_object_to_frame_info(), frscm_frame_smob_to_frame(), lookup_selected_frame(), print_variable_and_value_data::operator()(), process_event_stop_test(), frame_info_ptr::reinflate(), rw_pieced_value(), update_watchpoint(), value_assign(), varobj_create(), and watchpoint_check().
|
extern |
Definition at line 3127 of file frame.c.
References dwarf2_evaluate_property(), block::function_block(), get_frame_base(), get_frame_block(), get_frame_function(), get_prev_frame(), QUIT, block::static_link(), and SYMBOL_BLOCK_OPS.
Referenced by frapy_static_link(), and get_hosting_frame().
|
extern |
Definition at line 792 of file frame.c.
References frame_id::artificial_depth, and frame_id_p().
Referenced by momentary_breakpoint::momentary_breakpoint(), and set_momentary_breakpoint().
|
extern |
Definition at line 736 of file frame.c.
References frame_id::code_addr, FID_STACK_VALID, null_frame_id, and frame_id::stack_addr.
Referenced by aarch64_fbsd_sigframe_init(), aarch64_linux_sigframe_init(), aarch64_prologue_this_id(), aarch64_stub_this_id(), aix_sighandle_frame_cache(), alpha_heuristic_frame_this_id(), alpha_mdebug_frame_this_id(), alpha_sigtramp_frame_this_id(), am33_linux_sigframe_cache_init(), amd64_dummy_id(), amd64_epilogue_frame_this_id(), amd64_fbsd_sigframe_init(), amd64_frame_this_id(), amd64_sigtramp_frame_this_id(), amd64_windows_frame_this_id(), amd64obsd_trapframe_cache(), arc_frame_this_id(), arc_sigtramp_frame_this_id(), arm_epilogue_frame_this_id(), arm_fbsd_sigframe_init(), arm_linux_restart_syscall_init(), arm_linux_sigtramp_cache(), arm_m_exception_this_id(), arm_prologue_this_id(), arm_stub_this_id(), armobsd_sigframe_init(), avr_dummy_id(), avr_frame_this_id(), bfin_frame_this_id(), bfin_linux_sigframe_init(), bpf_dummy_id(), call_function_by_hand_dummy(), create_new_frame(), cris_frame_this_id(), cris_sigtramp_frame_this_id(), csky_frame_this_id(), csky_linux_rt_sigreturn_init(), csky_linux_rt_sigreturn_init_pt_regs(), csky_stub_this_id(), default_dummy_id(), dwarf2_frame_this_id(), frv_frame_this_id(), frv_linux_sigtramp_frame_cache(), ft32_frame_this_id(), h8300_frame_this_id(), hppa_fallback_frame_this_id(), hppa_frame_this_id(), hppa_linux_sigtramp_frame_this_id(), hppa_stub_frame_this_id(), hppanbsd_sigtramp_cache_init(), i386_dummy_id(), i386_epilogue_frame_this_id(), i386_fbsd_sigframe_init(), i386_frame_this_id(), i386_sigtramp_frame_this_id(), i386nbsd_sigtramp_cache_init(), i386obsd_trapframe_cache(), iq2000_frame_this_id(), jit_frame_this_id(), libunwind_frame_this_id(), lm32_frame_this_id(), loongarch_linux_rt_sigframe_init(), m32c_this_id(), m32r_frame_this_id(), m32r_linux_sigtramp_frame_this_id(), m68hc11_dummy_id(), m68hc11_frame_this_id(), m68k_dummy_id(), m68k_frame_this_id(), m68k_linux_sigtramp_frame_cache(), mep_frame_this_id(), microblaze_frame_this_id(), microblaze_linux_sigtramp_cache(), mips64_fbsd_sigframe_init(), mips64obsd_sigframe_init(), mips_dummy_id(), mips_fbsd_sigframe_init(), mips_insn16_frame_this_id(), mips_insn32_frame_this_id(), mips_linux_n32n64_sigframe_init(), mips_linux_o32_sigframe_init(), mips_micro_frame_this_id(), mips_sde_frame_cache(), mips_stub_frame_cache(), mn10300_frame_this_id(), moxie_frame_this_id(), msp430_this_id(), nds32_epilogue_frame_this_id(), nds32_frame_this_id(), nios2_frame_this_id(), nios2_linux_rt_sigreturn_init(), nios2_stub_frame_cache(), or1k_frame_cache(), or1k_linux_sigframe_init(), pending_framepy_create_unwind_info(), ppc_linux_sigtramp_cache(), ppcfbsd_sigtramp_frame_cache(), ppcnbsd_sigtramp_cache_init(), ppcobsd_sigtramp_frame_cache(), riscv_fbsd_sigframe_init(), riscv_frame_cache(), riscv_linux_sigframe_init(), rl78_dummy_id(), rl78_this_id(), rs6000_epilogue_frame_this_id(), rs6000_frame_this_id(), rx_frame_this_id(), s12z_frame_cache(), s390_dummy_id(), s390_frame_this_id(), s390_sigtramp_frame_this_id(), s390_stub_frame_this_id(), sh_frame_this_id(), sh_linux_sigtramp_cache(), sh_stub_this_id(), sparc32_frame_this_id(), sparc32_linux_sigframe_init(), sparc32_sol2_sigtramp_frame_this_id(), sparc32nbsd_sigcontext_frame_this_id(), sparc32obsd_sigtramp_frame_this_id(), sparc64_frame_this_id(), sparc64_linux_sigframe_init(), sparc64_sol2_sigtramp_frame_this_id(), sparc64fbsd_sigtramp_frame_this_id(), sparc64nbsd_sigcontext_frame_this_id(), sparc64obsd_frame_this_id(), sparc64obsd_trapframe_this_id(), sparc_dummy_id(), tic6x_frame_this_id(), tic6x_linux_rt_sigreturn_init(), tic6x_stub_this_id(), tilegx_frame_this_id(), tilegx_linux_sigframe_init(), v850_frame_this_id(), vax_dummy_id(), vax_frame_this_id(), xstormy16_frame_this_id(), xtensa_dummy_id(), xtensa_frame_this_id(), and z80_frame_this_id().
|
extern |
Definition at line 760 of file frame.c.
References frame_id::code_addr, FID_STACK_SENTINEL, null_frame_id, frame_id::stack_addr, and frame_id::stack_status.
Referenced by create_sentinel_frame(), and frame_find_by_id().
|
extern |
Definition at line 692 of file frame.c.
References frame_id::code_addr, FID_STACK_VALID, null_frame_id, frame_id::special_addr, and frame_id::stack_addr.
Referenced by ia64_dummy_id(), ia64_frame_this_id(), ia64_sigtramp_frame_this_id(), and pending_framepy_create_unwind_info().
|
extern |
Definition at line 709 of file frame.c.
References frame_id::code_addr, FID_STACK_UNAVAILABLE, null_frame_id, and frame_id::stack_status.
Referenced by aarch64_prologue_this_id(), aarch64_stub_this_id(), amd64_epilogue_frame_this_id(), amd64_frame_this_id(), amd64_sigtramp_frame_this_id(), dwarf2_frame_this_id(), i386_epilogue_frame_this_id(), i386_frame_this_id(), i386_sigtramp_frame_this_id(), loongarch_frame_cache(), rs6000_epilogue_frame_this_id(), rs6000_frame_this_id(), and s390_frame_this_id().
|
extern |
Definition at line 722 of file frame.c.
References frame_id::code_addr, FID_STACK_UNAVAILABLE, null_frame_id, frame_id::special_addr, and frame_id::stack_status.
Referenced by record_btrace_frame_this_id().
|
extern |
Definition at line 748 of file frame.c.
References FID_STACK_VALID, null_frame_id, and frame_id::stack_addr.
Referenced by find_frame_for_address(), parse_frame_specification(), and pending_framepy_create_unwind_info().
|
extern |
Definition at line 781 of file frame.c.
References FID_STACK_INVALID, frame_debug_printf, frame_id::stack_status, and frame_id::to_string().
Referenced by bpstat_check_breakpoint_conditions(), compute_frame_id(), elf_gnu_ifunc_resolver_stop(), frame_find_by_id(), frame_id_artificial_p(), info_frame_command_core(), inline_frame_this_id(), insert_step_resume_breakpoint_at_caller(), print_one_breakpoint_location(), process_event_stop_test(), frame_info_ptr::reinflate(), restore_selected_frame(), until_break_command(), value_of_register_lazy(), varobj_create(), and watch_command_1().
|
extern |
Definition at line 1659 of file frame.c.
References frame_cache_obstack, and size.
Referenced by dwarf2_frame_allocate_fn_data(), and get_prev_frame_always().
|
extern |
Definition at line 1126 of file frame.c.
References DUMMY_FRAME, dummy_frame_pop(), frame_save_as_regcache(), get_current_regcache(), get_frame_id(), get_frame_type(), get_prev_frame_always(), inferior_thread(), reinit_frame_cache(), regcache::restore(), and skip_tailcall_frames().
Referenced by normal_stop().
|
extern |
Definition at line 3258 of file frame.c.
References frame_info::unwind.
Referenced by frame_unwind_try_unwinder().
|
extern |
Definition at line 1175 of file frame.c.
References value::address, value::contents_all(), value::entirely_available(), frame_unwind_register_value(), type::length(), value::lval(), lval_register, value::optimized_out(), regnum, release_value(), value::type(), value, and VALUE_REGNUM.
Referenced by frame_register(), frame_register_unwind_location(), frame_unwind_register(), and info_frame_command_core().
|
extern |
Definition at line 2946 of file frame.c.
References frame_info::level.
Referenced by amd64_epilogue_frame_sniffer_1(), arm_epilogue_frame_sniffer(), arm_m_exception_cache(), existing_next_levels(), value::fetch_lazy_register(), frame_unwind_find_by_frame(), frapy_level(), hppa_fallback_frame_cache(), hppa_frame_cache(), i386_epilogue_frame_sniffer_1(), i386_stack_tramp_frame_sniffer(), info_frame_command_core(), maintenance_print_frame_id(), microblaze_unwind_pc(), mips_unwind_pc(), nds32_epilogue_frame_sniffer(), nios2_analyze_prologue(), or1k_unwind_pc(), or1k_unwind_sp(), pending_framepy_level(), pending_framepy_repr(), print_frame_info(), py_print_frame(), pyuw_prev_register(), pyuw_sniffer(), rs6000_epilogue_frame_sniffer(), select_frame(), task_command_1(), and unwind_infopy_repr().
std::unique_ptr< readonly_detached_regcache > frame_save_as_regcache | ( | frame_info_ptr | this_frame | ) |
Definition at line 1109 of file frame.c.
References deprecated_frame_register_read(), get_frame_arch(), and regnum.
Referenced by frame_pop(), and mi_cmd_data_list_changed_registers().
const char * frame_stop_reason_string | ( | frame_info_ptr | fi | ) |
Definition at line 3193 of file frame.c.
References frame_info::prev, frame_info::prev_p, frame_info::stop_reason, frame_info::stop_string, and unwind_stop_reason_to_string().
Referenced by backtrace_command_1(), and info_frame_command_core().
|
extern |
Definition at line 447 of file frame.c.
References ARCH_FRAME, DUMMY_FRAME, INLINE_FRAME, NORMAL_FRAME, SENTINEL_FRAME, SIGTRAMP_FRAME, and TAILCALL_FRAME.
Referenced by maintenance_info_frame_unwinders(), and frame_info::to_string().
|
extern |
Definition at line 3033 of file frame.c.
References frame_info::arch, frame_debug_printf, frame_unwind_find_by_frame(), gdbarch_bfd_arch_info(), get_frame_arch(), frame_info::level, frame_info::p, frame_unwind::prev_arch, frame_info::prev_arch, frame_info::prologue_cache, and frame_info::unwind.
Referenced by arm_linux_sigreturn_return_addr(), dwarf2_tailcall_sniffer_first(), dwarf_expr_reg_to_entry_parameter(), frame_unwind_caller_arch(), frame_unwind_got_address(), frame_unwind_got_bytes(), frame_unwind_got_constant(), frame_unwind_got_memory(), frame_unwind_got_optimized(), frame_unwind_pc(), frame_unwind_register_signed(), frame_unwind_register_unsigned(), frame_unwind_register_value(), and get_frame_arch().
|
extern |
Definition at line 3059 of file frame.c.
References frame_unwind_arch(), and skip_artificial_frames().
Referenced by insert_step_resume_breakpoint_at_caller(), until_break_command(), and watch_command_1().
|
extern |
Definition at line 668 of file frame.c.
References get_frame_id(), get_prev_frame_always(), null_frame_id, and skip_artificial_frames().
Referenced by info_frame_command_core(), insert_step_resume_breakpoint_at_caller(), process_event_stop_test(), until_break_command(), and watch_command_1().
|
extern |
Definition at line 1042 of file frame.c.
References frame_unwind_pc(), and skip_artificial_frames().
Referenced by arc_linux_skip_solib_resolver(), arm_linux_sigreturn_return_addr(), fbsd_skip_solib_resolver(), glibc_skip_solib_resolver(), info_frame_command_core(), insert_step_resume_breakpoint_at_caller(), loongarch_linux_syscall_next_pc(), mips_fbsd_skip_solib_resolver(), mips_linux_skip_resolver(), mips_linux_syscall_next_pc(), nbsd_skip_solib_resolver(), nios2_linux_syscall_next_pc(), obsd_skip_solib_resolver(), riscv_linux_syscall_next_pc(), sol2_skip_solib_resolver(), tic6x_linux_syscall_next_pc(), until_break_command(), and watch_command_1().
|
extern |
Definition at line 2971 of file frame.c.
References frame_info::pspace.
Referenced by insert_step_resume_breakpoint_at_caller().
|
extern |
Definition at line 1243 of file frame.c.
References frame_register_unwind(), value::lval(), and regnum.
Referenced by get_frame_register(), i386_unwind_pc(), ia64_unwind_pc(), m68k_unwind_pc(), microblaze_unwind_pc(), nios2_unwind_pc(), tic6x_unwind_pc(), and xtensa_unwind_pc().
|
extern |
Definition at line 1339 of file frame.c.
References value::contents_all(), value::entirely_available(), extract_signed_integer(), frame_unwind_arch(), frame_unwind_register_value(), gdbarch_byte_order(), value::optimized_out(), regnum, and release_value().
Referenced by get_frame_register_signed(), mips_unwind_pc(), and mips_unwind_sp().
|
extern |
Definition at line 1371 of file frame.c.
References value::contents_all(), value::entirely_available(), extract_unsigned_integer(), frame_unwind_arch(), frame_unwind_register_value(), gdbarch_byte_order(), value::optimized_out(), register_size(), regnum, release_value(), and size.
Referenced by aarch64_dwarf2_prev_register(), aarch64_frame_unmask_lr(), aarch64_prologue_prev_register(), arm_dwarf2_prev_register(), arm_linux_sigreturn_return_addr(), arm_prologue_prev_register(), avr_unwind_pc(), avr_unwind_sp(), csky_stub_prev_register(), default_unwind_pc(), default_unwind_sp(), dwarf2_tailcall_sniffer_first(), get_frame_register_unsigned(), hppa_unwind_pc(), microblaze_linux_sigtramp_cache(), or1k_unwind_pc(), or1k_unwind_sp(), rl78_unwind_pc(), s390_unwind_pc(), and s390_unwind_sp().
struct value * frame_unwind_register_value | ( | frame_info_ptr | next_frame, |
int | regnum ) |
Definition at line 1270 of file frame.c.
References value::address, string_file::c_str(), value::contents(), frame_debug, frame_debug_printf, FRAME_SCOPED_DEBUG_ENTER_EXIT, frame_unwind_arch(), frame_unwind_find_by_frame(), gdb_printf(), value::lazy(), frame_info::level, value::lval(), lval_memory, lval_register, value::optimized_out(), paddress(), frame_unwind::prev_register, frame_info::prologue_cache, register_size(), regnum, frame_info::unwind, user_reg_map_regnum_to_name(), val_print_not_saved(), value, and VALUE_REGNUM.
Referenced by value::fetch_lazy_register(), frame_register_unwind(), frame_unwind_register_signed(), frame_unwind_register_unsigned(), get_frame_register_bytes(), get_frame_register_value(), info_frame_command_core(), put_frame_register_bytes(), and s390_unwind_pseudo_register().
|
extern |
Definition at line 2934 of file frame.c.
References frame_unwind_find_by_frame(), frame_info::prologue_cache, and frame_info::unwind.
Referenced by dwarf2_frame_cfa(), and frame_is_tailcall().
|
extern |
Definition at line 1670 of file frame.c.
References create_sentinel_frame(), current_program_space, frame_info_ptr::get(), get_current_regcache(), get_prev_frame_always_1(), get_traceframe_number(), sentinel_frame, target_has_memory(), target_has_registers(), target_has_stack(), and validate_registers_access().
Referenced by ada_unhandled_exception_name_addr_from_raise(), arc_linux_skip_solib_resolver(), arm_linux_copy_svc(), arm_pc_is_thumb(), backtrace_command_1(), bpfinishpy_init(), bpstat_check_breakpoint_conditions(), branch_dest(), call_function_by_hand_dummy(), check_longjmp_breakpoint_for_call_dummy(), derive_stack_segment(), elf_gnu_ifunc_resolver_return_stop(), elf_gnu_ifunc_resolver_stop(), fbsd_convert_siginfo(), fbsd_siginfo_size(), fbsd_skip_solib_resolver(), find_frame_addr_in_frame_chain(), find_frame_for_address(), find_frame_for_function(), finish_backward(), frame_apply_all_command(), frame_apply_command(), frame_find_by_id(), gdbpy_newest_frame(), gdbscm_newest_frame(), get_thread_current_frame_id(), glibc_skip_solib_resolver(), handle_jit_event(), handle_signal_stop(), handle_step_into_function(), inline_frame_is_marked_for_skip(), insert_single_step_breakpoints(), jump_command(), keep_going_stepped_thread(), leading_innermost_frame(), frame_command_helper< FPTR >::level(), lookup_selected_frame(), loongarch_next_pc(), aarch64_linux_nat_target::low_siginfo_fixup(), amd64_linux_nat_target::low_siginfo_fixup(), m32c_skip_trampoline_code(), maint_agent_command_1(), maint_agent_printf_command(), maintenance_print_frame_id(), mi_cmd_execute(), mi_cmd_stack_info_depth(), mi_cmd_stack_list_args(), mi_cmd_stack_list_frames(), mi_cmd_trace_frame_collected(), micromips_next_pc(), mips32_next_pc(), mips_fbsd_skip_solib_resolver(), mips_linux_skip_resolver(), mips_linux_syscall_next_pc(), nbsd_skip_solib_resolver(), nios2_get_next_pc(), normal_stop(), obsd_skip_solib_resolver(), parse_frame_specification(), prepare_one_step(), ada_catchpoint::print_it(), remote_target::print_one_stopped_thread(), print_stop_location(), proceed(), process_event_stop_test(), selftests::register_to_value_test(), frame_info_ptr::reinflate(), reserve_stack_space(), resolve_msgsend(), resolve_msgsend_stret(), resolve_msgsend_super(), resolve_msgsend_super_stret(), resume_1(), riscv_next_pc(), rs6000_stack_frame_destroyed_p(), save_bookmark_command(), set_step_frame(), finish_command_fsm::should_stop(), skip_inline_frames(), sol2_skip_solib_resolver(), solib_event_probe_action(), sparc_analyze_control_transfer(), step_command_fsm_prepare(), store_regs(), svr4_handle_solib_event(), tdump_command(), tfind_1(), tfind_line_command(), tic6x_get_next_pc(), trailing_outermost_frame(), until_next_command(), update_watchpoint(), and watchpoint_check().
|
extern |
Definition at line 2742 of file frame.c.
References get_frame_pc(), get_frame_type(), INLINE_FRAME, frame_info::next, NORMAL_FRAME, and TAILCALL_FRAME.
Referenced by aarch64_scan_prologue(), aarch64_stub_unwind_sniffer(), alpha_mdebug_frame_base_sniffer(), alpha_mdebug_frame_sniffer(), alpha_mdebug_frame_unwind_cache(), arc_make_frame_cache(), arm_exidx_unwind_sniffer(), arm_scan_prologue(), arm_stub_unwind_sniffer(), compile_to_object(), csky_frame_unwind_cache(), csky_stub_unwind_sniffer(), disassemble_current_function(), dwarf2_frame_base_sniffer(), dwarf2_frame_cache(), dwarf2_frame_sniffer(), dwarf2_tailcall_sniffer_first(), dwarf_expr_context::dwarf_call(), find_frame_sal(), gdbscm_frame_function(), get_frame_address_in_block_if_available(), dwarf_expr_context::get_frame_base(), get_frame_language(), get_prev_frame_always_1(), hppa_find_unwind_entry_in_block(), hppa_stub_unwind_sniffer(), indirect_synthetic_pointer(), inline_frame_sniffer(), loclist_read_variable(), loongarch_frame_cache(), microblaze_frame_cache(), microblaze_linux_sigtramp_cache(), mips_insn16_frame_cache(), mips_insn32_frame_cache(), mips_micro_frame_cache(), mips_stub_frame_sniffer(), nios2_stub_frame_sniffer(), s390_stub_frame_sniffer(), sh_stub_unwind_sniffer(), sparc32_dwarf2_struct_return_p(), sparc64obsd_trapframe_sniffer(), and tic6x_stub_unwind_sniffer().
|
extern |
Definition at line 2802 of file frame.c.
References get_frame_address_in_block().
Referenced by dwarf2_evaluate_property(), find_frame_funname(), get_frame_block(), get_frame_func_if_available(), and select_frame().
|
extern |
Definition at line 2982 of file frame.c.
References frame_info::aspace.
Referenced by crisv32_single_step_through_delay(), insert_single_step_breakpoints(), keep_going_stepped_thread(), and mips_single_step_through_delay().
|
extern |
Definition at line 3027 of file frame.c.
References frame_unwind_arch(), and frame_info::next.
Referenced by aarch64_dwarf2_prev_register(), aarch64_fbsd_sigframe_init(), aarch64_get_longjmp_target(), aarch64_linux_read_signal_frame_info(), aarch64_linux_sigframe_init(), aarch64_linux_sigframe_prev_arch(), aarch64_make_prologue_cache_1(), aarch64_prologue_frame_unwind_stop_reason(), aarch64_prologue_prev_register(), aarch64_scan_prologue(), address_from_register(), address_of_variable(), aix_sighandle_frame_cache(), alpha_get_longjmp_target(), alpha_heuristic_frame_unwind_cache(), alpha_linux_sigcontext_addr(), alpha_register_to_value(), alpha_sigtramp_frame_prev_register(), alpha_sigtramp_frame_sniffer(), alpha_sigtramp_frame_this_id(), alpha_sigtramp_frame_unwind_cache(), alpha_value_to_register(), alphaobsd_sigcontext_addr(), amd64_darwin_sigcontext_addr(), amd64_epilogue_frame_cache(), amd64_epilogue_frame_sniffer_1(), amd64_frame_cache_1(), amd64_frame_prev_register(), amd64_get_longjmp_target(), amd64_linux_sigcontext_addr(), amd64_linux_sigtramp_start(), amd64_sigtramp_frame_cache(), amd64_sigtramp_frame_sniffer(), amd64_windows_frame_cache(), amd64_windows_frame_decode_epilogue(), amd64_windows_frame_decode_insns(), amd64_windows_frame_prev_register(), amd64_windows_skip_trampoline_code(), amd64obsd_trapframe_cache(), arc_frame_prev_register(), arc_frame_this_id(), arc_get_longjmp_target(), arc_linux_is_sigtramp(), arc_make_frame_cache(), arc_make_sigtramp_frame_cache(), arc_sigtramp_frame_sniffer(), arc_sigtramp_frame_this_id(), arm_cache_init(), arm_dwarf2_prev_register(), arm_epilogue_frame_sniffer(), arm_epilogue_frame_this_id(), arm_exidx_fill_cache(), arm_exidx_unwind_sniffer(), arm_fbsd_sigframe_init(), arm_frame_is_thumb(), arm_get_longjmp_target(), arm_linux_restart_syscall_init(), arm_linux_rt_sigreturn_init(), arm_linux_sigreturn_init(), arm_m_exception_cache(), arm_m_exception_frame_unwind_stop_reason(), arm_m_exception_prev_register(), arm_m_exception_this_id(), arm_m_exception_unwind_sniffer(), arm_make_epilogue_frame_cache(), arm_make_prologue_cache(), arm_make_stub_cache(), arm_normal_frame_base(), arm_pe_skip_trampoline_code(), arm_prologue_prev_register(), arm_prologue_this_id(), arm_prologue_unwind_stop_reason(), arm_scan_prologue(), arm_skip_bx_reg(), arm_stub_this_id(), avr_frame_prev_register(), avr_frame_unwind_cache(), bfin_frame_prev_register(), BP_MANIPULATION(), BP_MANIPULATION(), call0_frame_cache(), call_function_by_hand_dummy(), cris_frame_unwind_cache(), cris_scan_prologue(), cris_sigcontext_addr(), cris_sigtramp_frame_unwind_cache(), crisv32_scan_prologue(), csky_check_long_branch(), csky_frame_unwind_cache(), derive_stack_segment(), disassemble_current_function(), tui_source_window::do_scroll_vertical(), dummy_frame_prev_register(), dummy_frame_sniffer(), dwarf2_frame_cache(), dwarf2_frame_prev_register(), dwarf2_frame_sniffer(), dwarf2_tailcall_prev_register_first(), dwarf_expr_reg_to_entry_parameter(), elf_gnu_ifunc_resolver_return_stop(), elf_gnu_ifunc_resolver_stop(), stap_probe::evaluate_argument(), examine_prologue(), dwarf_expr_context::execute_stack_op(), fbsd_convert_siginfo(), fbsd_siginfo_size(), value::fetch_lazy_register(), fetch_probe_arguments(), dwarf_expr_context::fetch_result(), find_frame_addr_in_frame_chain(), finish_backward(), finish_command(), finish_forward(), frame_base_find_by_frame(), frame_find_by_id(), frame_info_to_frame_object(), frame_save_as_regcache(), frame_unwind_arch(), frame_unwind_find_by_frame(), frapy_read_register(), frscm_scm_from_frame(), frv_frame_unwind_cache(), frv_linux_sigcontext_reg_addr(), frv_linux_sigtramp_frame_cache(), frv_linux_sigtramp_frame_sniffer(), ft32_frame_cache(), gdbpy_apply_frame_filter(), gdbscm_frame_read_register(), get_current_arch(), get_frame_memory_signed(), get_frame_memory_unsigned(), get_frame_register_bytes(), get_frame_sp(), get_prev_frame_always_1(), gnuv3_skip_trampoline(), h8300_frame_cache(), h8300_frame_prev_register(), handle_jit_event(), handle_signal_stop(), hppa_fallback_frame_cache(), hppa_find_unwind_entry_in_block(), hppa_frame_cache(), hppa_frame_prev_register_helper(), hppa_linux_sigtramp_frame_sniffer(), hppa_linux_sigtramp_frame_unwind_cache(), hppa_skip_trampoline_code(), hppa_stub_unwind_sniffer(), i386_darwin_sigcontext_addr(), i386_epilogue_frame_sniffer_1(), i386_fetch_pointer_argument(), i386_frame_cache_1(), i386_get_longjmp_target(), i386_gnu_sigcontext_addr(), i386_linux_sigcontext_addr(), i386_pe_skip_trampoline_code(), i386_register_to_value(), i386_sigtramp_frame_cache(), i386_sigtramp_frame_sniffer(), i386_svr4_sigcontext_addr(), i386_value_to_register(), i386bsd_sigcontext_addr(), i386nbsd_sigtramp_cache_init(), i386nto_sigcontext_addr(), i386obsd_trapframe_cache(), i387_print_float_info(), i387_register_to_value(), i387_value_to_register(), ia64_frame_cache(), ia64_frame_prev_register(), ia64_frame_this_id(), ia64_register_to_value(), ia64_sigtramp_frame_cache(), ia64_sigtramp_frame_init_saved_regs(), ia64_sigtramp_frame_prev_register(), ia64_sigtramp_frame_sniffer(), ia64_sigtramp_frame_this_id(), ia64_value_to_register(), indirect_pieced_value(), info_float_command(), info_frame_command_core(), insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), insert_hp_step_resume_breakpoint_at_frame(), inside_main_func(), iq2000_frame_cache(), call_site_target::iterate_over_addresses(), jit_frame_sniffer(), jit_unwind_reg_get_impl(), jit_unwind_reg_set_impl(), keep_going_stepped_thread(), libunwind_frame_cache(), libunwind_frame_prev_register(), libunwind_frame_sniffer(), libunwind_sigtramp_frame_sniffer(), lm32_frame_cache(), locexpr_get_frame_base(), loclist_get_frame_base(), aarch64_linux_nat_target::low_siginfo_fixup(), amd64_linux_nat_target::low_siginfo_fixup(), m32c_analyze_frame_prologue(), m32c_frame_base(), m32c_prev_register(), m32c_skip_trampoline_code(), m32r_frame_unwind_cache(), m68hc11_frame_prev_register(), m68hc11_frame_unwind_cache(), m68k_frame_cache(), m68k_get_longjmp_target(), m68k_linux_get_sigtramp_info(), m68k_linux_pc_in_sigtramp(), m68k_linux_sigtramp_frame_cache(), m68k_register_to_value(), m68k_value_to_register(), tui_disasm_window::maybe_update(), tui_source_window::maybe_update(), mi_cmd_data_list_register_values(), mi_cmd_trace_frame_collected(), microblaze_frame_cache(), micromips_linux_sigframe_validate(), mips2_fp_compat(), mips64_fbsd_sigframe_init(), mips64_linux_get_longjmp_target(), mips64obsd_sigframe_init(), mips_fbsd_sigframe_init(), mips_get_mips16_fn_stub_pc(), mips_insn16_frame_base_sniffer(), mips_insn16_frame_cache(), mips_insn16_frame_sniffer(), mips_insn32_frame_cache(), mips_linux_get_longjmp_target(), mips_linux_n32n64_sigframe_init(), mips_linux_o32_sigframe_init(), mips_micro_frame_base_sniffer(), mips_micro_frame_cache(), mips_micro_frame_sniffer(), mips_print_fp_register(), mips_print_register(), mips_read_fp_register_double(), mips_read_fp_register_single(), mips_register_to_value(), mips_sde_frame_cache(), mips_skip_mips16_trampoline_code(), mips_skip_pic_trampoline_code(), mips_stub_frame_cache(), mips_value_to_register(), mipsnbsd_get_longjmp_target(), mn10300_analyze_frame_prologue(), moxie_frame_cache(), msp430_analyze_frame_prologue(), msp430_skip_trampoline_code(), nds32_epilogue_frame_cache(), nds32_epilogue_frame_sniffer(), nds32_frame_cache(), nds32_get_longjmp_target(), nios2_frame_unwind_cache(), nios2_get_longjmp_target(), nios2_stub_frame_cache(), or1k_frame_cache(), ppc64_plt_entry_point(), ppc64_plt_pcrel_entry_point(), ppc64_skip_trampoline_code(), ppc_linux_sigtramp_cache(), ppc_skip_trampoline_code(), ppcfbsd_sigtramp_frame_cache(), ppcfbsd_sigtramp_frame_sniffer(), ppcnbsd_sigtramp_cache_init(), ppcobsd_sigtramp_frame_cache(), ppcobsd_sigtramp_frame_sniffer(), print_frame_args(), print_frame_info(), print_frame_nameless_args(), print_gp_register_row(), print_vector_info(), probe_safe_evaluate_at_pc(), process_event_stop_test(), put_frame_register(), put_frame_register_bytes(), py_print_frame(), read_addr_from_reg(), read_frame_register_unsigned(), read_frame_register_value(), read_insn(), language_defn::read_var_value(), record_btrace_frame_prev_register(), registers_info(), tui_source_window_base::rerender(), reserve_stack_space(), resolve_msgsend(), resolve_msgsend_stret(), resolve_msgsend_super(), resolve_msgsend_super_stret(), riscv_fbsd_sigframe_init(), riscv_frame_cache(), riscv_linux_sigframe_init(), rs6000_epilogue_frame_cache(), rs6000_epilogue_frame_sniffer(), rs6000_frame_cache(), rs6000_register_to_value(), rs6000_skip_trampoline_code(), rw_pieced_value(), rx_frame_prev_register(), s12z_frame_cache(), s390_backchain_frame_unwind_cache(), s390_prologue_frame_unwind_cache(), s390_sigtramp_frame_unwind_cache(), s390_stub_frame_unwind_cache(), s390_unwind_pseudo_register(), sh_frame_cache(), sh_frame_prev_register(), sh_linux_sigtramp_cache(), sh_make_stub_cache(), tui_data_window::show_register_group(), objc_language::skip_trampoline(), skip_unwritable_frames(), solib_event_probe_action(), sparc32_frame_prev_register(), sparc32_linux_step_trap(), sparc32nbsd_sigcontext_saved_regs(), sparc64_frame_prev_register(), sparc64_linux_get_longjmp_target(), sparc64_linux_step_trap(), sparc64nbsd_sigcontext_saved_regs(), sparc_frame_cache(), tailcall_frame_prev_arch(), tic6x_frame_unwind_cache(), tic6x_get_longjmp_target(), tic6x_linux_rt_sigreturn_init(), tilegx_get_longjmp_target(), trad_frame_alloc_saved_regs(), trad_frame_set_reg_regmap(), tramp_frame_start(), tui_get_function_from_frame(), tui_register_format(), tui_show_frame_info(), until_break_command(), update_watchpoint(), v850_frame_cache(), value_assign(), value_from_register(), value_of_builtin_frame_fp_reg(), value_of_builtin_frame_pc_reg(), value_of_builtin_frame_ps_reg(), value_of_builtin_frame_sp_reg(), value_of_register(), value_of_register_lazy(), value_of_user_reg(), watchpoint_check(), xstormy16_frame_cache(), xstormy16_skip_trampoline_code(), xtensa_frame_cache(), xtensa_frame_prev_register(), xtensa_window_interrupt_frame_cache(), z80_frame_prev_register(), and z80_frame_unwind_cache().
|
extern |
Definition at line 2916 of file frame.c.
References frame_info::base, frame_info::base_cache, frame_base_find_by_frame(), get_frame_type(), NORMAL_FRAME, frame_info::prologue_cache, frame_base::this_args, frame_base::unwind, and frame_info::unwind.
Referenced by info_frame_command_core(), print_frame_nameless_args(), and language_defn::read_var_value().
|
extern |
Definition at line 2879 of file frame.c.
References get_frame_id(), and frame_id::stack_addr.
Referenced by alphanbsd_sigcontext_addr(), arm_dwarf2_prev_register(), branch_dest(), default_frame_base_address(), derive_stack_segment(), dwarf2_frame_cfa(), frame_follow_static_link(), and info_frame_command_core().
|
extern |
Definition at line 2887 of file frame.c.
References frame_info::base, frame_info::base_cache, frame_base_find_by_frame(), get_frame_type(), NORMAL_FRAME, frame_info::prologue_cache, frame_base::this_base, frame_base::unwind, and frame_info::unwind.
Referenced by find_frame_addr_in_frame_chain(), value_of_builtin_frame_fp_reg(), and vax_frame_num_args().
|
extern |
Definition at line 55 of file blockframe.c.
References block_for_pc(), frame_inlined_callees(), get_frame_address_in_block_if_available(), block::inlined_p(), and block::superblock().
Referenced by ada_add_exceptions_from_frame(), block_innermost_frame(), frame_follow_static_link(), frapy_block(), frapy_read_var(), gdbpy_lookup_static_symbol(), gdbpy_lookup_symbol(), gdbscm_frame_block(), gdbscm_frame_read_var(), gdbscm_lookup_symbol(), dwarf_expr_context::get_frame_base(), get_frame_function(), get_hosting_frame(), get_selected_block(), info_common_command(), list_args_or_locals(), pending_framepy_block(), print_frame_local_vars(), ada_language::read_var_value(), value_of_this(), and varobj_create().
unsigned int get_frame_cache_generation | ( | ) |
Definition at line 66 of file frame.c.
References frame_cache_generation.
Referenced by compute_frame_id(), frame_unwind_try_unwinder(), and get_prev_frame_maybe_check_cycle().
|
extern |
Definition at line 1098 of file frame.c.
References get_frame_func_if_available().
Referenced by aarch64_make_prologue_cache_1(), alpha_mdebug_frame_this_id(), alpha_sigtramp_frame_this_id(), amd64_epilogue_frame_cache(), amd64_frame_cache_1(), amd64obsd_trapframe_cache(), arc_frame_this_id(), arm_epilogue_frame_this_id(), arm_prologue_this_id(), avr_frame_this_id(), avr_frame_unwind_cache(), bfin_frame_cache(), BP_MANIPULATION(), BP_MANIPULATION(), cris_frame_this_id(), cris_frame_unwind_cache(), csky_frame_this_id(), dwarf2_frame_this_id(), dwarf_expr_reg_to_entry_parameter(), frv_frame_this_id(), frv_frame_unwind_cache(), ft32_frame_cache(), h8300_frame_cache(), hppa_fallback_frame_cache(), hppa_fallback_frame_this_id(), hppa_frame_cache(), hppa_stub_frame_this_id(), i386_epilogue_frame_cache(), i386_frame_cache_1(), i386obsd_trapframe_cache(), ia64_frame_cache(), inside_entry_func(), inside_main_func(), libunwind_frame_cache(), lm32_frame_cache(), m32c_analyze_frame_prologue(), m32c_this_id(), m32r_frame_this_id(), m32r_frame_unwind_cache(), m32r_linux_sigtramp_frame_cache(), m68hc11_frame_this_id(), m68hc11_frame_unwind_cache(), m68k_frame_cache(), mep_frame_this_id(), microblaze_frame_cache(), mips_insn16_frame_this_id(), mips_insn32_frame_this_id(), mips_micro_frame_this_id(), mn10300_analyze_frame_prologue(), mn10300_frame_this_id(), moxie_frame_cache(), msp430_analyze_frame_prologue(), msp430_this_id(), nds32_epilogue_frame_cache(), nds32_frame_cache(), nios2_frame_unwind_cache(), record_btrace_frame_this_id(), riscv_frame_cache(), rl78_analyze_frame_prologue(), rl78_this_id(), rs6000_epilogue_frame_this_id(), rs6000_frame_cache(), rs6000_frame_this_id(), rx_analyze_frame_prologue(), rx_frame_this_id(), sh_frame_cache(), sparc_frame_cache(), tic6x_frame_unwind_cache(), v850_frame_cache(), vax_frame_this_id(), xstormy16_frame_cache(), xtensa_frame_cache(), xtensa_window_interrupt_frame_cache(), z80_frame_this_id(), and z80_frame_unwind_cache().
|
extern |
Definition at line 1055 of file frame.c.
References frame_info::addr, CC_UNAVAILABLE, CC_UNKNOWN, CC_VALUE, frame_debug_printf, get_frame_address_in_block_if_available(), get_pc_function_start(), frame_info::level, frame_info::next, frame_info::prev_func, and frame_info::status.
Referenced by dwarf2_frame_cache(), get_frame_func(), loclist_read_variable_at_entry(), and s390_prologue_frame_unwind_cache().
|
extern |
Definition at line 118 of file blockframe.c.
References block::function(), get_frame_block(), and block::superblock().
Referenced by check_exception_resume(), find_frame_funname(), find_frame_sal(), frame_follow_static_link(), info_frame_command_core(), inline_frame_is_marked_for_skip(), inline_frame_this_id(), jump_command(), prepare_one_step(), print_frame_arg_vars(), skip_function_command(), and watchpoint_check().
|
extern |
Definition at line 631 of file frame.c.
References compute_frame_id(), COMPUTING, frame_stash_add(), NOT_COMPUTED, and null_frame_id.
Referenced by allocate_piece_closure(), arm_linux_copy_svc(), bpfinishpy_init(), default_frame_unwind_stop_reason(), default_value_from_register(), dwarf2_frame_cfa(), find_frame_for_address(), finish_forward(), frame_find_by_id(), frame_info_to_frame_object(), frame_pop(), frame_unwind_caller_id(), frscm_scm_from_frame(), get_frame_base(), get_prev_frame_always_1(), get_stack_frame_id(), get_thread_current_frame_id(), inline_frame_is_marked_for_skip(), inline_frame_this_id(), lookup_selected_frame(), maintenance_print_frame_id(), parse_frame_specification(), print_frame_arg_vars(), print_frame_local_vars(), print_stop_location(), process_event_stop_test(), select_frame(), sentinel_frame_prev_register(), set_step_info(), step_command_fsm_prepare(), stepped_in_from(), tailcall_frame_this_id(), selftests::test_user_created_frame(), tfind_1(), until_next_command(), selftests::user_created_frame_callee(), value_assign(), value_from_register(), value_of_register_lazy(), varobj_create(), and watch_command_1().
|
extern |
Definition at line 3074 of file frame.c.
References find_pc_compunit_symtab(), get_frame_address_in_block(), compunit_symtab::language(), and language_unknown.
Referenced by check_frame_language_change(), frapy_language(), inside_main_func(), pending_framepy_language(), set_language(), and show_language_command().
|
extern |
Definition at line 2901 of file frame.c.
References frame_info::base, frame_info::base_cache, frame_base_find_by_frame(), get_frame_type(), NORMAL_FRAME, frame_info::prologue_cache, frame_base::this_locals, frame_base::unwind, and frame_info::unwind.
Referenced by info_frame_command_core(), and language_defn::read_var_value().
|
extern |
Definition at line 2990 of file frame.c.
References read_memory().
|
extern |
Definition at line 2997 of file frame.c.
References gdbarch_byte_order(), get_frame_arch(), and read_memory_integer().
|
extern |
Definition at line 3007 of file frame.c.
References gdbarch_byte_order(), get_frame_arch(), and read_memory_unsigned_integer().
Referenced by alpha_sigtramp_frame_this_id(), alphaobsd_sigcontext_addr(), am33_linux_sigframe_cache_init(), amd64_sol2_mcontext_addr(), arm_exidx_fill_cache(), arm_linux_restart_syscall_init(), i386_sol2_mcontext_addr(), m32r_frame_unwind_cache(), sparc32_frame_prev_register(), sparc32_linux_sigframe_init(), sparc32_sol2_sigtramp_frame_cache(), sparc32nbsd_sigcontext_saved_regs(), sparc64_frame_prev_register(), sparc64_linux_sigframe_init(), sparc64_sol2_sigtramp_frame_cache(), sparc64fbsd_sigtramp_frame_cache(), sparc64nbsd_sigcontext_saved_regs(), tilegx_linux_sigframe_init(), vax_frame_cache(), and vax_frame_num_args().
|
extern |
Definition at line 2712 of file frame.c.
References frame_unwind_pc(), and frame_info::next.
Referenced by aarch64_make_stub_cache(), aarch64_scan_prologue(), aarch64_stub_unwind_sniffer(), aix_sighandle_frame_sniffer(), alpha_heuristic_frame_unwind_cache(), alpha_linux_sigcontext_addr(), alpha_sigtramp_frame_sniffer(), alpha_sigtramp_frame_this_id(), alphaobsd_sigcontext_addr(), amd64_dummy_id(), amd64_epilogue_frame_sniffer_1(), amd64_frame_cache_1(), amd64_linux_sigtramp_p(), amd64_linux_sigtramp_start(), amd64_sigtramp_frame_sniffer(), amd64_sigtramp_frame_this_id(), amd64_windows_frame_cache(), amd64nbsd_sigtramp_p(), amd64obsd_sigcontext_addr(), amd64obsd_sigtramp_p(), amd64obsd_trapframe_sniffer(), arc_linux_is_sigtramp(), arc_make_frame_cache(), arm_epilogue_frame_sniffer(), arm_epilogue_frame_this_id(), arm_exidx_unwind_sniffer(), arm_linux_copy_svc(), arm_m_exception_cache(), arm_m_exception_this_id(), arm_m_exception_unwind_sniffer(), arm_prologue_this_id(), arm_prologue_unwind_stop_reason(), arm_scan_prologue(), arm_stub_this_id(), arm_stub_unwind_sniffer(), avr_dummy_id(), avr_frame_unwind_cache(), bfin_frame_cache(), bfin_linux_sigframe_init(), BP_MANIPULATION(), BP_MANIPULATION(), bpf_dummy_id(), bpfinishpy_init(), check_exception_resume(), check_scope(), compute_probe_arg(), cris_rt_sigtramp_start(), cris_scan_prologue(), cris_sigtramp_frame_this_id(), cris_sigtramp_start(), csky_frame_unwind_cache(), csky_stub_this_id(), csky_stub_unwind_sniffer(), default_dummy_id(), tui_source_window::do_scroll_vertical(), dwarf2_fetch_die_loc_cu_off(), dwarf2_fetch_die_loc_sect_off(), dwarf2_get_symbol_read_needs(), dwarf_expr_reg_to_entry_parameter(), elf_gnu_ifunc_resolver_stop(), fetch_probe_arguments(), find_frame_for_function(), find_frame_sal(), finish_backward(), finish_command(), finish_forward(), frame_show_address(), frapy_pc(), frv_analyze_prologue(), frv_linux_sigcontext_reg_addr(), frv_linux_sigtramp_frame_cache(), frv_linux_sigtramp_frame_sniffer(), ft32_frame_cache(), gdbscm_frame_pc(), get_frame_address_in_block(), get_selected_pc_producer_options(), h8300_frame_cache(), hppa_fallback_frame_cache(), hppa_frame_cache(), hppa_linux_sigtramp_frame_sniffer(), hppa_linux_sigtramp_frame_this_id(), hppa_linux_sigtramp_frame_unwind_cache(), i386_dummy_id(), i386_epilogue_frame_sniffer_1(), i386_frame_cache_1(), i386_gnu_sigtramp_p(), i386_gnu_sigtramp_start(), i386_linux_dwarf_signal_frame_p(), i386_linux_rt_sigtramp_start(), i386_linux_sigcontext_addr(), i386_linux_sigtramp_p(), i386_linux_sigtramp_start(), i386_sigtramp_frame_sniffer(), i386_sigtramp_frame_this_id(), i386_sigtramp_p(), i386_stack_tramp_frame_sniffer(), i386_svr4_sigtramp_p(), i386nto_sigtramp_p(), i386obsd_sigtramp_p(), i386obsd_trapframe_sniffer(), ia64_dummy_id(), ia64_frame_cache(), ia64_sigtramp_frame_sniffer(), ia64_sigtramp_frame_this_id(), info_frame_command_core(), insert_hp_step_resume_breakpoint_at_frame(), iq2000_frame_cache(), libunwind_frame_cache(), list_command(), lm32_frame_cache(), locexpr_get_frame_base(), loclist_get_frame_base(), loongarch_linux_syscall_next_pc(), m32c_analyze_frame_prologue(), m32r_frame_unwind_cache(), m32r_linux_sigtramp_frame_cache(), m32r_linux_sigtramp_frame_sniffer(), m68hc11_dummy_id(), m68hc11_frame_unwind_cache(), m68k_dummy_id(), m68k_frame_cache(), m68k_linux_pc_in_sigtramp(), m68k_linux_sigtramp_frame_cache(), maint_agent_command_1(), maint_agent_printf_command(), mips_dummy_id(), mips_insn16_frame_base_sniffer(), mips_insn16_frame_sniffer(), mips_insn32_frame_base_sniffer(), mips_insn32_frame_sniffer(), mips_linux_syscall_next_pc(), mips_micro_frame_base_sniffer(), mips_micro_frame_sniffer(), mips_sde_frame_cache(), mips_sde_frame_sniffer(), mips_single_step_through_delay(), mips_stub_frame_cache(), mips_stub_frame_sniffer(), mn10300_analyze_frame_prologue(), moxie_frame_cache(), msp430_analyze_frame_prologue(), nds32_epilogue_frame_cache(), nds32_epilogue_frame_sniffer(), nds32_frame_cache(), nios2_frame_unwind_cache(), nios2_linux_syscall_next_pc(), nios2_stub_frame_cache(), nios2_stub_frame_sniffer(), or1k_frame_cache(), pending_framepy_pc(), pending_framepy_repr(), pending_framepy_str(), ppc_linux_sigtramp_cache(), ppcfbsd_sigtramp_frame_cache(), ppcfbsd_sigtramp_frame_sniffer(), ppcobsd_sigtramp_frame_cache(), ppcobsd_sigtramp_frame_sniffer(), prepare_one_step(), print_frame_info(), remote_target::print_one_stopped_thread(), probe_safe_evaluate_at_pc(), pyuw_sniffer(), tui_source_window_base::refill(), tui_source_window_base::rerender(), riscv_frame_cache(), riscv_linux_syscall_next_pc(), rl78_analyze_frame_prologue(), rl78_dummy_id(), rs6000_epilogue_frame_sniffer(), rs6000_frame_cache(), rx_analyze_frame_prologue(), rx_frame_type(), s12z_frame_cache(), s390_backchain_frame_unwind_cache(), s390_dummy_id(), s390_prologue_frame_unwind_cache(), s390_sigtramp_frame_sniffer(), s390_sigtramp_frame_this_id(), s390_sigtramp_frame_unwind_cache(), s390_stub_frame_sniffer(), s390_stub_frame_this_id(), set_step_frame(), sh_frame_cache(), sh_stub_this_id(), skip_function_command(), skip_inline_frames(), sol2_sigtramp_p(), sparc32nbsd_sigcontext_frame_sniffer(), sparc32obsd_sigtramp_frame_cache(), sparc32obsd_sigtramp_frame_sniffer(), sparc64fbsd_sigtramp_frame_sniffer(), sparc64nbsd_sigtramp_frame_sniffer(), sparc64obsd_frame_cache(), sparc64obsd_sigtramp_frame_sniffer(), sparc_dummy_id(), sparc_frame_cache(), tailcall_frame_this_id(), tfind_line_command(), tic6x_frame_unwind_cache(), tic6x_linux_syscall_next_pc(), tic6x_stub_this_id(), tramp_frame_sniffer(), tui_get_function_from_frame(), until_next_command(), update_watchpoint(), v850_frame_cache(), using_direct::valid_line(), value_of_builtin_frame_pc_reg(), varobj_create(), vax_dummy_id(), watchpoint_check(), xstormy16_frame_cache(), xtensa_dummy_id(), and z80_frame_unwind_cache().
|
extern |
Definition at line 2719 of file frame.c.
References frame_unwind_pc(), and frame_info::next.
Referenced by bpfinishpy_init(), default_macro_scope(), find_frame_sal(), get_prev_frame(), info_frame_command_core(), pc_prefix(), print_frame_arg_vars(), print_frame_info(), print_frame_local_vars(), set_traceframe_context(), and tui_show_frame_info().
|
extern |
Definition at line 208 of file frame.c.
References CC_VALUE, frame_info::masked, frame_info::next, frame_info::prev_pc, and frame_info::status.
Referenced by aarch64_get_pc_address_flags(), arm_get_pc_address_flags(), and py_print_frame().
|
extern |
Definition at line 2965 of file frame.c.
References frame_info::pspace.
Referenced by find_frame_sal(), finish_backward(), handle_step_into_function(), insert_hp_step_resume_breakpoint_at_frame(), process_event_stop_test(), save_bookmark_command(), and update_watchpoint().
|
extern |
Definition at line 1263 of file frame.c.
References frame_unwind_register(), frame_info::next, and regnum.
Referenced by amd64_darwin_sigcontext_addr(), amd64_epilogue_frame_cache(), amd64_frame_cache_1(), amd64_get_longjmp_target(), amd64_linux_sigcontext_addr(), amd64_sigtramp_frame_cache(), amd64_windows_frame_cache(), amd64_windows_frame_decode_insns(), cris_sigcontext_addr(), cris_sigtramp_frame_unwind_cache(), examine_prologue(), frv_linux_sigcontext_reg_addr(), frv_linux_sigtramp_frame_cache(), i386_darwin_sigcontext_addr(), i386_frame_cache_1(), i386_get_longjmp_target(), i386_gnu_sigcontext_addr(), i386_linux_sigcontext_addr(), i386_sigtramp_frame_cache(), i386_svr4_sigcontext_addr(), i386bsd_sigcontext_addr(), i386nto_sigcontext_addr(), ia64_dummy_id(), ia64_frame_cache(), ia64_frame_prev_register(), ia64_sigtramp_frame_cache(), m68k_frame_cache(), m68k_linux_sigtramp_frame_cache(), and mips_register_to_value().
|
extern |
Definition at line 1480 of file frame.c.
References value::contents_all(), value::entirely_available(), frame_register(), frame_unwind_register_value(), gdbarch_num_cooked_regs(), get_frame_arch(), frame_info::next, value::offset(), value::optimized_out(), register_size(), regnum, and release_value().
Referenced by i386_register_to_value(), i387_register_to_value(), ia64_register_to_value(), m68k_register_to_value(), mips_register_to_value(), rs6000_register_to_value(), rw_pieced_value(), and value_assign().
|
extern |
Definition at line 1365 of file frame.c.
References frame_unwind_register_signed(), frame_info::next, and regnum.
Referenced by armobsd_sigframe_init(), h8300_print_register(), m68hc11_print_register(), micromips_scan_prologue(), mips16_scan_prologue(), mips32_scan_prologue(), mips64_fbsd_sigframe_init(), mips64obsd_sigframe_init(), mips_dummy_id(), mips_fbsd_sigframe_init(), mips_sde_frame_cache(), mips_skip_mips16_trampoline_code(), and mips_stub_frame_cache().
|
extern |
Definition at line 1399 of file frame.c.
References frame_unwind_register_unsigned(), frame_info::next, and regnum.
Referenced by aarch64_fbsd_sigframe_init(), aarch64_get_longjmp_target(), aarch64_linux_read_signal_frame_info(), aarch64_make_prologue_cache_1(), aarch64_make_stub_cache(), aarch64_scan_prologue(), aix_sighandle_frame_cache(), alpha_get_longjmp_target(), alpha_heuristic_frame_unwind_cache(), alpha_linux_sigcontext_addr(), alpha_mdebug_frame_unwind_cache(), alphaobsd_sigcontext_addr(), am33_linux_sigframe_cache_init(), amd64_dummy_id(), amd64_fbsd_sigframe_init(), amd64_sol2_mcontext_addr(), amd64nbsd_mcontext_addr(), amd64obsd_sigcontext_addr(), amd64obsd_trapframe_cache(), amd64obsd_trapframe_sniffer(), arc_frame_base_address(), arc_frame_this_id(), arc_get_longjmp_target(), arc_make_frame_cache(), arc_sigtramp_frame_this_id(), arm_cache_init(), arm_dwarf2_prev_register(), arm_exidx_fill_cache(), arm_fbsd_sigframe_init(), arm_frame_is_thumb(), arm_get_longjmp_target(), arm_linux_restart_syscall_init(), arm_linux_rt_sigreturn_init(), arm_linux_sigreturn_init(), arm_linux_sigtramp_cache(), arm_m_exception_cache(), arm_make_epilogue_frame_cache(), arm_make_prologue_cache(), arm_make_stub_cache(), arm_print_float_info(), arm_prologue_prev_register(), arm_scan_prologue(), arm_skip_bx_reg(), arm_skip_stub(), avr_dummy_id(), avr_frame_unwind_cache(), bfin_frame_cache(), BP_MANIPULATION(), bpf_dummy_id(), call0_frame_cache(), cris_scan_prologue(), crisv32_scan_prologue(), crisv32_single_step_through_delay(), csky_analyze_prologue(), csky_linux_rt_sigreturn_init(), csky_linux_rt_sigreturn_init_pt_regs(), csky_make_stub_cache(), dwarf2_frame_prev_register(), examine_prologue(), frv_analyze_prologue(), ft32_frame_cache(), h8300_frame_cache(), hppa_fallback_frame_cache(), hppa_fetch_pointer_argument(), hppa_frame_cache(), hppa_linux_sigtramp_frame_unwind_cache(), hppa_skip_trampoline_code(), hppa_stub_frame_unwind_cache(), hppanbsd_sigtramp_cache_init(), i386_dummy_id(), i386_epilogue_frame_cache(), i386_fbsd_sigframe_init(), i386_fetch_pointer_argument(), i386_frame_prev_register(), i386_sol2_mcontext_addr(), i386nbsd_sigtramp_cache_init(), i386obsd_trapframe_cache(), i386obsd_trapframe_sniffer(), iq2000_frame_cache(), lm32_frame_cache(), loongarch_linux_syscall_next_pc(), m32c_frame_base(), m32r_frame_unwind_cache(), m32r_linux_sigtramp_frame_cache(), m68hc11_dummy_id(), m68hc11_frame_unwind_cache(), m68hc11_print_register(), m68k_dummy_id(), m68k_get_longjmp_target(), m68k_linux_get_sigtramp_info(), mep_frame_base(), mips2_fp_compat(), mips64_linux_get_longjmp_target(), mips_linux_get_longjmp_target(), mips_linux_syscall_next_pc(), mipsnbsd_get_longjmp_target(), mn10300_frame_base(), moxie_frame_cache(), msp430_frame_base(), msp430_skip_trampoline_code(), nds32_epilogue_frame_cache(), nds32_frame_cache(), nds32_get_longjmp_target(), nios2_analyze_prologue(), nios2_get_longjmp_target(), nios2_linux_rt_sigreturn_init(), nios2_linux_syscall_next_pc(), nios2_stub_frame_cache(), or1k_frame_cache(), ppc64_plt_entry_point(), ppc_linux_sigtramp_cache(), ppc_skip_trampoline_code(), ppcfbsd_sigtramp_frame_cache(), ppcnbsd_sigtramp_cache_init(), ppcobsd_sigtramp_frame_cache(), riscv_fbsd_sigframe_init(), riscv_frame_cache(), riscv_linux_syscall_next_pc(), rl78_dummy_id(), rl78_frame_base(), rs6000_epilogue_frame_cache(), rs6000_fetch_pointer_argument(), rs6000_frame_cache(), rs6000_in_function_epilogue_frame_p(), rs6000_skip_trampoline_code(), rx_frame_base(), s12z_frame_cache(), s390_backchain_frame_unwind_cache(), s390_dummy_id(), s390_prologue_frame_unwind_cache(), s390_sigtramp_frame_unwind_cache(), s390_stub_frame_unwind_cache(), sh_frame_cache(), sh_linux_sigtramp_cache(), sh_make_stub_cache(), sparc32_frame_cache(), sparc32_frame_prev_register(), sparc32_linux_sigframe_init(), sparc32_linux_step_trap(), sparc32_sol2_sigtramp_frame_cache(), sparc32nbsd_sigcontext_frame_cache(), sparc32nbsd_sigcontext_saved_regs(), sparc32obsd_sigtramp_frame_cache(), sparc64_frame_prev_register(), sparc64_linux_get_longjmp_target(), sparc64_linux_sigframe_init(), sparc64_linux_step_trap(), sparc64_sol2_sigtramp_frame_cache(), sparc64fbsd_sigtramp_frame_cache(), sparc64nbsd_sigcontext_frame_cache(), sparc64obsd_frame_cache(), sparc64obsd_trapframe_cache(), sparc64obsd_trapframe_sniffer(), sparc_dummy_id(), sparc_frame_cache(), sparcnbsd_step_trap(), tic6x_analyze_prologue(), tic6x_get_longjmp_target(), tic6x_linux_rt_sigreturn_init(), tic6x_linux_syscall_next_pc(), tic6x_make_stub_cache(), tilegx_get_longjmp_target(), tilegx_linux_sigframe_init(), v850_frame_cache(), vax_dummy_id(), vax_frame_args_address(), vax_frame_cache(), vax_frame_num_args(), xstormy16_frame_cache(), xtensa_dummy_id(), xtensa_frame_cache(), xtensa_window_interrupt_frame_cache(), and z80_frame_unwind_cache().
struct value * get_frame_register_value | ( | frame_info_ptr | frame, |
int | regnum ) |
Definition at line 1333 of file frame.c.
References frame_unwind_register_value(), frame_info::next, and regnum.
Referenced by alpha_register_to_value(), i387_print_float_info(), inline_frame_prev_register(), mep_frame_prev_register(), mips_print_register(), print_gp_register_row(), read_frame_register_unsigned(), and read_frame_register_value().
|
extern |
Definition at line 3115 of file frame.c.
References gdbarch_unwind_sp(), get_frame_arch(), and frame_info::next.
Referenced by arc_linux_sigcontext_addr(), bfin_linux_sigframe_init(), call_function_by_hand_dummy(), default_dummy_id(), derive_stack_segment(), loongarch_linux_rt_sigframe_init(), m32c_skip_trampoline_code(), mips_linux_n32n64_sigframe_init(), mips_linux_o32_sigframe_init(), or1k_linux_sigframe_init(), pending_framepy_repr(), pending_framepy_str(), pyuw_sniffer(), and riscv_linux_sigframe_init().
|
extern |
Definition at line 2955 of file frame.c.
References frame_unwind_find_by_frame(), frame_info::prologue_cache, frame_unwind::type, and frame_info::unwind.
Referenced by arm_code_of_frame_writable(), arm_exidx_unwind_sniffer(), arm_linux_sigreturn_return_addr(), bpfinishpy_init(), dwarf2_frame_cfa(), dwarf_expr_reg_to_entry_parameter(), finish_command(), frame_find_by_id(), frame_inlined_callees(), frame_pop(), frame_show_address(), frapy_type(), gdbscm_frame_type(), get_frame_address_in_block(), get_frame_args_address(), get_frame_base_address(), get_frame_locals_address(), get_prev_frame(), get_prev_frame_always_1(), get_prev_frame_maybe_check_cycle(), info_frame_command_core(), inline_frame_is_marked_for_skip(), inline_frame_sniffer(), normal_stop(), print_frame_info(), process_event_stop_test(), s390_prologue_frame_unwind_cache(), skip_artificial_frames(), skip_tailcall_frames(), stepped_in_from(), and value_of_register_lazy().
enum unwind_stop_reason get_frame_unwind_stop_reason | ( | frame_info_ptr | frame | ) |
Definition at line 3166 of file frame.c.
References get_prev_frame_always(), frame_info::prev_p, and frame_info::stop_reason.
Referenced by backtrace_command_1(), check_longjmp_breakpoint_for_call_dummy(), dwarf2_frame_cfa(), frame_info_to_frame_object(), frapy_unwind_stop_reason(), frscm_scm_from_frame(), gdbscm_frame_unwind_stop_reason(), and info_frame_command_core().
|
extern |
Definition at line 2068 of file frame.c.
References frame_info::level, and frame_info::next.
Referenced by alphanbsd_sigcontext_addr(), arm_exidx_unwind_sniffer(), cache_find(), find_frame_sal(), find_relative_frame(), frame_info_to_frame_object(), frame_inlined_callees(), frame_register_unwind_location(), frame_show_address(), frapy_newer(), frscm_scm_from_frame(), gdbscm_frame_newer(), get_prev_frame(), get_prev_frame_always_1(), info_frame_command_core(), inline_frame_sniffer(), record_btrace_frame_sniffer(), record_btrace_tailcall_frame_sniffer(), s390_prologue_frame_unwind_cache(), tailcall_frame_sniffer(), and tailcall_frame_this_id().
|
extern |
Definition at line 2081 of file frame.c.
References COMPUTED, is_sentinel_frame_id(), frame_info::next, frame_info::p, frame_info::this_id, and frame_info::value.
Referenced by default_value_from_register(), value_from_register(), and value_of_register_lazy().
|
extern |
Definition at line 86 of file blockframe.c.
References block_for_pc(), block::entry_pc(), find_pc_section(), block::linkage_function(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, bound_minimal_symbol::value_address(), and symbol::value_block().
Referenced by collection_list::add_local_symbols(), alpha_heuristic_proc_start(), BP_MANIPULATION(), call_site_find_chain_1(), ftrace_update_function(), get_frame_func_if_available(), refine_prologue_limit(), rs6000_frame_cache(), and s390_prologue_frame_unwind_cache().
|
extern |
Definition at line 2614 of file frame.c.
References set_backtrace_options::backtrace_limit, set_backtrace_options::backtrace_past_entry, set_backtrace_options::backtrace_past_main, frame_debug_got_null_frame(), FRAME_SCOPED_DEBUG_ENTER_EXIT, get_frame_pc_if_available(), get_frame_type(), get_next_frame(), get_prev_frame_always(), INLINE_FRAME, inside_entry_func(), inside_main_func(), frame_info::level, NORMAL_FRAME, and user_set_backtrace_options.
Referenced by ada_find_printable_frame(), ada_unhandled_exception_name_addr_from_raise(), arm_dwarf2_prev_register(), arm_linux_copy_svc(), backtrace_command_1(), block_innermost_frame(), bpfinishpy_init(), check_longjmp_breakpoint_for_call_dummy(), derive_stack_segment(), dwarf2_frame_cfa(), dwarf_expr_reg_to_entry_parameter(), elf_gnu_ifunc_resolver_stop(), find_frame_addr_in_frame_chain(), find_frame_for_address(), find_relative_frame(), finish_command(), frame_apply_command_count(), frame_find_by_id(), frame_follow_static_link(), frame_info_to_frame_object(), frame_object_to_frame_info(), frapy_older(), frscm_frame_smob_to_frame(), frscm_scm_from_frame(), gdbscm_frame_older(), get_hosting_frame(), info_frame_command_core(), inline_frame_is_marked_for_skip(), leading_innermost_frame(), mi_cmd_stack_info_depth(), mi_cmd_stack_list_args(), mi_cmd_stack_list_frames(), parse_frame_specification(), dwarf_expr_context::push_dwarf_reg_entry_value(), skip_tailcall_frames(), skip_unwritable_frames(), stepped_in_from(), trailing_outermost_frame(), and value_of_dwarf_reg_entry().
|
extern |
Definition at line 2435 of file frame.c.
References frame_obstack_zalloc(), get_prev_frame_always_1(), size, frame_info::stop_reason, and frame_info::stop_string.
Referenced by value::fetch_lazy_register(), frame_pop(), frame_unwind_caller_id(), get_frame_unwind_stop_reason(), get_prev_frame(), inline_frame_this_id(), skip_artificial_frames(), and value_assign().
|
extern |
Definition at line 2570 of file stack.c.
References get_frame_block(), get_selected_frame(), and has_stack_frames().
Referenced by ada_find_any_type_symbol(), add_symbol_overload_list_namespace(), add_symbol_overload_list_qualified(), add_symbol_overload_list_using(), ada_language::collect_symbol_completion_matches(), cp_lookup_transparent_type(), default_collect_symbol_completion_matches_break_on(), do_one_display(), expr::scope_operation::evaluate_funcall(), expr::rust_structop::evaluate_funcall(), get_current_search_block(), get_expr_block_and_pc(), get_var_value(), info_address_command(), info_display_command(), parse_exp_in_context(), value_maybe_namespace_elt(), f_language::value_print_inner(), and write_object_renaming().
|
extern |
Definition at line 1888 of file frame.c.
References has_stack_frames(), lookup_selected_frame(), selected_frame, selected_frame_id, and selected_frame_level.
Referenced by ada_exceptions_list_1(), frame_command_helper< FPTR >::base_command(), block_innermost_frame(), bsd_kvm_pcb_cmd(), bsd_kvm_proc_cmd(), bsd_kvm_target_open(), coerce_pieced_ref(), compile_to_object(), compute_probe_arg(), convert_one_symbol(), convert_one_symbol(), core_target_open(), deprecated_safe_get_selected_frame(), disassemble_current_function(), do_compile_dwarf_expr_to_c(), tui_source_window::do_scroll_vertical(), down_silently_base(), dwarf2_evaluate_property(), eval_op_register(), eval_op_var_entry_value(), fetch_probe_arguments(), finish_backward(), finish_command(), frame_apply_command_count(), frame_command_core(), gdbpy_lookup_static_symbol(), gdbpy_lookup_symbol(), gdbpy_selected_frame(), gdbscm_lookup_symbol(), gdbscm_selected_frame(), get_current_arch(), get_selected_block(), get_selected_pc_producer_options(), indirect_pieced_value(), info_args_command(), info_common_command(), info_float_command(), info_locals_command(), info_vector_command(), linux_fork_context(), list_command(), lookup_selected_frame(), maintenance_print_frame_id(), mi_cmd_data_list_changed_registers(), mi_cmd_data_list_register_values(), mi_cmd_exec_return(), mi_cmd_stack_info_frame(), mi_cmd_stack_list_locals(), mi_cmd_stack_list_variables(), mi_cmd_trace_find(), mi_cmd_trace_frame_collected(), mi_interp::on_user_selected_context_changed(), pc_prefix(), print_selected_thread_frame(), print_stop_location(), print_thread_info_1(), record_btrace_set_replay(), record_full_goto_entry(), record_full_restore(), registers_info(), sect_variable_value(), select_frame_command_core(), set_language(), show_language_command(), tui_data_window::show_registers(), skip_function_command(), task_command_1(), tfind_1(), tui_refresh_frame_and_register_information(), tui_register_changed(), until_break_command(), up_silently_base(), update_watchpoint(), using_direct::valid_line(), value_of_this(), value_of_variable(), and varobj_create().
|
extern |
Definition at line 662 of file frame.c.
References get_frame_id(), and skip_artificial_frames().
Referenced by bpstat_check_breakpoint_conditions(), elf_gnu_ifunc_resolver_stop(), finish_forward(), handle_signal_stop(), insert_hp_step_resume_breakpoint_at_frame(), process_event_stop_test(), set_step_info(), and until_break_command().
|
extern |
Definition at line 1859 of file frame.c.
References thread_info::executing(), get_traceframe_number(), inferior_ptid, inferior_thread(), thread_info::state, target_has_memory(), target_has_registers(), target_has_stack(), and THREAD_EXITED.
Referenced by ada_exceptions_list_1(), check_frame_language_change(), deprecated_safe_get_selected_frame(), dwarf2_evaluate_property(), execute_command(), get_current_arch(), get_selected_block(), get_selected_frame(), mi_cmd_trace_find(), normal_stop(), mi_interp::on_user_selected_context_changed(), pc_prefix(), print_selected_thread_frame(), show_language_command(), tfind_1(), tui_refresh_frame_and_register_information(), and varobj_create().
|
extern |
Definition at line 2546 of file stack.c.
References gdb_stdout, get_selected_frame(), make_info_print_options_def_group(), print_frame_arg_vars(), gdb::option::process_options(), and gdb::option::PROCESS_OPTIONS_UNKNOWN_IS_OPERAND.
Referenced by trace_dump_actions().
|
extern |
Definition at line 2437 of file stack.c.
References gdb_stdout, get_selected_frame(), make_info_print_options_def_group(), print_frame_local_vars(), gdb::option::process_options(), and gdb::option::PROCESS_OPTIONS_UNKNOWN_IS_OPERAND.
Referenced by trace_dump_actions().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 364 of file frame.h.
References frame_info_ptr::get(), and frame_info_ptr::is_null().
|
inlinestatic |
Definition at line 382 of file frame.h.
References frame_info_ptr::get(), and frame_info_ptr::is_null().
|
inlinestatic |
Definition at line 373 of file frame.h.
References frame_info_ptr::get(), and frame_info_ptr::is_null().
|
extern |
Definition at line 1021 of file stack.c.
References annotate_frame_address(), annotate_frame_address_end(), annotate_frame_begin(), annotate_frame_end(), annotate_function_call(), annotate_signal_handler_caller(), annotate_source_line(), annotation_level, ARCH_FRAME, AUTO_BOOLEAN_AUTO, AUTO_BOOLEAN_TRUE, current_uiout, deprecated_print_frame_info_listing_hook, disassemble_next_line, do_gdb_disassembly(), DUMMY_FRAME, symtab_and_line::end, ui_out::field_fmt_signed(), ui_out::field_string(), find_frame_sal(), frame_relative_level(), frame_show_address(), gdb_flush(), gdb_stdout, get_frame_arch(), get_frame_pc(), get_frame_pc_if_available(), get_frame_type(), get_user_print_options(), last_displayed_symtab_info_type::invalidate(), ui_out::is_mi_like_p(), last_displayed_symtab_info, symtab_and_line::line, LOC_AND_ADDRESS, LOCATION, metadata_style, symtab_and_line::pc, print_args(), print_frame(), frame_print_options::print_frame_info, print_frame_info_auto, print_frame_info_to_print_what(), print_pc(), print_source_lines(), symtab_and_line::pspace, last_displayed_symtab_info_type::set(), SHORT_LOCATION, SIGTRAMP_FRAME, SRC_AND_LOC, SRC_LINE, cli_style_option::style(), symtab_and_line::symtab, ui_out::text(), and ui_left.
Referenced by backtrace_command_1(), mi_cmd_stack_info_frame(), mi_cmd_stack_list_frames(), print_frame_info_to_print_what(), print_stack_frame(), and py_print_frame().
|
extern |
Definition at line 353 of file stack.c.
References current_uiout, LOC_AND_ADDRESS, print_frame_info(), set_current_sal_from_frame(), and user_frame_print_options.
Referenced by bsd_kvm_pcb_cmd(), bsd_kvm_proc_cmd(), bsd_kvm_target_open(), core_target_open(), finish_command(), frame_apply_command_count(), linux_fork_context(), lookup_selected_frame(), mi_cmd_exec_return(), mi_cmd_trace_find(), print_stack_frame_to_uiout(), print_stop_location(), print_thread_info_1(), record_btrace_set_replay(), record_full_goto_entry(), record_full_restore(), task_command_1(), and tfind_1().
|
extern |
Definition at line 337 of file stack.c.
References current_uiout, and print_stack_frame().
Referenced by mi_interp::on_user_selected_context_changed(), and print_selected_thread_frame().
|
extern |
Definition at line 1426 of file frame.c.
References regcache::cooked_write(), frame_register(), get_current_regcache(), get_frame_arch(), lval_memory, lval_register, register_size(), regnum, and write_memory().
Referenced by alpha_value_to_register(), i386_value_to_register(), i387_value_to_register(), ia64_value_to_register(), m68k_value_to_register(), mips_value_to_register(), and put_frame_register_bytes().
|
extern |
Definition at line 1569 of file frame.c.
References value::contents_raw(), value::contents_writeable(), frame_unwind_register_value(), get_frame_arch(), frame_info::next, value::offset(), put_frame_register(), register_size(), regnum, and release_value().
Referenced by mips_value_to_register(), rw_pieced_value(), and value_assign().
|
extern |
Definition at line 524 of file stack.c.
References value::allocate_optimized_out(), coerce_ref(), value::contents_eq(), current_uiout, frame_arg::entry_kind, frame_arg::error, value::fetch_lazy(), value::lazy(), type::length(), value::optimized_out(), frame_print_options::print_entry_values, print_entry_values_both, print_entry_values_compact, print_entry_values_default, print_entry_values_if_needed, print_entry_values_no, print_entry_values_only, print_entry_values_preferred, read_var_value(), symbol_computed_ops::read_variable_at_entry, frame_arg::sym, SYMBOL_COMPUTED_OPS, symbol::type(), value::type(), and frame_arg::val.
Referenced by enumerate_args(), list_args_or_locals(), and print_frame_args().
|
extern |
Definition at line 503 of file stack.c.
References frame_arg::error, read_var_value(), frame_arg::sym, and frame_arg::val.
Referenced by list_args_or_locals().
|
extern |
Definition at line 1405 of file frame.c.
References value::contents(), value::entirely_available(), extract_unsigned_integer(), gdbarch_byte_order(), get_frame_arch(), get_frame_register_value(), value::optimized_out(), register_size(), regnum, size, and VALUE_REGNUM.
Referenced by i387_print_float_info(), and mips_print_float_info().
|
extern |
Definition at line 360 of file frame.c.
Referenced by add_symbol_file_command(), bsd_kvm_pcb_cmd(), bsd_kvm_proc_cmd(), bsd_kvm_target_open(), btrace_clear(), core_target_open(), core_target::detach(), exit_inferior(), fork_load_infrun_state(), frame_observer_target_changed(), frame_pop(), generic_mourn_inferior(), handle_inferior_event(), jit_reader_load_command(), jit_reader_unload_command(), pop_dummy_frame(), record_full_goto_entry(), record_full_wait_1(), regcache_write_pc(), registers_changed_ptid(), reinit_frame_cache_sfunc(), reinit_frame_cache_sfunc(), reload_shared_libraries(), program_space::remove_objfile(), reread_symbols(), set_current_program_space(), skip_inline_frames(), solib_add(), step_into_inline_frame(), switch_to_no_thread(), switch_to_thread(), symbol_file_add_from_memory(), symbol_file_add_main_1(), target_detach(), tfind_1(), and selftests::user_created_frame_callee().
|
externnoexcept |
Definition at line 1761 of file frame.c.
References frame_id_p(), selected_frame, selected_frame_id, selected_frame_level, and frame_id::user_created_p.
Referenced by print_frame_local_vars(), scoped_restore_current_thread::restore(), restore_infcall_control_state(), and scoped_restore_selected_frame::~scoped_restore_selected_frame().
|
extern |
Definition at line 2687 of file stack.c.
Referenced by mi_cmd_exec_return().
|
extern |
Definition at line 3017 of file frame.c.
References target_read_memory().
Referenced by amd64_linux_sigtramp_start(), amd64obsd_sigtramp_p(), arc_linux_is_sigtramp(), cris_rt_sigtramp_start(), cris_sigtramp_start(), hppa_frame_cache(), i386_gnu_sigtramp_start(), i386_linux_rt_sigtramp_start(), i386_linux_sigtramp_start(), i386obsd_sigtramp_p(), m32r_linux_rt_sigtramp_start(), m32r_linux_sigtramp_start(), m68k_linux_pc_in_sigtramp(), ppcfbsd_sigtramp_frame_cache(), ppcfbsd_sigtramp_frame_sniffer(), ppcobsd_sigtramp_frame_cache(), ppcobsd_sigtramp_frame_sniffer(), rs6000_in_function_epilogue_frame_p(), tilegx_analyze_prologue(), and tramp_frame_start().
|
externnoexcept |
Definition at line 1751 of file frame.c.
References selected_frame_id, and selected_frame_level.
Referenced by user_selected_context::has_changed(), save_infcall_control_state(), scoped_restore_current_thread::scoped_restore_current_thread(), scoped_restore_selected_frame::scoped_restore_selected_frame(), and user_selected_context::user_selected_context().
|
extern |
Definition at line 1927 of file frame.c.
References current_language, find_pc_compunit_symtab(), frame_relative_level(), get_frame_address_in_block_if_available(), get_frame_id(), language_defn::la_language, compunit_symtab::language(), language_mode_auto, language_unknown, null_frame_id, selected_frame, selected_frame_id, selected_frame_level, set_language(), frame_info::this_id, and frame_info::value.
Referenced by ada_find_printable_frame(), ada_unhandled_exception_name_addr_from_raise(), bpstat_check_breakpoint_conditions(), check_scope(), down_silently_base(), frame_apply_command_count(), frame_command_core(), frapy_select(), gdbscm_frame_select(), lookup_selected_frame(), mi_cmd_execute(), mi_cmd_stack_select_frame(), mi_cmd_trace_frame_collected(), normal_stop(), print_frame_local_vars(), ada_catchpoint::print_it(), select_frame_command_core(), tdump_command(), up_silently_base(), update_watchpoint(), value_assign(), varobj_create(), and watchpoint_check().
void set_current_sal_from_frame | ( | frame_info_ptr | frame | ) |
Definition at line 921 of file stack.c.
References find_frame_sal(), set_current_source_symtab_and_line(), and symtab_and_line::symtab.
Referenced by normal_stop(), remote_target::print_one_stopped_thread(), and print_stack_frame().
|
extern |
Definition at line 200 of file frame.c.
References frame_info::masked, and frame_info::prev_pc.
Referenced by aarch64_frame_unmask_lr(), arm_dwarf2_prev_register(), and arm_prologue_prev_register().
|
extern |
Definition at line 567 of file frame.c.
References get_frame_type(), get_prev_frame(), and TAILCALL_FRAME.
Referenced by frame_pop(), and skip_finish_frames().
|
extern |
Definition at line 552 of file frame.c.
References gdbarch_code_of_frame_writable(), get_frame_arch(), and get_prev_frame().
Referenced by skip_finish_frames().
const char * unwind_stop_reason_to_string | ( | enum | unwind_stop_reason | ) |
Definition at line 3178 of file frame.c.
Referenced by frame_stop_reason_string(), gdbpy_frame_stop_reason_string(), and gdbscm_unwind_stop_reason_string().
|
extern |
Definition at line 360 of file frame.c.
Referenced by value::fetch_lazy_register(), frame_debug_got_null_frame(), frame_unwind_register_value(), and get_prev_frame_always_1().
|
extern |
Definition at line 111 of file stack.c.
Referenced by read_frame_arg().
|
extern |
Definition at line 112 of file stack.c.
Referenced by print_frame_arg(), py_print_single_arg(), and read_frame_arg().
|
extern |
Definition at line 113 of file stack.c.
Referenced by read_frame_arg().
|
extern |
Definition at line 110 of file stack.c.
Referenced by read_frame_arg().
|
extern |
Definition at line 107 of file stack.c.
Referenced by enumerate_args(), list_arg_or_local(), list_args_or_locals(), print_frame_arg(), print_frame_args(), and read_frame_arg().
|
extern |
Definition at line 108 of file stack.c.
Referenced by enumerate_args(), list_arg_or_local(), list_args_or_locals(), print_frame_arg(), print_frame_args(), py_print_single_arg(), and read_frame_arg().
|
extern |
Definition at line 109 of file stack.c.
Referenced by read_frame_arg().
|
extern |
Definition at line 63 of file stack.c.
Referenced by backtrace_command_1().
|
extern |
Definition at line 65 of file stack.c.
Referenced by backtrace_command_1(), and print_frame_args().
|
extern |
Definition at line 64 of file stack.c.
Referenced by backtrace_command_1(), and print_frame_arg().
|
extern |
Definition at line 80 of file stack.c.
Referenced by print_frame_info().
|
extern |
Definition at line 3273 of file frame.c.
Referenced by make_backtrace_options_def_group(), and make_frame_apply_options_def_group().
|
extern |
Definition at line 127 of file stack.c.
Referenced by enumerate_args(), get_user_print_what_frame_info(), info_frame_command_core(), mi_cmd_stack_info_frame(), mi_cmd_stack_list_args(), mi_cmd_stack_list_frames(), mi_cmd_stack_list_locals(), mi_cmd_stack_list_variables(), and print_stack_frame().
|
extern |
Definition at line 72 of file frame.c.
Referenced by frame_apply_command_count(), and get_prev_frame().