GDB (xrefs)
Classes | Macros | Functions | Variables
/tmp/gdb-7.10/gdb/record-btrace.c File Reference
#include "defs.h"
#include "record.h"
#include "gdbthread.h"
#include "target.h"
#include "gdbcmd.h"
#include "disasm.h"
#include "observer.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 "event-loop.h"
#include "inf-loop.h"

Go to the source code of this file.

Classes

struct  btrace_frame_cache
 

Macros

#define DEBUG(msg, args...)
 

Functions

static struct thread_inforequire_btrace_thread (void)
 
static struct btrace_thread_inforequire_btrace (void)
 
static void record_btrace_enable_warn (struct thread_info *tp)
 
static void record_btrace_disable_callback (void *arg)
 
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)
 
static void record_btrace_open (const char *args, int from_tty)
 
static void record_btrace_stop_recording (struct target_ops *self)
 
static void record_btrace_close (struct target_ops *self)
 
static void record_btrace_async (struct target_ops *ops, int enable)
 
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 record_btrace_info (struct target_ops *self)
 
static void btrace_ui_out_decode_error (struct ui_out *uiout, int errcode, enum btrace_format format)
 
static void ui_out_field_uint (struct ui_out *uiout, const char *fld, unsigned int val)
 
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, int flags)
 
static void record_btrace_insn_history (struct target_ops *self, int size, int flags)
 
static void record_btrace_insn_history_range (struct target_ops *self, ULONGEST from, ULONGEST to, int flags)
 
static void record_btrace_insn_history_from (struct target_ops *self, ULONGEST from, int size, int 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, enum record_print_flag flags)
 
static void record_btrace_call_history (struct target_ops *self, int size, int flags)
 
static void record_btrace_call_history_range (struct target_ops *self, ULONGEST from, ULONGEST to, int flags)
 
static void record_btrace_call_history_from (struct target_ops *self, ULONGEST from, int size, int flags)
 
static int record_btrace_is_replaying (struct target_ops *self)
 
static enum target_xfer_status record_btrace_xfer_partial (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len)
 
static int record_btrace_insert_breakpoint (struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
 
static int record_btrace_remove_breakpoint (struct target_ops *ops, struct gdbarch *gdbarch, struct bp_target_info *bp_tgt)
 
static void record_btrace_fetch_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
static void record_btrace_store_registers (struct target_ops *ops, struct regcache *regcache, int regno)
 
static void record_btrace_prepare_to_store (struct target_ops *ops, struct regcache *regcache)
 
static hashval_t bfcache_hash (const void *arg)
 
static int bfcache_eq (const void *arg1, const void *arg2)
 
static struct btrace_frame_cachebfcache_new (struct frame_info *frame)
 
static const struct btrace_functionbtrace_get_frame_function (struct frame_info *frame)
 
static enum unwind_stop_reason record_btrace_frame_unwind_stop_reason (struct frame_info *this_frame, void **this_cache)
 
static void record_btrace_frame_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
 
static struct valuerecord_btrace_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum)
 
static int record_btrace_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
 
