GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
collection_list Class Reference

#include "tracepoint.h"

Public Member Functions

 collection_list ()
 
void add_wholly_collected (const char *print_name)
 
void append_exp (std::string &&exp)
 
void add_aexpr (agent_expr_up aexpr)
 
void add_remote_register (unsigned int regno)
 
void add_ax_registers (struct agent_expr *aexpr)
 
void add_local_register (struct gdbarch *gdbarch, unsigned int regno, CORE_ADDR scope)
 
void add_memrange (struct gdbarch *gdbarch, int type, bfd_signed_vma base, unsigned long len, CORE_ADDR scope)
 
void collect_symbol (struct symbol *sym, struct gdbarch *gdbarch, long frame_regno, long frame_offset, CORE_ADDR scope, int trace_string)
 
void add_local_symbols (struct gdbarch *gdbarch, CORE_ADDR pc, long frame_regno, long frame_offset, int type, int trace_string)
 
void add_static_trace_data ()
 
void finish ()
 
std::vector< std::string > stringify ()
 
const std::vector< std::string > & wholly_collected ()
 
const std::vector< std::string > & computed ()
 

Private Attributes

std::vector< unsigned char > m_regs_mask
 
std::vector< memrangem_memranges
 
std::vector< agent_expr_upm_aexprs
 
bool m_strace_data
 
std::vector< std::string > m_wholly_collected
 
std::vector< std::string > m_computed
 

Detailed Description

Definition at line 253 of file tracepoint.h.

Constructor & Destructor Documentation

◆ collection_list()

collection_list::collection_list ( )

Member Function Documentation

◆ add_aexpr()

void collection_list::add_aexpr ( agent_expr_up aexpr)

Definition at line 1508 of file tracepoint.c.

References m_aexprs.

Referenced by add_local_register(), collect_symbol(), and encode_actions_1().

◆ add_ax_registers()

void collection_list::add_ax_registers ( struct agent_expr * aexpr)

Definition at line 835 of file tracepoint.c.

References add_remote_register(), QUIT, and agent_expr::reg_mask.

Referenced by add_local_register(), collect_symbol(), and encode_actions_1().

◆ add_local_register()

void collection_list::add_local_register ( struct gdbarch * gdbarch,
unsigned int regno,
CORE_ADDR scope )

◆ add_local_symbols()

void collection_list::add_local_symbols ( struct gdbarch * gdbarch,
CORE_ADDR pc,
long frame_regno,
long frame_offset,
int type,
int trace_string )

◆ add_memrange()

void collection_list::add_memrange ( struct gdbarch * gdbarch,
int type,
bfd_signed_vma base,
unsigned long len,
CORE_ADDR scope )

◆ add_remote_register()

void collection_list::add_remote_register ( unsigned int regno)

Definition at line 822 of file tracepoint.c.

References gdb_printf(), info_verbose, and m_regs_mask.

Referenced by add_ax_registers(), add_local_register(), and encode_actions_1().

◆ add_static_trace_data()

void collection_list::add_static_trace_data ( )

Definition at line 1089 of file tracepoint.c.

References gdb_printf(), info_verbose, and m_strace_data.

Referenced by encode_actions_1().

◆ add_wholly_collected()

void collection_list::add_wholly_collected ( const char * print_name)

Definition at line 1034 of file tracepoint.c.

References m_wholly_collected.

Referenced by add_local_symbols(), and encode_actions_1().

◆ append_exp()

void collection_list::append_exp ( std::string && exp)

Definition at line 1239 of file tracepoint.c.

References m_computed.

Referenced by encode_actions_1().

◆ collect_symbol()

void collection_list::collect_symbol ( struct symbol * sym,
struct gdbarch * gdbarch,
long frame_regno,
long frame_offset,
CORE_ADDR scope,
int trace_string )

◆ computed()

const std::vector< std::string > & collection_list::computed ( )
inline

Definition at line 291 of file tracepoint.h.

References m_computed.

Referenced by mi_cmd_trace_frame_collected().

◆ finish()

void collection_list::finish ( )

Definition at line 1245 of file tracepoint.c.

References m_memranges, and memrange_sortmerge().

Referenced by encode_actions().

◆ stringify()

std::vector< std::string > collection_list::stringify ( )

◆ wholly_collected()

const std::vector< std::string > & collection_list::wholly_collected ( )
inline

Definition at line 288 of file tracepoint.h.

References m_wholly_collected.

Referenced by mi_cmd_trace_frame_collected().

Member Data Documentation

◆ m_aexprs

std::vector<agent_expr_up> collection_list::m_aexprs
private

Definition at line 301 of file tracepoint.h.

Referenced by add_aexpr(), collection_list(), and stringify().

◆ m_computed

std::vector<std::string> collection_list::m_computed
private

Definition at line 310 of file tracepoint.h.

Referenced by append_exp(), and computed().

◆ m_memranges

std::vector<memrange> collection_list::m_memranges
private

Definition at line 299 of file tracepoint.h.

Referenced by add_memrange(), collection_list(), finish(), and stringify().

◆ m_regs_mask

std::vector<unsigned char> collection_list::m_regs_mask
private

Definition at line 297 of file tracepoint.h.

Referenced by add_remote_register(), collection_list(), and stringify().

◆ m_strace_data

bool collection_list::m_strace_data
private

Definition at line 305 of file tracepoint.h.

Referenced by add_static_trace_data(), and stringify().

◆ m_wholly_collected

std::vector<std::string> collection_list::m_wholly_collected
private

Definition at line 308 of file tracepoint.h.

Referenced by add_wholly_collected(), and wholly_collected().


The documentation for this class was generated from the following files: