GDB (xrefs)
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 (struct expression *exp)
 
void add_aexpr (agent_expr_up aexpr)
 
void add_register (unsigned int regno)
 
void add_memrange (struct gdbarch *gdbarch, int type, bfd_signed_vma base, unsigned long len)
 
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::stringstringify ()
 
const std::vector< std::string > & wholly_collected ()
 
const std::vector< std::string > & computed ()
 

Private Attributes

unsigned char m_regs_mask [32]
 
std::vector< memrangem_memranges
 
std::vector< agent_expr_upm_aexprs
 
bool m_strace_data
 
std::vector< std::stringm_wholly_collected
 
std::vector< std::stringm_computed
 

Detailed Description

Definition at line 243 of file tracepoint.h.

Constructor & Destructor Documentation

◆ collection_list()

collection_list::collection_list ( )

Definition at line 1111 of file tracepoint.c.

References m_aexprs, and m_memranges.

Member Function Documentation

◆ add_aexpr()

void collection_list::add_aexpr ( agent_expr_up  aexpr)

Definition at line 1513 of file tracepoint.c.

References m_aexprs.

Referenced by collect_symbol(), and encode_actions_1().

◆ 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 
)

◆ add_register()

void collection_list::add_register ( unsigned int  regno)

Definition at line 840 of file tracepoint.c.

References _, error(), info_verbose, m_regs_mask, and printf_filtered().

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

◆ add_static_trace_data()

void collection_list::add_static_trace_data ( )

Definition at line 1104 of file tracepoint.c.

References info_verbose, m_strace_data, and printf_filtered().

Referenced by encode_actions_1().

◆ add_wholly_collected()

void collection_list::add_wholly_collected ( const char *  print_name)

Definition at line 1050 of file tracepoint.c.

References m_wholly_collected.

Referenced by do_collect_symbol(), and encode_actions_1().

◆ append_exp()

void collection_list::append_exp ( struct expression exp)

Definition at line 1231 of file tracepoint.c.

References m_computed, print_expression(), and string_file::string().

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 277 of file tracepoint.h.

References m_computed.

Referenced by mi_cmd_trace_frame_collected().

◆ finish()

void collection_list::finish ( )

Definition at line 1241 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 274 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 286 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 295 of file tracepoint.h.

Referenced by append_exp(), and computed().

◆ m_memranges

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

Definition at line 284 of file tracepoint.h.

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

◆ m_regs_mask

unsigned char collection_list::m_regs_mask[32]
private

Definition at line 282 of file tracepoint.h.

Referenced by add_register(), and stringify().

◆ m_strace_data

bool collection_list::m_strace_data
private

Definition at line 290 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 293 of file tracepoint.h.

Referenced by add_wholly_collected(), and wholly_collected().


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