static int record_btrace_tailcall_frame_sniffer (const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
 
static void record_btrace_frame_dealloc_cache (struct frame_info *self, void *this_cache)
 
static const struct frame_unwindrecord_btrace_to_get_unwinder (struct target_ops *self)
 
static const struct frame_unwindrecord_btrace_to_get_tailcall_unwinder (struct target_ops *self)
 
static void record_btrace_resume_thread (struct thread_info *tp, enum btrace_thread_flag flag)
 
static struct thread_inforecord_btrace_find_resume_thread (ptid_t ptid)
 
static struct btrace_insn_iteratorrecord_btrace_start_replaying (struct thread_info *tp)
 
static void record_btrace_stop_replaying (struct thread_info *tp)
 
static void record_btrace_resume (struct target_ops *ops, ptid_t ptid, int step, enum gdb_signal signal)
 
static struct thread_inforecord_btrace_find_thread_to_move (ptid_t ptid)
 
static struct target_waitstatus btrace_step_no_history (void)
 
static struct target_waitstatus btrace_step_stopped (void)
 
static void record_btrace_clear_histories (struct btrace_thread_info *btinfo)
 
static struct target_waitstatus record_btrace_step_thread (struct thread_info *tp)
 
static ptid_t record_btrace_wait (struct target_ops *ops, ptid_t ptid, struct target_waitstatus *status, int options)
 
static int record_btrace_can_execute_reverse (struct target_ops *self)
 
static int record_btrace_stopped_by_sw_breakpoint (struct target_ops *ops)
 
static int record_btrace_supports_stopped_by_sw_breakpoint (struct target_ops *ops)
 
static int record_btrace_stopped_by_hw_breakpoint (struct target_ops *ops)
 
static int record_btrace_supports_stopped_by_hw_breakpoint (struct target_ops *ops)
 
static void record_btrace_update_thread_list (struct target_ops *ops)
 
static int record_btrace_thread_alive (struct target_ops *ops, ptid_t ptid)
 
static void record_btrace_set_replay (struct thread_info *tp, const struct btrace_insn_iterator *it)
 
static void record_btrace_goto_begin (struct target_ops *self)
 
static void record_btrace_goto_end (struct target_ops *ops)
 
static void record_btrace_goto (struct target_ops *self, ULONGEST insn)
 
static enum exec_direction_kind record_btrace_execution_direction (struct target_ops *self)
 
static void record_btrace_prepare_to_generate_core (struct target_ops *self)
 
static void record_btrace_done_generating_core (struct target_ops *self)
 
static void init_record_btrace_ops (void)
 
static void cmd_record_btrace_bts_start (char *args, int from_tty)
 
static void cmd_record_btrace_pt_start (char *args, int from_tty)
 
static void cmd_record_btrace_start (char *args, int from_tty)
 
static void cmd_set_record_btrace (char *args, int from_tty)
 
static void cmd_show_record_btrace (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_bts (char *args, int from_tty)
 
static void cmd_show_record_btrace_bts (char *args, int from_tty)
 
static void cmd_set_record_btrace_pt (char *args, int from_tty)
 
static void cmd_show_record_btrace_pt (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 (void)
 

Variables

static struct target_ops record_btrace_ops
 
static struct observerrecord_btrace_thread_observer
 
static const char replay_memory_access_read_only [] = "read-only"
 
static const char replay_memory_access_read_write [] = "read-write"
 
static const char *const replay_memory_access_types []
 
static const char * replay_memory_access = replay_memory_access_read_only
 
static struct cmd_list_elementset_record_btrace_cmdlist
 
static struct cmd_list_elementshow_record_btrace_cmdlist
 
static enum exec_direction_kind record_btrace_resume_exec_dir = EXEC_FORWARD
 
static struct async_event_handlerrecord_btrace_async_inferior_event_handler
 
static int record_btrace_generating_corefile
 
static struct btrace_config record_btrace_conf
 
static struct cmd_list_elementrecord_btrace_cmdlist
 
static struct cmd_list_elementset_record_btrace_bts_cmdlist
 
static struct cmd_list_elementshow_record_btrace_bts_cmdlist
 
static struct cmd_list_elementset_record_btrace_pt_cmdlist
 
static struct cmd_list_elementshow_record_btrace_pt_cmdlist
 
static htab_t bfcache
 
const struct frame_unwind record_btrace_frame_unwind
 
const struct frame_unwind record_btrace_tailcall_frame_unwind
 

Macro Definition Documentation

#define DEBUG (   msg,
  args... 
)

Function Documentation

void _initialize_record_btrace ( void  )
static int bfcache_eq ( const void *  arg1,
const void *  arg2 
)
static

Definition at line 1352 of file record-btrace.c.

References btrace_frame_cache::frame.

Referenced by _initialize_record_btrace().

static hashval_t bfcache_hash ( const void *  arg)
static

Definition at line 1342 of file record-btrace.c.

References btrace_frame_cache::frame.

Referenced by _initialize_record_btrace().

static struct btrace_frame_cache* bfcache_new ( struct frame_info frame)
static
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,
enum record_print_flag  flags 
)
static
static void btrace_call_history_insn_range ( struct ui_out uiout,
const struct btrace_function bfun 
)
static
static void btrace_call_history_src_line ( struct ui_out uiout,
const struct btrace_function bfun 
)
static
static void btrace_compute_src_line_range ( const struct btrace_function bfun,
int pbegin,
int pend 
)
static
static const char* btrace_get_bfun_name ( const struct btrace_function bfun)
static
static const struct btrace_function* btrace_get_frame_function ( struct frame_info frame)
static
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,
int  flags 
)
static
static struct target_waitstatus btrace_step_no_history ( void  )
static

