GDB (API)
Classes | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/tracepoint.h File Reference
#include "breakpoint.h"
#include "target.h"
#include "memrange.h"
#include "gdb_vecs.h"

Go to the source code of this file.

Classes

struct  traceframe_info
struct  trace_state_variable
struct  trace_status
struct  uploaded_tp
struct  uploaded_tsv
struct  static_tracepoint_marker
struct  trace_frame_write_ops
struct  trace_file_write_ops
struct  trace_file_writer
struct  memrange
struct  collection_list

Enumerations

enum  trace_stop_reason {
  trace_stop_reason_unknown, trace_never_run, tstop_command, trace_buffer_full,
  trace_disconnected, tracepoint_passcount, tracepoint_error
}

Functions

struct trace_statuscurrent_trace_status (void)
void parse_static_tracepoint_marker_definition (char *line, char **pp, struct static_tracepoint_marker *marker)
void release_static_tracepoint_marker (struct static_tracepoint_marker *)
void free_current_marker (void *arg)
int get_traceframe_number (void)
int get_tracepoint_number (void)
void set_traceframe_number (int)
void set_current_traceframe (int num)
struct cleanup * make_cleanup_restore_current_traceframe (void)
struct cleanup * make_cleanup_restore_traceframe_number (void)
void free_actions (struct breakpoint *)
const char * decode_agent_options (const char *exp, int *trace_string)
struct cleanup * encode_actions_and_make_cleanup (struct bp_location *tloc, struct collection_list *tracepoint_list, struct collection_list *stepping_list)
void encode_actions_rsp (struct bp_location *tloc, char ***tdp_actions, char ***stepping_actions)
void validate_actionline (const char *, struct breakpoint *)
void validate_trace_state_variable_name (const char *name)
struct trace_state_variablefind_trace_state_variable (const char *name)
struct trace_state_variablefind_trace_state_variable_by_number (int number)
struct trace_state_variablecreate_trace_state_variable (const char *name)
int encode_source_string (int num, ULONGEST addr, char *srctype, char *src, char *buf, int buf_size)
void parse_trace_status (char *line, struct trace_status *ts)
void parse_tracepoint_status (char *p, struct breakpoint *tp, struct uploaded_tp *utp)
void parse_tracepoint_definition (char *line, struct uploaded_tp **utpp)
void parse_tsv_definition (char *line, struct uploaded_tsv **utsvp)
struct uploaded_tpget_uploaded_tp (int num, ULONGEST addr, struct uploaded_tp **utpp)
struct uploaded_tsvget_uploaded_tsv (int num, struct uploaded_tsv **utsvp)
struct tracepointcreate_tracepoint_from_upload (struct uploaded_tp *utp)
void merge_uploaded_tracepoints (struct uploaded_tp **utpp)
void merge_uploaded_trace_state_variables (struct uploaded_tsv **utsvp)
void query_if_trace_running (int from_tty)
void disconnect_tracing (void)
void trace_reset_local_state (void)
void start_tracing (char *notes)
void stop_tracing (char *notes)
void trace_status_mi (int on_stop)
void tvariables_info_1 (void)
void save_trace_state_variables (struct ui_file *fp)
void tfind_1 (enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int from_tty)
void trace_save_tfile (const char *filename, int target_does_save)
void trace_save_ctf (const char *dirname, int target_does_save)
struct traceframe_infoparse_traceframe_info (const char *tframe_info)
int traceframe_available_memory (VEC(mem_range_s)**result, CORE_ADDR memaddr, ULONGEST len)
struct traceframe_infoget_traceframe_info (void)
struct bp_locationget_traceframe_location (int *stepping_frame_p)

Variables

char * default_collect
int trace_regblock_size
void(* deprecated_trace_find_hook )(char *arg, int from_tty)
void(* deprecated_trace_start_stop_hook )(int start, int from_tty)

Enumeration Type Documentation

Enumerator:
trace_stop_reason_unknown 
trace_never_run 
tstop_command 
trace_buffer_full 
trace_disconnected 
tracepoint_passcount 
tracepoint_error 

Definition at line 73 of file tracepoint.h.


Function Documentation

struct trace_state_variable* create_trace_state_variable ( const char *  name) [read]

Definition at line 312 of file tracepoint.c.

struct tracepoint* create_tracepoint_from_upload ( struct uploaded_tp utp) [read]

Definition at line 15185 of file breakpoint.c.

struct trace_status* current_trace_status ( void  ) [read]

Definition at line 219 of file tracepoint.c.

const char* decode_agent_options ( const char *  exp,
int trace_string 
)

Definition at line 620 of file tracepoint.c.

void disconnect_tracing ( void  )

Definition at line 2308 of file tracepoint.c.

struct cleanup* encode_actions_and_make_cleanup ( struct bp_location tloc,
struct collection_list tracepoint_list,
struct collection_list stepping_list 
) [read]

