GDB (xrefs)
|
#include "defs.h"
#include "record.h"
#include "record-btrace.h"
#include "gdbthread.h"
#include "target.h"
#include "gdbcmd.h"
#include "disasm.h"
#include "observable.h"
#include "cli/cli-utils.h"
#include "source.h"
#include "ui-out.h"
#include "symtab.h"
#include "filenames.h"
#include "regcache.h"
#include "frame-unwind.h"
#include "hashtab.h"
#include "infrun.h"
#include "gdbsupport/event-loop.h"
#include "inf-loop.h"
#include "inferior.h"
#include <algorithm>
#include "gdbarch.h"
#include "cli/cli-style.h"
#include "async-event.h"
#include <forward_list>
#include "objfiles.h"
#include "interps.h"
Go to the source code of this file.
Classes | |
class | record_btrace_target |
struct | scoped_btrace_disable |
struct | btrace_line_range |
struct | btrace_frame_cache |
Macros | |
#define | DEBUG(msg, args...) |
Enumerations | |
enum | record_btrace_cpu_state_kind { CS_AUTO , CS_NONE , CS_CPU } |
Functions | |
const struct btrace_cpu * | record_btrace_get_cpu (void) |
static struct thread_info * | require_btrace_thread (void) |
static struct btrace_thread_info * | require_btrace (void) |
static void | record_btrace_on_new_thread (struct thread_info *tp) |
static void | record_btrace_auto_enable (void) |
static void | record_btrace_auto_disable (void) |
static void | record_btrace_handle_async_inferior_event (gdb_client_data data) |
void | record_btrace_push_target (void) |
static void | record_btrace_target_open (const char *args, int from_tty) |
static const char * | record_btrace_adjust_size (unsigned int *size) |
static void | record_btrace_print_bts_conf (const struct btrace_config_bts *conf) |
static void | record_btrace_print_pt_conf (const struct btrace_config_pt *conf) |
static void | record_btrace_print_conf (const struct btrace_config *conf) |
static void | btrace_ui_out_decode_error (struct ui_out *uiout, int errcode, enum btrace_format format) |
static struct btrace_line_range | btrace_mk_line_range (struct symtab *symtab, int begin, int end) |
static struct btrace_line_range | btrace_line_range_add (struct btrace_line_range range, int line) |
static int | btrace_line_range_is_empty (struct btrace_line_range range) |
static int | btrace_line_range_contains_range (struct btrace_line_range lhs, struct btrace_line_range rhs) |
static struct btrace_line_range | btrace_find_line_range (CORE_ADDR pc) |
static void | btrace_print_lines (struct btrace_line_range lines, struct ui_out *uiout, gdb::optional< ui_out_emit_tuple > *src_and_asm_tuple, gdb::optional< ui_out_emit_list > *asm_list, gdb_disassembly_flags flags) |
static void | btrace_insn_history (struct ui_out *uiout, const struct btrace_thread_info *btinfo, const struct btrace_insn_iterator *begin, const struct btrace_insn_iterator *end, gdb_disassembly_flags flags) |
static void | btrace_call_history_insn_range (struct ui_out *uiout, const struct btrace_function *bfun) |
static void | btrace_compute_src_line_range (const struct btrace_function *bfun, int *pbegin, int *pend) |
static void | btrace_call_history_src_line (struct ui_out *uiout, const struct btrace_function *bfun) |
static const char * | btrace_get_bfun_name (const struct btrace_function *bfun) |
static void | btrace_call_history (struct ui_out *uiout, const struct btrace_thread_info *btinfo, const struct btrace_call_iterator *begin, const struct btrace_call_iterator *end, int int_flags) |
static hashval_t | bfcache_hash (const void *arg) |
static int | bfcache_eq (const void *arg1, const void *arg2) |
static struct btrace_frame_cache * | bfcache_new (frame_info_ptr frame) |
static const struct btrace_function * | btrace_get_frame_function (frame_info_ptr frame) |
static enum unwind_stop_reason | record_btrace_frame_unwind_stop_reason (frame_info_ptr this_frame, void **this_cache) |
static void | record_btrace_frame_this_id (frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id) |
static struct value * | record_btrace_frame_prev_register (frame_info_ptr this_frame, void **this_cache, int regnum) |
static int | record_btrace_frame_sniffer (const struct frame_unwind *self, frame_info_ptr this_frame, void **this_cache) |
static int | record_btrace_tailcall_frame_sniffer (const struct frame_unwind *self, frame_info_ptr this_frame, void **this_cache) |
static void | record_btrace_frame_dealloc_cache (frame_info *self, void *this_cache) |
static const char * | btrace_thread_flag_to_str (btrace_thread_flags flag) |
static void | record_btrace_resume_thread (struct thread_info *tp, enum btrace_thread_flag flag) |
static struct frame_id | get_thread_current_frame_id (struct thread_info *tp) |
static struct btrace_insn_iterator * | record_btrace_start_replaying (struct thread_info *tp) |
static void | record_btrace_stop_replaying (struct thread_info *tp) |
static void | record_btrace_stop_replaying_at_end (struct thread_info *tp) |
static void | record_btrace_cancel_resume (struct thread_info *tp) |
static struct target_waitstatus | btrace_step_no_history (void) |
static struct target_waitstatus | btrace_step_stopped (void) |
static struct target_waitstatus | btrace_step_stopped_on_request (void) |
static struct target_waitstatus | btrace_step_spurious (void) |
static struct target_waitstatus | btrace_step_no_resumed (void) |
static struct target_waitstatus | btrace_step_again (void) |
static void | record_btrace_clear_histories (struct btrace_thread_info *btinfo) |
static int | record_btrace_replay_at_breakpoint (struct thread_info *tp) |
static struct target_waitstatus | record_btrace_single_step_forward (struct thread_info *tp) |
static struct target_waitstatus | record_btrace_single_step_backward (struct thread_info *tp) |
static struct target_waitstatus | record_btrace_step_thread (struct thread_info *tp) |
static void | record_btrace_maybe_mark_async_event (const std::vector< thread_info * > &moving, const std::vector< thread_info * > &no_history) |
static void | record_btrace_set_replay (struct thread_info *tp, const struct btrace_insn_iterator *it) |
static void | cmd_record_btrace_bts_start (const char *args, int from_tty) |
static void | cmd_record_btrace_pt_start (const char *args, int from_tty) |
static void | cmd_record_btrace_start (const char *args, int from_tty) |
static void | cmd_show_replay_memory_access (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
static void | cmd_set_record_btrace_cpu_none (const char *args, int from_tty) |
static void | cmd_set_record_btrace_cpu_auto (const char *args, int from_tty) |
static void | cmd_set_record_btrace_cpu (const char *args, int from_tty) |
static void | cmd_show_record_btrace_cpu (const char *args, int from_tty) |
static void | show_record_bts_buffer_size_value (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
static void | show_record_pt_buffer_size_value (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
void | _initialize_record_btrace () |
#define DEBUG | ( | msg, | |
args... ) |
Definition at line 212 of file record-btrace.c.
Referenced by btrace_call_history(), btrace_insn_history(), record_btrace_target::call_history(), record_btrace_target::call_history_range(), record_btrace_target::info_record(), record_btrace_target::insn_history(), record_btrace_target::insn_history_range(), record_btrace_auto_disable(), record_btrace_auto_enable(), record_btrace_cancel_resume(), record_btrace_frame_prev_register(), record_btrace_frame_sniffer(), record_btrace_frame_this_id(), record_btrace_maybe_mark_async_event(), record_btrace_resume_thread(), record_btrace_step_thread(), record_btrace_tailcall_frame_sniffer(), record_btrace_target_open(), require_btrace_thread(), record_btrace_target::resume(), record_btrace_target::stop(), record_btrace_target::stop_recording(), and record_btrace_target::wait().
Enumerator | |
---|---|
CS_AUTO | |
CS_NONE | |
CS_CPU |
Definition at line 166 of file record-btrace.c.
void _initialize_record_btrace | ( | ) |
Definition at line 3098 of file record-btrace.c.
Referenced by initialize_all_files().
|
static |
Definition at line 1639 of file record-btrace.c.
References btrace_frame_cache::frame.
|
static |
Definition at line 1628 of file record-btrace.c.
References btrace_frame_cache::frame.
|
static |
Definition at line 1652 of file record-btrace.c.
References bfcache, btrace_frame_cache::frame, and FRAME_OBSTACK_ZALLOC.
Referenced by record_btrace_frame_sniffer(), and record_btrace_tailcall_frame_sniffer().
|
static |
Definition at line 1151 of file record-btrace.c.
References btrace_call_cmp(), btrace_call_get(), btrace_call_history_insn_range(), btrace_call_history_src_line(), btrace_call_next(), btrace_call_number(), btrace_conf(), btrace_ui_out_decode_error(), DEBUG, btrace_function::errcode, ui_out::field_string(), ui_out::field_unsigned(), flags, function_name_style, ui_out::is_mi_like_p(), btrace_function::level, btrace_thread_info::level, btrace_function::msym, btrace_function::number, general_symbol_info::print_name(), RECORD_PRINT_INDENT_CALLS, RECORD_PRINT_INSN_RANGE, RECORD_PRINT_SRC_LINE, cli_style_option::style(), btrace_function::sym, and ui_out::text().
Referenced by record_btrace_target::call_history(), and record_btrace_target::call_history_range().
|
static |
Definition at line 1040 of file record-btrace.c.
References ui_out::begin(), ui_out::end(), ui_out::field_unsigned(), btrace_function::insn, btrace_function::insn_offset, size, and ui_out::text().
Referenced by btrace_call_history().
|
static |
Definition at line 1098 of file record-btrace.c.
References btrace_compute_src_line_range(), ui_out::field_signed(), ui_out::field_string(), file_name_style, cli_style_option::style(), btrace_function::sym, symbol::symtab, symtab_to_filename_for_display(), and ui_out::text().
Referenced by btrace_call_history().
|
static |
Definition at line 1062 of file record-btrace.c.
References symtab_and_line::end, find_pc_line(), btrace_function::insn, symtab_and_line::line, btrace_function::sym, symbol::symtab, and symtab_and_line::symtab.
Referenced by btrace_call_history_src_line().
|
static |
Definition at line 706 of file record-btrace.c.
References btrace_line_range_add(), btrace_mk_line_range(), symtab::compunit(), find_pc_line_symtab(), linetable::item, symtab::linetable(), linetable::nitems, compunit_symtab::objfile(), range, btrace_line_range::symtab, and objfile::text_section_offset().
Referenced by btrace_insn_history().
|
static |
Definition at line 1129 of file record-btrace.c.
References btrace_function::msym, general_symbol_info::print_name(), and btrace_function::sym.
Referenced by record_btrace_frame_prev_register(), record_btrace_frame_sniffer(), record_btrace_frame_this_id(), and record_btrace_tailcall_frame_sniffer().
|
static |
Definition at line 1670 of file record-btrace.c.
References bfcache, btrace_frame_cache::bfun, and btrace_frame_cache::frame.
Referenced by record_btrace_frame_sniffer(), and record_btrace_tailcall_frame_sniffer().
|
static |
Definition at line 785 of file record-btrace.c.
References disasm_insn::addr, btrace_conf(), btrace_find_line_range(), btrace_insn_cmp(), BTRACE_INSN_FLAG_SPECULATIVE, btrace_insn_get(), btrace_insn_get_error(), btrace_insn_next(), btrace_insn_number(), btrace_line_range_contains_range(), btrace_line_range_is_empty(), btrace_mk_line_range(), btrace_print_lines(), btrace_ui_out_decode_error(), DEBUG, DISASSEMBLY_SOURCE, DISASSEMBLY_SPECULATIVE, ui_out::field_fmt(), btrace_insn::flags, flags, disasm_insn::is_speculative, disasm_insn::number, btrace_insn::pc, gdb_pretty_print_disassembler::pretty_print_insn(), target_gdbarch(), and ui_out::text().
Referenced by record_btrace_target::insn_history(), and record_btrace_target::insn_history_range().
|
static |
Definition at line 668 of file record-btrace.c.
References range.
Referenced by btrace_find_line_range().
|
static |
Definition at line 695 of file record-btrace.c.
References btrace_line_range::begin, btrace_line_range::end, and btrace_line_range::symtab.
Referenced by btrace_insn_history().
|
static |
Definition at line 687 of file record-btrace.c.
Referenced by btrace_insn_history().
|
static |
Definition at line 654 of file record-btrace.c.
References btrace_line_range::begin, btrace_line_range::end, range, and btrace_line_range::symtab.
Referenced by btrace_find_line_range(), and btrace_insn_history().
|
static |
Definition at line 760 of file record-btrace.c.
References btrace_line_range::begin, DISASSEMBLY_FILENAME, btrace_line_range::end, flags, print_source_lines(), PRINT_SOURCE_LINES_FILENAME, and btrace_line_range::symtab.
Referenced by btrace_insn_history().
|
static |
Definition at line 2284 of file record-btrace.c.
References target_waitstatus::set_ignore(), and status.
Referenced by record_btrace_step_thread().
|
static |
Definition at line 2223 of file record-btrace.c.
References target_waitstatus::set_no_history(), and status.
Referenced by record_btrace_single_step_backward(), record_btrace_single_step_forward(), record_btrace_step_thread(), and record_btrace_target::wait().
|
static |
Definition at line 2272 of file record-btrace.c.
References target_waitstatus::set_no_resumed(), and status.
Referenced by record_btrace_target::wait().
|
static |
Definition at line 2260 of file record-btrace.c.
References target_waitstatus::set_spurious(), and status.
Referenced by record_btrace_single_step_backward(), and record_btrace_single_step_forward().
|
static |
Definition at line 2235 of file record-btrace.c.
References target_waitstatus::set_stopped(), and status.
Referenced by record_btrace_single_step_backward(), record_btrace_single_step_forward(), and record_btrace_step_thread().
|
static |
Definition at line 2248 of file record-btrace.c.
References target_waitstatus::set_stopped(), and status.
Referenced by record_btrace_step_thread().
|
static |
Definition at line 1940 of file record-btrace.c.
References BTHR_CONT, BTHR_RCONT, BTHR_RSTEP, BTHR_STEP, and BTHR_STOP.
Referenced by record_btrace_cancel_resume(), record_btrace_resume_thread(), and record_btrace_step_thread().
|
static |
Definition at line 620 of file record-btrace.c.
References btrace_decode_error(), ui_out::field_signed(), and ui_out::text().
Referenced by btrace_call_history(), and btrace_insn_history().
|
static |
Definition at line 2889 of file record-btrace.c.
References execute_command(), and record_btrace_conf.
|
static |
Definition at line 2910 of file record-btrace.c.
References execute_command(), and record_btrace_conf.
|
static |
Definition at line 2931 of file record-btrace.c.
References execute_command(), and record_btrace_conf.
|
static |
Definition at line 2993 of file record-btrace.c.
References CS_CPU, record_btrace_cpu, and record_btrace_cpu_state.
|
static |
Definition at line 2982 of file record-btrace.c.
References CS_AUTO, and record_btrace_cpu_state.
|
static |
Definition at line 2971 of file record-btrace.c.
References CS_NONE, and record_btrace_cpu_state.
|
static |
Definition at line 3037 of file record-btrace.c.
References CS_AUTO, CS_CPU, CS_NONE, gdb_printf(), record_btrace_cpu, and record_btrace_cpu_state.
|
static |
Definition at line 2961 of file record-btrace.c.
References gdb_printf(), and replay_memory_access.
|
static |
Definition at line 1988 of file record-btrace.c.
References get_current_frame(), get_frame_id(), inferior_ptid, set_executing(), and switch_to_thread().
Referenced by record_btrace_start_replaying().
|
static |
Definition at line 474 of file record-btrace.c.
References size.
Referenced by record_btrace_print_bts_conf(), and record_btrace_print_pt_conf().
|
static |
Definition at line 319 of file record-btrace.c.
References DEBUG, gdb::observers::new_thread, and record_btrace_thread_observer_token.
Referenced by record_btrace_target::close(), and record_btrace_target::stop_recording().
|
static |
Definition at line 307 of file record-btrace.c.
References DEBUG, gdb::observers::new_thread, record_btrace_on_new_thread(), and record_btrace_thread_observer_token.
Referenced by record_btrace_push_target().
|
static |
Definition at line 2203 of file record-btrace.c.
References BTHR_MOVE, BTHR_STOP, btrace_thread_flag_to_str(), DEBUG, flags, print_thread_id(), thread_info::ptid, and record_btrace_stop_replaying_at_end().
Referenced by record_btrace_target::wait().
|
static |
Definition at line 2296 of file record-btrace.c.
References btrace_thread_info::call_history, btrace_thread_info::insn_history, and xfree().
Referenced by record_btrace_set_replay(), and record_btrace_target::wait().
|
static |
Definition at line 1878 of file record-btrace.c.
References bfcache.
|
static |
Definition at line 1738 of file record-btrace.c.
References btrace_frame_cache::bfun, BFUN_UP_LINKS_TO_RET, btrace_call_get(), btrace_find_call_by_number(), btrace_get_bfun_name(), DEBUG, btrace_function::flags, frame_unwind_got_address(), gdb_insn_length(), gdbarch_pc_regnum(), get_frame_arch(), btrace_function::insn, btrace_function::level, regnum, btrace_frame_cache::tp, and btrace_function::up.
|
static |
Definition at line 1783 of file record-btrace.c.
References bfcache_new(), btrace_frame_cache::bfun, BFUN_UP_LINKS_TO_TAILCALL, btrace_insn_iterator::btinfo, btrace_call_get(), btrace_find_call_by_number(), btrace_get_bfun_name(), btrace_get_frame_function(), btrace_insn_iterator::call_index, DEBUG, btrace_function::flags, btrace_thread_info::functions, get_next_frame(), inferior_thread(), btrace_function::level, btrace_frame_cache::tp, and btrace_function::up.
|
static |
Definition at line 1708 of file record-btrace.c.
References btrace_frame_cache::bfun, btrace_call_get(), btrace_find_call_by_number(), btrace_get_bfun_name(), code, frame_id::code_addr, DEBUG, frame_id_build_unavailable_stack_special(), get_frame_func(), btrace_function::number, btrace_function::prev, frame_id::special_addr, and btrace_frame_cache::tp.
|
static |
Definition at line 1689 of file record-btrace.c.
References btrace_frame_cache::bfun, and btrace_function::up.
const struct btrace_cpu * record_btrace_get_cpu | ( | void | ) |
Definition at line 225 of file record-btrace.c.
References CS_AUTO, CS_CPU, CS_NONE, record_btrace_cpu, and record_btrace_cpu_state.
Referenced by record_btrace_target::info_record(), record_btrace_resume_thread(), recpy_bt_begin(), recpy_bt_end(), recpy_bt_function_call_history(), recpy_bt_instruction_history(), and require_btrace_thread().
|
static |
Definition at line 329 of file record-btrace.c.
References INF_REG_EVENT, and inferior_event_handler().
Referenced by record_btrace_push_target().
|
static |
Definition at line 2496 of file record-btrace.c.
References DEBUG, mark_async_event_handler(), and record_btrace_async_inferior_event_handler.
Referenced by record_btrace_target::wait().
|
static |
Definition at line 287 of file record-btrace.c.
References btrace_enable(), thread_info::inf, record_btrace_conf, record_btrace_ops, record_stratum, and inferior::target_at().
Referenced by record_btrace_auto_enable().
|
static |
Definition at line 502 of file record-btrace.c.
References gdb_printf(), record_btrace_adjust_size(), and size.
Referenced by record_btrace_print_conf().
|
static |
Definition at line 534 of file record-btrace.c.
References gdb_printf(), record_btrace_print_bts_conf(), and record_btrace_print_pt_conf().
Referenced by record_btrace_target::info_record().
|
static |
Definition at line 518 of file record-btrace.c.
References gdb_printf(), record_btrace_adjust_size(), and size.
Referenced by record_btrace_print_conf().
void record_btrace_push_target | ( | void | ) |
Definition at line 337 of file record-btrace.c.
References create_async_event_handler(), current_inferior(), interps_notify_record_changed(), inferior::push_target(), record_btrace_async_inferior_event_handler, record_btrace_auto_enable(), record_btrace_conf, record_btrace_generating_corefile, record_btrace_handle_async_inferior_event(), and record_btrace_ops.
Referenced by record_btrace_target_open(), and remote_target::remote_btrace_maybe_reopen().
|
static |
Definition at line 2308 of file record-btrace.c.
References inferior::aspace, btrace_insn_get(), thread_info::inf, btrace_insn::pc, record_check_stopped_by_breakpoint(), btrace_thread_info::replay, and btrace_thread_info::stop_reason.
Referenced by record_btrace_single_step_backward(), and record_btrace_single_step_forward().
|
static |
Definition at line 1966 of file record-btrace.c.
References BTHR_MOVE, BTHR_STOP, btrace_fetch(), btrace_thread_flag_to_str(), DEBUG, btrace_thread_info::flags, print_thread_id(), thread_info::ptid, and record_btrace_get_cpu().
Referenced by record_btrace_target::resume().
|
static |
Definition at line 2762 of file record-btrace.c.
References btrace_insn_cmp(), get_current_regcache(), get_selected_frame(), inferior_thread(), print_stack_frame(), record_btrace_clear_histories(), record_btrace_start_replaying(), record_btrace_stop_replaying(), regcache_read_pc(), registers_changed_thread(), btrace_thread_info::replay, thread_info::set_stop_pc(), and SRC_AND_LOC.
Referenced by record_btrace_target::goto_record(), record_btrace_target::goto_record_begin(), and record_btrace_target::goto_record_end().
|
static |
Definition at line 2380 of file record-btrace.c.
References btrace_insn_get(), btrace_insn_prev(), btrace_step_no_history(), btrace_step_spurious(), btrace_step_stopped(), record_btrace_replay_at_breakpoint(), record_btrace_start_replaying(), and btrace_thread_info::replay.
Referenced by record_btrace_step_thread().
|
static |
Definition at line 2331 of file record-btrace.c.
References btrace_insn_cmp(), btrace_insn_end(), btrace_insn_get(), btrace_insn_next(), btrace_step_no_history(), btrace_step_spurious(), btrace_step_stopped(), record_btrace_replay_at_breakpoint(), and btrace_thread_info::replay.
Referenced by record_btrace_step_thread().
|
static |
Definition at line 2017 of file record-btrace.c.
References btrace_insn_end(), btrace_insn_get(), btrace_insn_prev(), thread_info::control, btrace_thread_info::functions, get_thread_current_frame_id(), registers_changed_thread(), btrace_thread_info::replay, and xfree().
Referenced by record_btrace_set_replay(), and record_btrace_single_step_backward().
|
static |
Definition at line 2427 of file record-btrace.c.
References BTHR_CONT, BTHR_MOVE, BTHR_RCONT, BTHR_RSTEP, BTHR_STEP, BTHR_STOP, btrace_is_empty(), btrace_step_again(), btrace_step_no_history(), btrace_step_stopped(), btrace_step_stopped_on_request(), btrace_thread_flag_to_str(), DEBUG, btrace_thread_info::flags, flags, print_thread_id(), record_btrace_single_step_backward(), record_btrace_single_step_forward(), status, TARGET_WAITKIND_NO_HISTORY, and TARGET_WAITKIND_SPURIOUS.
Referenced by record_btrace_target::wait().
|
static |
Definition at line 2093 of file record-btrace.c.
References registers_changed_thread(), btrace_thread_info::replay, and xfree().
Referenced by record_btrace_set_replay(), record_btrace_stop_replaying_at_end(), and record_btrace_target::record_stop_replaying().
|
static |
Definition at line 2109 of file record-btrace.c.
References btrace_insn_cmp(), btrace_insn_end(), record_btrace_stop_replaying(), and btrace_thread_info::replay.
Referenced by record_btrace_cancel_resume(), and record_btrace_target::wait().
|
static |
Definition at line 1838 of file record-btrace.c.
References bfcache_new(), btrace_frame_cache::bfun, BFUN_UP_LINKS_TO_TAILCALL, btrace_call_get(), btrace_find_call_by_number(), btrace_get_bfun_name(), btrace_get_frame_function(), DEBUG, btrace_function::flags, get_next_frame(), inferior_thread(), btrace_function::level, btrace_frame_cache::tp, and btrace_function::up.
|
static |
Definition at line 385 of file record-btrace.c.
References btrace_disable(), btrace_enable(), current_inferior(), DEBUG, inferior::non_exited_threads(), number_is_in_list(), record_btrace_conf, record_btrace_push_target(), record_preopen(), and target_has_execution().
|
static |
Definition at line 275 of file record-btrace.c.
References require_btrace_thread().
Referenced by record_btrace_target::call_history(), record_btrace_target::call_history_range(), record_btrace_target::insn_history(), and record_btrace_target::insn_history_range().
|
static |
Definition at line 249 of file record-btrace.c.
References btrace_fetch(), btrace_is_empty(), DEBUG, inferior_ptid, inferior_thread(), record_btrace_get_cpu(), and validate_registers_access().
Referenced by record_btrace_target::goto_record(), record_btrace_target::goto_record_begin(), record_btrace_target::goto_record_end(), and require_btrace().
|
static |
Definition at line 3075 of file record-btrace.c.
References gdb_printf().
|
static |
Definition at line 3086 of file record-btrace.c.
References gdb_printf().
|
static |
Definition at line 1623 of file record-btrace.c.
Referenced by bfcache_new(), btrace_get_frame_function(), and record_btrace_frame_dealloc_cache().
|
static |
Definition at line 187 of file record-btrace.c.
Referenced by record_btrace_target::async(), record_btrace_target::close(), record_btrace_maybe_mark_async_event(), record_btrace_push_target(), record_btrace_target::resume(), and record_btrace_target::wait().
|
static |
Definition at line 196 of file record-btrace.c.
|
static |
Definition at line 193 of file record-btrace.c.
Referenced by cmd_record_btrace_bts_start(), cmd_record_btrace_pt_start(), cmd_record_btrace_start(), record_btrace_on_new_thread(), record_btrace_push_target(), and record_btrace_target_open().
|
static |
Definition at line 177 of file record-btrace.c.
Referenced by cmd_set_record_btrace_cpu(), cmd_show_record_btrace_cpu(), and record_btrace_get_cpu().
|
static |
Definition at line 174 of file record-btrace.c.
Referenced by cmd_set_record_btrace_cpu(), cmd_set_record_btrace_cpu_auto(), cmd_set_record_btrace_cpu_none(), cmd_show_record_btrace_cpu(), and record_btrace_get_cpu().
const struct frame_unwind record_btrace_frame_unwind |
Definition at line 1897 of file record-btrace.c.
Referenced by dwarf2_frame_cfa(), and record_btrace_target::get_unwinder().
|
static |
Definition at line 190 of file record-btrace.c.
Referenced by record_btrace_target::done_generating_core(), record_btrace_target::fetch_registers(), record_btrace_target::prepare_to_generate_core(), record_btrace_target::prepare_to_store(), record_btrace_push_target(), record_btrace_target::store_registers(), and record_btrace_target::xfer_partial().
|
static |
Definition at line 144 of file record-btrace.c.
Referenced by record_btrace_on_new_thread(), and record_btrace_push_target().
|
static |
Definition at line 184 of file record-btrace.c.
Referenced by record_btrace_target::execution_direction(), and record_btrace_target::resume().
const struct frame_unwind record_btrace_tailcall_frame_unwind |
Definition at line 1909 of file record-btrace.c.
Referenced by dwarf2_frame_cfa(), and record_btrace_target::get_tailcall_unwinder().
|
static |
Definition at line 50 of file record-btrace.c.
Referenced by record_btrace_target::info().
|
static |
Definition at line 150 of file record-btrace.c.
Referenced by record_btrace_auto_disable(), and record_btrace_auto_enable().
|
static |
Definition at line 163 of file record-btrace.c.
Referenced by cmd_show_replay_memory_access(), record_btrace_target::insert_breakpoint(), record_btrace_target::remove_breakpoint(), and record_btrace_target::xfer_partial().
|
static |
Definition at line 153 of file record-btrace.c.
Referenced by record_btrace_target::xfer_partial().
|
static |
Definition at line 154 of file record-btrace.c.
Referenced by record_btrace_target::insert_breakpoint(), and record_btrace_target::remove_breakpoint().
|
static |
Definition at line 155 of file record-btrace.c.
|
static |
Definition at line 199 of file record-btrace.c.
|
static |
Definition at line 180 of file record-btrace.c.
|
static |
Definition at line 207 of file record-btrace.c.
|
static |
Definition at line 203 of file record-btrace.c.
|
static |
Definition at line 200 of file record-btrace.c.
|
static |
Definition at line 181 of file record-btrace.c.
|
static |
Definition at line 204 of file record-btrace.c.