Definition at line 1868 of file record-btrace.c.

References target_waitstatus::kind, status, and TARGET_WAITKIND_NO_HISTORY.

Referenced by record_btrace_step_thread().

static struct target_waitstatus btrace_step_stopped ( void  )
static
static void btrace_ui_out_decode_error ( struct ui_out uiout,
int  errcode,
enum btrace_format  format 
)
static
static void cmd_record_btrace_bts_start ( char *  args,
int  from_tty 
)
static
static void cmd_record_btrace_pt_start ( char *  args,
int  from_tty 
)
static
static void cmd_record_btrace_start ( char *  args,
int  from_tty 
)
static
static void cmd_set_record_btrace ( char *  args,
int  from_tty 
)
static

Definition at line 2430 of file record-btrace.c.

References cmd_show_list().

Referenced by _initialize_record_btrace().

static void cmd_set_record_btrace_bts ( char *  args,
int  from_tty 
)
static

Definition at line 2456 of file record-btrace.c.

References _, all_commands, gdb_stdout, help_list(), and printf_unfiltered().

Referenced by _initialize_record_btrace().

static void cmd_set_record_btrace_pt ( char *  args,
int  from_tty 
)
static

Definition at line 2475 of file record-btrace.c.

References _, all_commands, gdb_stdout, help_list(), and printf_unfiltered().

Referenced by _initialize_record_btrace().

static void cmd_show_record_btrace ( char *  args,
int  from_tty 
)
static

Definition at line 2438 of file record-btrace.c.

References cmd_show_list().

Referenced by _initialize_record_btrace().

static void cmd_show_record_btrace_bts ( char *  args,
int  from_tty 
)
static

Definition at line 2467 of file record-btrace.c.

References cmd_show_list().

Referenced by _initialize_record_btrace().

static void cmd_show_record_btrace_pt ( char *  args,
int  from_tty 
)
static

Definition at line 2486 of file record-btrace.c.

References cmd_show_list().

Referenced by _initialize_record_btrace().

static void cmd_show_replay_memory_access ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 2446 of file record-btrace.c.

References _, fprintf_filtered(), gdb_stdout, and replay_memory_access.

Referenced by _initialize_record_btrace().

static void init_record_btrace_ops ( void  )
static

Definition at line 2298 of file record-btrace.c.

References OPS_MAGIC, record_btrace_async(), record_btrace_call_history(), record_btrace_call_history_from(), record_btrace_call_history_range(), record_btrace_can_execute_reverse(), record_btrace_close(), record_btrace_done_generating_core(), record_btrace_execution_direction(), record_btrace_fetch_registers(), record_btrace_goto(), record_btrace_goto_begin(), record_btrace_goto_end(), record_btrace_info(), record_btrace_insert_breakpoint(), record_btrace_insn_history(), record_btrace_insn_history_from(), record_btrace_insn_history_range(), record_btrace_is_replaying(), record_btrace_open(), record_btrace_ops, record_btrace_prepare_to_generate_core(), record_btrace_prepare_to_store(), record_btrace_remove_breakpoint(), record_btrace_resume(), record_btrace_stop_recording(), record_btrace_stopped_by_hw_breakpoint(), record_btrace_stopped_by_sw_breakpoint(), record_btrace_store_registers(), record_btrace_supports_stopped_by_hw_breakpoint(), record_btrace_supports_stopped_by_sw_breakpoint(), record_btrace_thread_alive(), record_btrace_to_get_tailcall_unwinder(), record_btrace_to_get_unwinder(), record_btrace_update_thread_list(), record_btrace_wait(), record_btrace_xfer_partial(), record_detach(), record_disconnect(), record_kill(), record_mourn_inferior(), record_stratum, target_ops::to_async, target_ops::to_call_history, target_ops::to_call_history_from, target_ops::to_call_history_range, target_ops::to_can_execute_reverse, target_ops::to_close, target_ops::to_detach, target_ops::to_disconnect, target_ops::to_doc, target_ops::to_done_generating_core, target_ops::to_execution_direction, target_ops::to_fetch_registers, target_ops::to_get_tailcall_unwinder, target_ops::to_get_unwinder, target_ops::to_goto_record, target_ops::to_goto_record_begin, target_ops::to_goto_record_end, target_ops::to_info_record, target_ops::to_insert_breakpoint, target_ops::to_insn_history, target_ops::to_insn_history_from, target_ops::to_insn_history_range, target_ops::to_kill, target_ops::to_longname, target_ops::to_magic, target_ops::to_mourn_inferior, target_ops::to_open, target_ops::to_prepare_to_generate_core, target_ops::to_prepare_to_store, target_ops::to_record_is_replaying, target_ops::to_remove_breakpoint, target_ops::to_resume, target_ops::to_shortname, target_ops::to_stop_recording, target_ops::to_stopped_by_hw_breakpoint, target_ops::to_stopped_by_sw_breakpoint, target_ops::to_store_registers, target_ops::to_stratum, target_ops::to_supports_stopped_by_hw_breakpoint, target_ops::to_supports_stopped_by_sw_breakpoint, target_ops::to_thread_alive, target_ops::to_update_thread_list, target_ops::to_wait, and target_ops::to_xfer_partial.

