GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/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 "exceptions.h"
#include "cli/cli-utils.h"
#include "source.h"
#include "ui-out.h"
#include "symtab.h"
#include "filenames.h"

Go to the source code of this file.

Defines

#define DEBUG(msg, args...)

Functions

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_open (char *args, int from_tty)
static void record_btrace_stop_recording (void)
static void record_btrace_close (void)
static void record_btrace_info (void)
static void ui_out_field_uint (struct ui_out *uiout, const char *fld, unsigned int val)
static void btrace_insn_history (struct btrace_thread_info *btinfo, struct ui_out *uiout, unsigned int begin, unsigned int end, int flags)
static void record_btrace_insn_history (int size, int flags)
static void record_btrace_insn_history_range (ULONGEST from, ULONGEST to, int flags)
static void record_btrace_insn_history_from (ULONGEST from, int size, int flags)
static void btrace_func_history_insn_range (struct ui_out *uiout, struct btrace_func *bfun)
static void btrace_func_history_src_line (struct ui_out *uiout, struct btrace_func *bfun)
static void btrace_func_history (struct btrace_thread_info *btinfo, struct ui_out *uiout, unsigned int begin, unsigned int end, enum record_print_flag flags)
static void record_btrace_call_history (int size, int flags)
static void record_btrace_call_history_range (ULONGEST from, ULONGEST to, int flags)
static void record_btrace_call_history_from (ULONGEST from, int size, int flags)
static void init_record_btrace_ops (void)
static void cmd_record_btrace_start (char *args, int from_tty)
void _initialize_record_btrace (void)

Variables

static struct target_ops record_btrace_ops
static struct observerrecord_btrace_thread_observer

Define Documentation

#define DEBUG (   msg,
  args... 
)

Function Documentation

void _initialize_record_btrace ( void  )
static void btrace_func_history ( struct btrace_thread_info btinfo,
struct ui_out uiout,
unsigned int  begin,
unsigned int  end,
enum record_print_flag  flags 
) [static]
static void btrace_func_history_insn_range ( struct ui_out uiout,
struct btrace_func bfun 
) [static]
static void btrace_func_history_src_line ( struct ui_out uiout,
struct btrace_func bfun 
) [static]
static void btrace_insn_history ( struct btrace_thread_info btinfo,
struct ui_out uiout,
unsigned int  begin,
unsigned int  end,
int  flags 
) [static]
static void cmd_record_btrace_start ( char *  args,
int  from_tty 
) [static]

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

References _, error(), and execute_command().

static void init_record_btrace_ops ( void  ) [static]
static void record_btrace_auto_disable ( void  ) [static]

Definition at line 123 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 112 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 ( int  size,
int  flags 
) [static]
static void record_btrace_call_history_from ( ULONGEST  from,
int  size,
int  flags 
) [static]

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

References from, record_btrace_call_history_range(), and ULONGEST.

Referenced by init_record_btrace_ops().

static void record_btrace_call_history_range ( ULONGEST  from,
ULONGEST  to,
int  flags 
) [static]
static void record_btrace_close ( void  ) [static]

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

References record_btrace_auto_disable().

Referenced by init_record_btrace_ops().

static void record_btrace_disable_callback ( void *  arg) [static]

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

References btrace_disable().

Referenced by record_btrace_open().

static void record_btrace_enable_warn ( struct thread_info tp) [static]
static void record_btrace_info ( void  ) [static]
static void record_btrace_insn_history ( int  size,
int  flags 
) [static]
static void record_btrace_insn_history_from ( ULONGEST  from,
int  size,
int  flags 
) [static]

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

References from, record_btrace_insn_history_range(), and ULONGEST.

Referenced by init_record_btrace_ops().

static void record_btrace_insn_history_range ( ULONGEST  from,
ULONGEST  to,
int  flags 
) [static]
static void record_btrace_open ( char *  args,
int  from_tty 
) [static]
static void record_btrace_stop_recording ( void  ) [static]
static struct btrace_thread_info* require_btrace ( void  ) [static, read]
static void ui_out_field_uint ( struct ui_out uiout,
const char *  fld,
unsigned int  val 
) [static]

Variable Documentation

struct target_ops record_btrace_ops [static]

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

Referenced by init_record_btrace_ops(), and record_btrace_open().

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines