GDBserver
Classes | Macros | Functions | Variables
tracepoint.h File Reference

Go to the source code of this file.

Classes

struct  fast_tpoint_collect_status
 

Macros

#define IPA_BUFSIZ   100
 
#define ATTR_USED
 
#define ATTR_NOINLINE
 
#define EXPORTED_SYMBOL
 
#define IP_AGENT_EXPORT_FUNC
 
#define IP_AGENT_EXPORT_VAR
 
#define IP_AGENT_EXPORT_VAR_DECL   extern
 

Functions

void initialize_tracepoint (void)
 
void tracepoint_look_up_symbols (void)
 
void stop_tracing (void)
 
int handle_tracepoint_general_set (char *own_buf)
 
int handle_tracepoint_query (char *own_buf)
 
int tracepoint_finished_step (struct thread_info *tinfo, CORE_ADDR stop_pc)
 
int tracepoint_was_hit (struct thread_info *tinfo, CORE_ADDR stop_pc)
 
void release_while_stepping_state_list (struct thread_info *tinfo)
 
int in_readonly_region (CORE_ADDR addr, ULONGEST length)
 
int traceframe_read_mem (int tfnum, CORE_ADDR addr, unsigned char *buf, ULONGEST length, ULONGEST *nbytes)
 
int fetch_traceframe_registers (int tfnum, struct regcache *regcache, int regnum)
 
int traceframe_read_sdata (int tfnum, ULONGEST offset, unsigned char *buf, ULONGEST length, ULONGEST *nbytes)
 
int traceframe_read_info (int tfnum, struct buffer *buffer)
 
int fast_tracepoint_collecting (CORE_ADDR thread_area, CORE_ADDR stop_pc, struct fast_tpoint_collect_status *status)
 
void force_unlock_trace_buffer (void)
 
int handle_tracepoint_bkpts (struct thread_info *tinfo, CORE_ADDR stop_pc)
 
int claim_trampoline_space (ULONGEST used, CORE_ADDR *trampoline)
 
int have_fast_tracepoint_trampoline_buffer (char *msgbuf)
 
void gdb_agent_about_to_close (int pid)
 
int agent_mem_read (struct eval_agent_expr_context *ctx, unsigned char *to, CORE_ADDR from, ULONGEST len)
 
LONGEST agent_get_trace_state_variable_value (int num)
 
void agent_set_trace_state_variable_value (int num, LONGEST val)
 
int agent_tsv_read (struct eval_agent_expr_context *ctx, int n)
 
int agent_mem_read_string (struct eval_agent_expr_context *ctx, unsigned char *to, CORE_ADDR from, ULONGEST len)
 
IP_AGENT_EXPORT_FUNC ULONGEST gdb_agent_get_raw_reg (const unsigned char *raw_regs, int regnum)
 
CORE_ADDR get_raw_reg_func_addr (void)
 
CORE_ADDR get_get_tsv_func_addr (void)
 
CORE_ADDR get_set_tsv_func_addr (void)
 

Variables

IP_AGENT_EXPORT_VAR_DECL int tracing
 
int disconnected_tracing
 
int current_traceframe
 

Macro Definition Documentation

#define ATTR_NOINLINE

Definition at line 33 of file tracepoint.h.

#define ATTR_USED

Definition at line 32 of file tracepoint.h.

#define EXPORTED_SYMBOL

Definition at line 44 of file tracepoint.h.

#define IP_AGENT_EXPORT_FUNC

Definition at line 65 of file tracepoint.h.

#define IP_AGENT_EXPORT_VAR

Definition at line 66 of file tracepoint.h.

#define IP_AGENT_EXPORT_VAR_DECL   extern

Definition at line 67 of file tracepoint.h.

#define IPA_BUFSIZ   100

Function Documentation

LONGEST agent_get_trace_state_variable_value ( int  num)

Definition at line 2153 of file tracepoint.c.

References get_trace_state_variable_value().

Referenced by gdb_eval_agent_expr().

int agent_mem_read ( struct eval_agent_expr_context ctx,
unsigned char *  to,
CORE_ADDR  from,
ULONGEST  len 
)
int agent_mem_read_string ( struct eval_agent_expr_context ctx,
unsigned char *  to,
CORE_ADDR  from,
ULONGEST  len 
)
void agent_set_trace_state_variable_value ( int  num,
LONGEST  val 
)

Definition at line 2159 of file tracepoint.c.

References set_trace_state_variable_value().

Referenced by gdb_eval_agent_expr().

int agent_tsv_read ( struct eval_agent_expr_context ctx,
int  n 
)
int claim_trampoline_space ( ULONGEST  used,
CORE_ADDR trampoline 
)
int fast_tracepoint_collecting ( CORE_ADDR  thread_area,
CORE_ADDR  stop_pc,
struct fast_tpoint_collect_status status 
)
int fetch_traceframe_registers ( int  tfnum,
struct regcache regcache,
int  regnum 
)
void force_unlock_trace_buffer ( void  )
void gdb_agent_about_to_close ( int  pid)
IP_AGENT_EXPORT_FUNC ULONGEST gdb_agent_get_raw_reg ( const unsigned char *  raw_regs,
int  regnum 
)
CORE_ADDR get_get_tsv_func_addr ( void  )
CORE_ADDR get_raw_reg_func_addr ( void  )

Definition at line 5860 of file tracepoint.c.

References ipa_sym_addresses::addr_get_raw_reg, and ipa_sym_addrs.

Referenced by i386_emit_reg().

CORE_ADDR get_set_tsv_func_addr ( void  )
int handle_tracepoint_bkpts ( struct thread_info tinfo,
CORE_ADDR  stop_pc 
)
int handle_tracepoint_general_set ( char *  own_buf)
int handle_tracepoint_query ( char *  own_buf)
int have_fast_tracepoint_trampoline_buffer ( char *  msgbuf)
int in_readonly_region ( CORE_ADDR  addr,
ULONGEST  length 
)

Definition at line 2906 of file tracepoint.c.

References readonly_region::end, readonly_region::next, and readonly_region::start.

Referenced by gdb_read_memory().

void initialize_tracepoint ( void  )
void release_while_stepping_state_list ( struct thread_info tinfo)
void stop_tracing ( void  )
int traceframe_read_info ( int  tfnum,
struct buffer buffer 
)
int traceframe_read_mem ( int  tfnum,
CORE_ADDR  addr,
unsigned char *  buf,
ULONGEST  length,
ULONGEST nbytes 
)
int traceframe_read_sdata ( int  tfnum,
ULONGEST  offset,
unsigned char *  buf,
ULONGEST  length,
ULONGEST nbytes 
)
int tracepoint_finished_step ( struct thread_info tinfo,
CORE_ADDR  stop_pc 
)
void tracepoint_look_up_symbols ( void  )
int tracepoint_was_hit ( struct thread_info tinfo,
CORE_ADDR  stop_pc 
)

Variable Documentation

int current_traceframe
int disconnected_tracing

Definition at line 1256 of file tracepoint.c.

Referenced by captured_main(), and process_serial_event().

Definition at line 70 of file tracepoint.h.