Referenced by _initialize_record_btrace().

static const char* record_btrace_adjust_size ( unsigned int size)
static

Definition at line 298 of file record-btrace.c.

References size.

Referenced by record_btrace_print_bts_conf(), and record_btrace_print_pt_conf().

static void record_btrace_async ( struct target_ops ops,
int  enable 
)
static
static void record_btrace_auto_disable ( void  )
static

Definition at line 183 of file record-btrace.c.

References DEBUG, and observer_detach_new_thread().

Referenced by record_btrace_close(), and record_btrace_stop_recording().

static void record_btrace_auto_enable ( void  )
static

Definition at line 172 of file record-btrace.c.

References DEBUG, observer_attach_new_thread(), and record_btrace_enable_warn().

Referenced by record_btrace_open().

static void record_btrace_call_history ( struct target_ops self,
int  size,
int  flags 
)
static
static void record_btrace_call_history_from ( struct target_ops self,
ULONGEST  from,
int  size,
int  flags 
)
static

Definition at line 1086 of file record-btrace.c.

References _, error(), from, record_btrace_call_history_range(), and ULONGEST_MAX.

Referenced by init_record_btrace_ops().

static void record_btrace_call_history_range ( struct target_ops self,
ULONGEST  from,
ULONGEST  to,
int  flags 
)
static
static int record_btrace_can_execute_reverse ( struct target_ops self)
static

Definition at line 2102 of file record-btrace.c.

Referenced by init_record_btrace_ops().

static void record_btrace_clear_histories ( struct btrace_thread_info btinfo)
static
static void record_btrace_close ( struct target_ops self)
static
static void record_btrace_disable_callback ( void *  arg)
static

Definition at line 160 of file record-btrace.c.

References btrace_disable().

Referenced by record_btrace_open().

static void record_btrace_done_generating_core ( struct target_ops self)
static

Definition at line 2290 of file record-btrace.c.

References record_btrace_generating_corefile.

Referenced by init_record_btrace_ops().

static void record_btrace_enable_warn ( struct thread_info tp)
static
static enum exec_direction_kind record_btrace_execution_direction ( struct target_ops self)
static

Definition at line 2274 of file record-btrace.c.

References record_btrace_resume_exec_dir.

Referenced by init_record_btrace_ops().

static void record_btrace_fetch_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static
static struct thread_info* record_btrace_find_resume_thread ( ptid_t  ptid)
static
static struct thread_info* record_btrace_find_thread_to_move ( ptid_t  ptid)
static
static void record_btrace_frame_dealloc_cache ( struct frame_info self,
void *  this_cache 
)
static

Definition at line 1584 of file record-btrace.c.

References bfcache, and gdb_assert.

static struct value* record_btrace_frame_prev_register ( struct frame_info this_frame,
void **  this_cache,
int  regnum 
)
static
static int record_btrace_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_cache 
)
static
static void record_btrace_frame_this_id ( struct frame_info this_frame,
void **  this_cache,
struct frame_id this_id 
)
static
static enum unwind_stop_reason record_btrace_frame_unwind_stop_reason ( struct frame_info this_frame,
void **  this_cache 
)
static

Definition at line 1401 of file record-btrace.c.