Definition at line 1662 of file tracepoint.c.

void encode_actions_rsp ( struct bp_location tloc,
char ***  tdp_actions,
char ***  stepping_actions 
)

Definition at line 1699 of file tracepoint.c.

int encode_source_string ( int  num,
ULONGEST  addr,
char *  srctype,
char *  src,
char *  buf,
int  buf_size 
)

Definition at line 3087 of file tracepoint.c.

struct trace_state_variable* find_trace_state_variable ( const char *  name) [read]

Definition at line 325 of file tracepoint.c.

Definition at line 341 of file tracepoint.c.

void free_actions ( struct breakpoint )
void free_current_marker ( void *  arg)

Definition at line 5338 of file tracepoint.c.

struct traceframe_info* get_traceframe_info ( void  ) [read]

Definition at line 5730 of file tracepoint.c.

struct bp_location* get_traceframe_location ( int stepping_frame_p) [read]

Definition at line 2979 of file tracepoint.c.

Definition at line 3845 of file tracepoint.c.

Definition at line 3851 of file tracepoint.c.

struct uploaded_tp* get_uploaded_tp ( int  num,
ULONGEST  addr,
struct uploaded_tp **  utpp 
) [read]

Definition at line 3939 of file tracepoint.c.

struct uploaded_tsv* get_uploaded_tsv ( int  num,
struct uploaded_tsv **  utsvp 
) [read]

Definition at line 3975 of file tracepoint.c.

struct cleanup* make_cleanup_restore_current_traceframe ( void  ) [read]

Definition at line 3918 of file tracepoint.c.

struct cleanup* make_cleanup_restore_traceframe_number ( void  ) [read]

Definition at line 3930 of file tracepoint.c.

Definition at line 4187 of file tracepoint.c.

void merge_uploaded_tracepoints ( struct uploaded_tp **  utpp)

Definition at line 4056 of file tracepoint.c.

void parse_static_tracepoint_marker_definition ( char *  line,
char **  pp,
struct static_tracepoint_marker marker 
)

Definition at line 5357 of file tracepoint.c.

void parse_trace_status ( char *  line,
struct trace_status ts 
)

Definition at line 4429 of file tracepoint.c.

struct traceframe_info* parse_traceframe_info ( const char *  tframe_info) [read]

Definition at line 5608 of file tracepoint.c.

void parse_tracepoint_definition ( char *  line,
struct uploaded_tp **  utpp 
)

Definition at line 4612 of file tracepoint.c.

void parse_tracepoint_status ( char *  p,
struct breakpoint tp,
struct uploaded_tp utp 
)

Definition at line 4589 of file tracepoint.c.

void parse_tsv_definition ( char *  line,
struct uploaded_tsv **  utsvp 
)

Definition at line 4727 of file tracepoint.c.

void query_if_trace_running ( int  from_tty)

Definition at line 2267 of file tracepoint.c.

Definition at line 5395 of file tracepoint.c.

void save_trace_state_variables ( struct ui_file *  fp)

Definition at line 568 of file tracepoint.c.

void set_current_traceframe ( int  num)

Definition at line 3860 of file tracepoint.c.

Definition at line 3888 of file tracepoint.c.

void start_tracing ( char *  notes)

Definition at line 1785 of file tracepoint.c.

void stop_tracing ( char *  notes)

Definition at line 1945 of file tracepoint.c.

void tfind_1 ( enum trace_find_type  type,
int  num,
CORE_ADDR  addr1,
CORE_ADDR  addr2,
int  from_tty 
)

Definition at line 2319 of file tracepoint.c.

void trace_reset_local_state ( void  )

Definition at line 1776 of file tracepoint.c.

void trace_save_ctf ( const char *  dirname,
int  target_does_save 
)

Definition at line 3747 of file tracepoint.c.

void trace_save_tfile ( const char *  filename,
int  target_does_save 
)

Definition at line 3733 of file tracepoint.c.

void trace_status_mi ( int  on_stop)

Definition at line 2153 of file tracepoint.c.

int traceframe_available_memory ( VEC(mem_range_s)**  result,
CORE_ADDR  memaddr,
ULONGEST  len 
)

Definition at line 5745 of file tracepoint.c.

void tvariables_info_1 ( void  )

Definition at line 494 of file tracepoint.c.

void validate_actionline ( const char *  ,
struct breakpoint  
)

Definition at line 711 of file tracepoint.c.

Definition at line 377 of file tracepoint.c.


Variable Documentation

void(* deprecated_trace_find_hook)(char *arg, int from_tty)

Definition at line 85 of file tracepoint.c.

void(* deprecated_trace_start_stop_hook)(int start, int from_tty)

Definition at line 86 of file tracepoint.c.

Definition at line 4249 of file tracepoint.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines