|
GDB (xrefs)
|
#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::string > | stringify () |
| const std::vector< std::string > & | wholly_collected () |
| const std::vector< std::string > & | computed () |
Private Attributes | |
| unsigned char | m_regs_mask [32] |
| std::vector< memrange > | m_memranges |
| std::vector< agent_expr_up > | m_aexprs |
| bool | m_strace_data |
| std::vector< std::string > | m_wholly_collected |
| std::vector< std::string > | m_computed |
Definition at line 243 of file tracepoint.h.
| collection_list::collection_list | ( | ) |
Definition at line 1111 of file tracepoint.c.
References m_aexprs, and m_memranges.
| 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().
| void collection_list::add_local_symbols | ( | struct gdbarch * | gdbarch, |
| CORE_ADDR | pc, | ||
| long | frame_regno, | ||
| long | frame_offset, | ||
| int | type, | ||
| int | trace_string | ||
| ) |
Definition at line 1058 of file tracepoint.c.
References _, block_for_pc(), add_local_symbols_data::collect, add_local_symbols_data::count, do_collect_symbol(), add_local_symbols_data::frame_offset, add_local_symbols_data::frame_regno, add_local_symbols_data::gdbarch, get_pc_function_start(), iterate_over_block_arg_vars(), iterate_over_block_local_vars(), add_local_symbols_data::pc, add_local_symbols_data::trace_string, and warning().
Referenced by encode_actions_1().
| void collection_list::add_memrange | ( | struct gdbarch * | gdbarch, |
| int | type, | ||
| bfd_signed_vma | base, | ||
| unsigned long | len | ||
| ) |
Definition at line 853 of file tracepoint.c.
References add_register(), info_verbose, m_memranges, memrange_absolute, paddress(), and printf_filtered().
Referenced by collect_symbol(), and encode_actions_1().
| 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().
| 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().
| 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().
| 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().
| void collection_list::collect_symbol | ( | struct symbol * | sym, |
| struct gdbarch * | gdbarch, | ||
| long | frame_regno, | ||
| long | frame_offset, | ||
| CORE_ADDR | scope, | ||
| int | trace_string | ||
| ) |
Definition at line 872 of file tracepoint.c.
References add_aexpr(), add_memrange(), add_register(), ax_reqs(), check_typedef(), gen_trace_for_var(), info_verbose, LOC_ARG, LOC_COMPUTED, LOC_CONST, LOC_LOCAL, LOC_OPTIMIZED_OUT, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_STATIC, LOC_UNRESOLVED, memrange_absolute, offset, paddress(), plongest(), printf_filtered(), QUIT, register_size(), report_agent_reqs_errors(), SYMBOL_CLASS, SYMBOL_PRINT_NAME, SYMBOL_REGISTER_OPS, SYMBOL_TYPE, SYMBOL_VALUE, SYMBOL_VALUE_ADDRESS, TYPE_CODE, TYPE_CODE_FLT, TYPE_CODE_STRUCT, and TYPE_LENGTH.
Referenced by do_collect_symbol(), and encode_actions_1().
|
inline |
Definition at line 277 of file tracepoint.h.
References m_computed.
Referenced by mi_cmd_trace_frame_collected().
| void collection_list::finish | ( | ) |
Definition at line 1241 of file tracepoint.c.
References m_memranges, and memrange_sortmerge().
Referenced by encode_actions().
| std::vector< std::string > collection_list::stringify | ( | ) |
Definition at line 1122 of file tracepoint.c.
References add_local_symbols_data::count, info_verbose, m_aexprs, m_memranges, m_regs_mask, m_strace_data, MAX_AGENT_EXPR_LEN, mem2hex(), memrange_absolute, paddress(), phex_nz(), printf_filtered(), QUIT, and target_gdbarch().
Referenced by encode_actions_rsp().
|
inline |
Definition at line 274 of file tracepoint.h.
References m_wholly_collected.
Referenced by mi_cmd_trace_frame_collected().
|
private |
Definition at line 286 of file tracepoint.h.
Referenced by add_aexpr(), collection_list(), and stringify().
|
private |
Definition at line 295 of file tracepoint.h.
Referenced by append_exp(), and computed().
|
private |
Definition at line 284 of file tracepoint.h.
Referenced by add_memrange(), collection_list(), finish(), and stringify().
|
private |
Definition at line 282 of file tracepoint.h.
Referenced by add_register(), and stringify().
|
private |
Definition at line 290 of file tracepoint.h.
Referenced by add_static_trace_data(), and stringify().
|
private |
Definition at line 293 of file tracepoint.h.
Referenced by add_wholly_collected(), and wholly_collected().
1.8.14