References btrace_frame_cache::bfun, gdb_assert, and btrace_function::up.

static void record_btrace_goto ( struct target_ops self,
ULONGEST  insn 
)
static
static void record_btrace_goto_begin ( struct target_ops self)
static
static void record_btrace_goto_end ( struct target_ops ops)
static

Definition at line 2237 of file record-btrace.c.

References record_btrace_set_replay(), and require_btrace_thread().

Referenced by init_record_btrace_ops().

static void record_btrace_handle_async_inferior_event ( gdb_client_data  data)
static

Definition at line 198 of file record-btrace.c.

References INF_REG_EVENT, and inferior_event_handler().

Referenced by record_btrace_open().

static void record_btrace_info ( struct target_ops self)
static
static int record_btrace_insert_breakpoint ( struct target_ops ops,
struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)
static
static void record_btrace_insn_history ( struct target_ops self,
int  size,
int  flags 
)
static
static void record_btrace_insn_history_from ( struct target_ops self,
ULONGEST  from,
int  size,
int  flags 
)
static

Definition at line 724 of file record-btrace.c.

References _, error(), from, record_btrace_insn_history_range(), and ULONGEST_MAX.

Referenced by init_record_btrace_ops().

static void record_btrace_insn_history_range ( struct target_ops self,
ULONGEST  from,
ULONGEST  to,
int  flags 
)
static
static int record_btrace_is_replaying ( struct target_ops self)
static
static void record_btrace_open ( const char *  args,
int  from_tty 
)
static
static void record_btrace_prepare_to_generate_core ( struct target_ops self)
static

Definition at line 2282 of file record-btrace.c.

References record_btrace_generating_corefile.

Referenced by init_record_btrace_ops().

static void record_btrace_prepare_to_store ( struct target_ops ops,
struct regcache regcache 
)
static
static void record_btrace_print_bts_conf ( const struct btrace_config_bts conf)
static
static void record_btrace_print_conf ( const struct btrace_config conf)
static
static void record_btrace_print_pt_conf ( const struct btrace_config_pt conf)
static
static int record_btrace_remove_breakpoint ( struct target_ops ops,
struct gdbarch gdbarch,
struct bp_target_info bp_tgt 
)
static
static void record_btrace_resume ( struct target_ops ops,
ptid_t  ptid,
int  step,
enum gdb_signal  signal 
)
static
static void record_btrace_resume_thread ( struct thread_info tp,
enum btrace_thread_flag  flag 
)
static
static void record_btrace_set_replay ( struct thread_info tp,
const struct btrace_insn_iterator it 
)
static
static struct btrace_insn_iterator* record_btrace_start_replaying ( struct thread_info tp)
static
static struct target_waitstatus record_btrace_step_thread ( struct thread_info tp)
static
static void record_btrace_stop_recording ( struct target_ops self)
static
static void record_btrace_stop_replaying ( struct thread_info tp)
static
static int record_btrace_stopped_by_hw_breakpoint ( struct target_ops ops)
static
static int record_btrace_stopped_by_sw_breakpoint ( struct target_ops ops)
static
static void record_btrace_store_registers ( struct target_ops ops,
struct regcache regcache,
int  regno 
)
static
static int record_btrace_supports_stopped_by_hw_breakpoint ( struct target_ops ops)
static
static int record_btrace_supports_stopped_by_sw_breakpoint ( struct target_ops ops)
static
static int record_btrace_tailcall_frame_sniffer ( const struct frame_unwind self,
struct frame_info this_frame,
void **  this_cache 
)
static
static int record_btrace_thread_alive ( struct target_ops ops,
ptid_t  ptid 
)
static
static const struct frame_unwind* record_btrace_to_get_tailcall_unwinder ( struct target_ops self)
static

Definition at line 1636 of file record-btrace.c.

References record_btrace_tailcall_frame_unwind.

Referenced by init_record_btrace_ops().

static const struct frame_unwind* record_btrace_to_get_unwinder ( struct target_ops self)
static

Definition at line 1628 of file record-btrace.c.

References record_btrace_frame_unwind.

Referenced by init_record_btrace_ops().

static void record_btrace_update_thread_list ( struct target_ops ops)
static
static ptid_t record_btrace_wait ( struct target_ops ops,
ptid_t  ptid,
struct target_waitstatus status,
int  options 
)
static
static enum target_xfer_status record_btrace_xfer_partial ( struct target_ops ops,
enum target_object  object,
const char *  annex,
gdb_byte readbuf,
const gdb_byte writebuf,
ULONGEST  offset,
ULONGEST  len,
ULONGEST xfered_len 
)
static
static struct btrace_thread_info* require_btrace ( void  )
static
static struct thread_info* require_btrace_thread ( void  )
static
static void show_record_bts_buffer_size_value ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 2494 of file record-btrace.c.

References _, and fprintf_filtered().

Referenced by _initialize_record_btrace().

static void show_record_pt_buffer_size_value ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 2505 of file record-btrace.c.

References _, and fprintf_filtered().

Referenced by _initialize_record_btrace().

static void ui_out_field_uint ( struct ui_out uiout,
const char *  fld,
unsigned int  val 
)
static

Variable Documentation

htab_t bfcache
static
struct async_event_handler* record_btrace_async_inferior_event_handler
static

Definition at line 68 of file record-btrace.c.

struct cmd_list_element* record_btrace_cmdlist
static

Definition at line 77 of file record-btrace.c.

struct btrace_config record_btrace_conf
static
const struct frame_unwind record_btrace_frame_unwind
Initial value:
=
{
NULL,
}
static void record_btrace_frame_this_id(struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
static int record_btrace_frame_sniffer(const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
static enum unwind_stop_reason record_btrace_frame_unwind_stop_reason(struct frame_info *this_frame, void **this_cache)
static struct value * record_btrace_frame_prev_register(struct frame_info *this_frame, void **this_cache, int regnum)
static void record_btrace_frame_dealloc_cache(struct frame_info *self, void *this_cache)

Definition at line 1603 of file record-btrace.c.

Referenced by dwarf2_frame_cfa(), and record_btrace_to_get_unwinder().

int record_btrace_generating_corefile
static
struct target_ops record_btrace_ops
static
enum exec_direction_kind record_btrace_resume_exec_dir = EXEC_FORWARD
static

Definition at line 65 of file record-btrace.c.

Referenced by record_btrace_execution_direction(), and record_btrace_resume().

const struct frame_unwind record_btrace_tailcall_frame_unwind
Initial value:
=
{
NULL,
}
static void record_btrace_frame_this_id(struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
static int record_btrace_tailcall_frame_sniffer(const struct frame_unwind *self, struct frame_info *this_frame, void **this_cache)
static enum unwind_stop_reason record_btrace_frame_unwind_stop_reason(struct frame_info *this_frame, void **this_cache)
static struct value * record_btrace_frame_prev_register(struct frame_info *this_frame, void **this_cache, int regnum)
static void record_btrace_frame_dealloc_cache(struct frame_info *self, void *this_cache)

Definition at line 1614 of file record-btrace.c.

Referenced by dwarf2_frame_cfa(), and record_btrace_to_get_tailcall_unwinder().

struct observer* record_btrace_thread_observer
static

Definition at line 45 of file record-btrace.c.

const char* replay_memory_access = replay_memory_access_read_only
static
const char replay_memory_access_read_only[] = "read-only"
static

Definition at line 48 of file record-btrace.c.

Referenced by record_btrace_xfer_partial().

const char replay_memory_access_read_write[] = "read-write"
static
const char* const replay_memory_access_types[]
static
Initial value:
=
{
NULL
}
static const char replay_memory_access_read_only[]
Definition: record-btrace.c:48
static const char replay_memory_access_read_write[]
Definition: record-btrace.c:49

Definition at line 50 of file record-btrace.c.

Referenced by _initialize_record_btrace().

struct cmd_list_element* set_record_btrace_bts_cmdlist
static

Definition at line 80 of file record-btrace.c.

struct cmd_list_element* set_record_btrace_cmdlist
static

Definition at line 61 of file record-btrace.c.

struct cmd_list_element* set_record_btrace_pt_cmdlist
static

Definition at line 84 of file record-btrace.c.

struct cmd_list_element* show_record_btrace_bts_cmdlist
static

Definition at line 81 of file record-btrace.c.

struct cmd_list_element* show_record_btrace_cmdlist
static

Definition at line 62 of file record-btrace.c.

struct cmd_list_element* show_record_btrace_pt_cmdlist
static

Definition at line 85 of file record-btrace.c.