GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "symtab.h"
#include "frame.h"
#include "gdbtypes.h"
#include "expression.h"
#include "gdbcmd.h"
#include "value.h"
#include "target.h"
#include "target-dcache.h"
#include "language.h"
#include "inferior.h"
#include "breakpoint.h"
#include "tracepoint.h"
#include "linespec.h"
#include "regcache.h"
#include "completer.h"
#include "block.h"
#include "dictionary.h"
#include "observer.h"
#include "user-regs.h"
#include "valprint.h"
#include "gdbcore.h"
#include "objfiles.h"
#include "filenames.h"
#include "gdbthread.h"
#include "stack.h"
#include "remote.h"
#include "source.h"
#include "ax.h"
#include "ax-gdb.h"
#include "memrange.h"
#include "cli/cli-utils.h"
#include "probe.h"
#include "ctf.h"
#include "filestuff.h"
#include "rsp-low.h"
#include "tracefile.h"
#include "readline/readline.h"
#include "readline/history.h"
#include <unistd.h>
#include "xml-support.h"
Go to the source code of this file.
Classes | |
struct | add_local_symbols_data |
struct | current_traceframe_cleanup |
Macros | |
#define | MAX_AGENT_EXPR_LEN 184 |
Typedefs | |
typedef struct trace_state_variable | tsv_s |
Enumerations | |
enum | { memrange_absolute = -1 } |
Functions | |
DEF_VEC_O (tsv_s) | |
static | VEC (tsv_s) |
struct trace_status * | current_trace_status (void) |
static void | free_traceframe_info (struct traceframe_info *info) |
static void | clear_traceframe_info (void) |
static void | set_traceframe_num (int num) |
static void | set_tracepoint_num (int num) |
static void | set_traceframe_context (struct frame_info *trace_frame) |
struct trace_state_variable * | create_trace_state_variable (const char *name) |
struct trace_state_variable * | find_trace_state_variable (const char *name) |
struct trace_state_variable * | find_trace_state_variable_by_number (int number) |
static void | delete_trace_state_variable (const char *name) |
void | validate_trace_state_variable_name (const char *name) |
static void | trace_variable_command (char *args, int from_tty) |
static void | delete_trace_variable_command (char *args, int from_tty) |
void | tvariables_info_1 (void) |
static void | tvariables_info (char *args, int from_tty) |
void | save_trace_state_variables (struct ui_file *fp) |
static void | end_actions_pseudocommand (char *args, int from_tty) |
static void | while_stepping_pseudocommand (char *args, int from_tty) |
static void | collect_pseudocommand (char *args, int from_tty) |
static void | teval_pseudocommand (char *args, int from_tty) |
const char * | decode_agent_options (const char *exp, int *trace_string) |
static void | trace_actions_command (char *args, int from_tty) |
static void | report_agent_reqs_errors (struct agent_expr *aexpr) |
void | validate_actionline (const char *line, struct breakpoint *b) |
static int | memrange_cmp (const void *, const void *) |
static void | memrange_sortmerge (struct collection_list *memranges) |
static void | add_register (struct collection_list *collection, unsigned int regno) |
static void | add_memrange (struct collection_list *memranges, int type, bfd_signed_vma base, unsigned long len) |
static void | collect_symbol (struct collection_list *collect, struct symbol *sym, struct gdbarch *gdbarch, long frame_regno, long frame_offset, CORE_ADDR scope, int trace_string) |
static void | do_collect_symbol (const char *print_name, struct symbol *sym, void *cb_data) |
static void | add_local_symbols (struct collection_list *collect, struct gdbarch *gdbarch, CORE_ADDR pc, long frame_regno, long frame_offset, int type, int trace_string) |
static void | add_static_trace_data (struct collection_list *collection) |
static void | clear_collection_list (struct collection_list *list) |
static void | do_clear_collection_list (void *list) |
static void | init_collection_list (struct collection_list *clist) |
static char ** | stringify_collection_list (struct collection_list *list) |
static void | append_exp (struct expression *exp, VEC(char_ptr)**list) |
static void | encode_actions_1 (struct command_line *action, struct bp_location *tloc, int frame_reg, LONGEST frame_offset, struct collection_list *collect, struct collection_list *stepping_list) |
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) |
static void | add_aexpr (struct collection_list *collect, struct agent_expr *aexpr) |
static void | process_tracepoint_on_disconnect (void) |
void | trace_reset_local_state (void) |
void | start_tracing (char *notes) |
static void | trace_start_command (char *args, int from_tty) |
static void | trace_stop_command (char *args, int from_tty) |
void | stop_tracing (char *note) |
static void | trace_status_command (char *args, int from_tty) |
void | trace_status_mi (int on_stop) |
void | query_if_trace_running (int from_tty) |
void | disconnect_tracing (void) |
void | tfind_1 (enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int from_tty) |
void | check_trace_running (struct trace_status *status) |
static void | trace_find_command (char *args, int from_tty) |
static void | trace_find_end_command (char *args, int from_tty) |
static void | trace_find_start_command (char *args, int from_tty) |
static void | trace_find_pc_command (char *args, int from_tty) |
static void | trace_find_tracepoint_command (char *args, int from_tty) |
static void | trace_find_line_command (char *args, int from_tty) |
static void | trace_find_range_command (char *args, int from_tty) |
static void | trace_find_outside_command (char *args, int from_tty) |
static void | scope_info (char *args, int from_tty) |
static void | trace_dump_actions (struct command_line *action, int stepping_actions, int stepping_frame, int from_tty) |
struct bp_location * | get_traceframe_location (int *stepping_frame_p) |
static struct command_line * | all_tracepoint_actions_and_cleanup (struct breakpoint *t) |
static void | trace_dump_command (char *args, int from_tty) |
int | encode_source_string (int tpnum, ULONGEST addr, char *srctype, char *src, char *buf, int buf_size) |
static void | set_disconnected_tracing (char *args, int from_tty, struct cmd_list_element *c) |
static void | set_circular_trace_buffer (char *args, int from_tty, struct cmd_list_element *c) |
static void | set_trace_buffer_size (char *args, int from_tty, struct cmd_list_element *c) |
static void | set_trace_user (char *args, int from_tty, struct cmd_list_element *c) |
static void | set_trace_notes (char *args, int from_tty, struct cmd_list_element *c) |
static void | set_trace_stop_notes (char *args, int from_tty, struct cmd_list_element *c) |
static char * | mem2hex (gdb_byte *mem, char *buf, int count) |
int | get_traceframe_number (void) |
int | get_tracepoint_number (void) |
void | set_current_traceframe (int num) |
static void | do_restore_current_traceframe_cleanup (void *arg) |
static void | restore_current_traceframe_cleanup_dtor (void *arg) |
struct cleanup * | make_cleanup_restore_current_traceframe (void) |
struct uploaded_tp * | get_uploaded_tp (int num, ULONGEST addr, struct uploaded_tp **utpp) |
void | free_uploaded_tps (struct uploaded_tp **utpp) |
struct uploaded_tsv * | get_uploaded_tsv (int num, struct uploaded_tsv **utsvp) |
void | free_uploaded_tsvs (struct uploaded_tsv **utsvp) |
static int | cond_string_is_same (char *str1, char *str2) |
static struct bp_location * | find_matching_tracepoint_location (struct uploaded_tp *utp) |
void | merge_uploaded_tracepoints (struct uploaded_tp **uploaded_tps) |
static struct trace_state_variable * | find_matching_tsv (struct uploaded_tsv *utsv) |
static struct trace_state_variable * | create_tsv_from_upload (struct uploaded_tsv *utsv) |
void | merge_uploaded_trace_state_variables (struct uploaded_tsv **uploaded_tsvs) |
void | parse_trace_status (char *line, struct trace_status *ts) |
void | parse_tracepoint_status (char *p, struct breakpoint *bp, struct uploaded_tp *utp) |
void | parse_tracepoint_definition (char *line, struct uploaded_tp **utpp) |
void | parse_tsv_definition (char *line, struct uploaded_tsv **utsvp) |
void | free_current_marker (void *arg) |
void | parse_static_tracepoint_marker_definition (char *line, char **pp, struct static_tracepoint_marker *marker) |
void | release_static_tracepoint_marker (struct static_tracepoint_marker *marker) |
static void | print_one_static_tracepoint_marker (int count, struct static_tracepoint_marker *marker) |
static void | info_static_tracepoint_markers_command (char *arg, int from_tty) |
static struct value * | sdata_make_value (struct gdbarch *gdbarch, struct internalvar *var, void *ignore) |
static void | traceframe_info_start_memory (struct gdb_xml_parser *parser, const struct gdb_xml_element *element, void *user_data, VEC(gdb_xml_value_s)*attributes) |
static void | traceframe_info_start_tvar (struct gdb_xml_parser *parser, const struct gdb_xml_element *element, void *user_data, VEC(gdb_xml_value_s)*attributes) |
static void | free_result (void *p) |
struct traceframe_info * | parse_traceframe_info (const char *tframe_info) |
struct traceframe_info * | get_traceframe_info (void) |
int | traceframe_available_memory (VEC(mem_range_s)**result, CORE_ADDR memaddr, ULONGEST len) |
void | _initialize_tracepoint (void) |
Variables | |
void(* | deprecated_trace_find_hook )(char *arg, int from_tty) |
void(* | deprecated_trace_start_stop_hook )(int start, int from_tty) |
static const char | hexchars [] = "0123456789abcdef" |
static const struct gdb_xml_attribute | memory_attributes [] |
static const struct gdb_xml_attribute | tvar_attributes [] |
static const struct gdb_xml_element | traceframe_info_children [] |
static const struct gdb_xml_element | traceframe_info_elements [] |
static const struct internalvar_funcs | sdata_funcs |
#define MAX_AGENT_EXPR_LEN 184 |
Definition at line 76 of file tracepoint.c.
Referenced by stringify_collection_list(), and validate_actionline().
typedef struct trace_state_variable tsv_s |
Definition at line 115 of file tracepoint.c.
anonymous enum |
Enumerator | |
---|---|
memrange_absolute |
Definition at line 850 of file tracepoint.c.
void _initialize_tracepoint | ( | void | ) |
Definition at line 4339 of file tracepoint.c.
References _, add_alias_cmd(), add_cmd(), add_com(), add_com_alias(), add_info(), add_prefix_cmd(), add_setshow_boolean_cmd(), add_setshow_string_cmd(), add_setshow_zuinteger_unlimited_cmd(), class_alias, class_trace, cmdlist, collect_pseudocommand(), create_internalvar_type_lazy(), default_collect, delete_trace_variable_command(), deletelist, end_actions_pseudocommand(), info_static_tracepoint_markers_command(), no_class, scope_info(), set_circular_trace_buffer(), set_cmd_completer(), set_disconnected_tracing(), set_trace_buffer_size(), set_trace_notes(), set_trace_stop_notes(), set_trace_user(), setlist, showlist, teval_pseudocommand(), trace_actions_command(), trace_dump_command(), trace_find_command(), trace_find_end_command(), trace_find_line_command(), trace_find_outside_command(), trace_find_pc_command(), trace_find_range_command(), trace_find_start_command(), trace_find_tracepoint_command(), trace_start_command(), trace_status_command(), trace_stop_command(), trace_variable_command(), tvariables_info(), and while_stepping_pseudocommand().
|
static |
Definition at line 1706 of file tracepoint.c.
References collection_list::aexpr_list, collection_list::aexpr_listsize, collection_list::next_aexpr_elt, and xrealloc().
Referenced by collect_symbol(), and encode_actions_1().
|
static |
Definition at line 1151 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().
|
static |
Definition at line 929 of file tracepoint.c.
References add_register(), memrange::end, info_verbose, len, collection_list::list, collection_list::listsize, memrange_absolute, collection_list::next_memrange, printf_filtered(), memrange::start, type, memrange::type, and xrealloc().
Referenced by collect_symbol(), and encode_actions_1().
|
static |
Definition at line 917 of file tracepoint.c.
References _, error(), info_verbose, printf_filtered(), and collection_list::regs_mask.
Referenced by add_memrange(), collect_symbol(), and encode_actions_1().
|
static |
Definition at line 1198 of file tracepoint.c.
References info_verbose, printf_filtered(), and collection_list::strace_data.
Referenced by encode_actions_1().
|
static |
Definition at line 3014 of file tracepoint.c.
References breakpoint_commands(), default_collect, command_line::line, make_cleanup(), command_line::next, validate_actionline(), xfree(), xmalloc(), and xstrprintf().
Referenced by encode_actions_and_make_cleanup(), and trace_dump_command().
|
static |
Definition at line 1379 of file tracepoint.c.
References mem_fileopen(), print_expression(), ui_file_delete(), ui_file_xstrdup(), and VEC_safe_push.
Referenced by encode_actions_1().
void check_trace_running | ( | struct trace_status * | status | ) |
Definition at line 2449 of file tracepoint.c.
References _, error(), trace_status::filename, and trace_status::running.
Referenced by mi_cmd_trace_find(), trace_find_command(), trace_find_line_command(), trace_find_pc_command(), trace_find_range_command(), and trace_find_tracepoint_command().
|
static |
Definition at line 1207 of file tracepoint.c.
References collection_list::aexpr_list, free_agent_expr(), collection_list::list, collection_list::next_aexpr_elt, collection_list::next_memrange, collection_list::regs_mask, collection_list::strace_data, VEC_free, and xfree().
Referenced by do_clear_collection_list().
|
static |
Definition at line 228 of file tracepoint.c.
References free_traceframe_info().
Referenced by set_current_traceframe(), and trace_reset_local_state().
|
static |
Definition at line 594 of file tracepoint.c.
Referenced by _initialize_tracepoint(), encode_actions_1(), trace_dump_actions(), and validate_actionline().
|
static |
Definition at line 960 of file tracepoint.c.
References add_aexpr(), add_memrange(), add_register(), ax_reqs(), check_typedef(), discard_cleanups(), gen_trace_for_var(), info_verbose, len, LOC_ARG, LOC_COMPUTED, LOC_CONST, LOC_LOCAL, LOC_OPTIMIZED_OUT, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_STATIC, LOC_UNRESOLVED, make_cleanup_free_agent_expr(), memrange_absolute, offset, plongest(), printf_filtered(), QUIT, agent_expr::reg_mask, agent_expr::reg_mask_len, 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().
|
static |
Definition at line 3328 of file tracepoint.c.
Referenced by find_matching_tracepoint_location().
struct trace_state_variable* create_trace_state_variable | ( | const char * | name | ) |
Definition at line 300 of file tracepoint.c.
References trace_state_variable::name, trace_state_variable::number, and VEC_safe_push.
Referenced by create_tsv_from_upload(), mi_cmd_trace_define_variable(), and trace_variable_command().
|
static |
Definition at line 3462 of file tracepoint.c.
References trace_state_variable::builtin, uploaded_tsv::builtin, create_trace_state_variable(), do_cleanups(), find_trace_state_variable(), trace_state_variable::initial_value, uploaded_tsv::initial_value, make_cleanup(), uploaded_tsv::name, observer_notify_tsv_created(), xfree(), and xstrprintf().
Referenced by merge_uploaded_trace_state_variables().
struct trace_status* current_trace_status | ( | void | ) |
Definition at line 205 of file tracepoint.c.
Referenced by disable_breakpoint(), disable_command(), enable_breakpoint_disp(), enable_command(), mi_cmd_trace_find(), query_if_trace_running(), remote_can_download_tracepoint(), remote_start_remote(), start_tracing(), stop_tracing(), tfile_interp_line(), tfile_open(), trace_find_command(), trace_find_line_command(), trace_find_outside_command(), trace_find_pc_command(), trace_find_range_command(), trace_find_tracepoint_command(), trace_save(), trace_start_command(), trace_status_command(), trace_status_mi(), trace_stop_command(), and tvariables_info_1().
Definition at line 608 of file tracepoint.c.
References _, error(), get_user_print_options(), value_print_options::print_max, skip_spaces_const(), and target_supports_string_tracing.
Referenced by agent_eval_command_one(), encode_actions_1(), trace_dump_actions(), and validate_actionline().
DEF_VEC_O | ( | tsv_s | ) |
|
static |
Definition at line 342 of file tracepoint.c.
References _, trace_state_variable::name, observer_notify_tsv_deleted(), VEC_iterate, VEC_unordered_remove, warning(), and xfree().
Referenced by delete_trace_variable_command().
|
static |
Definition at line 450 of file tracepoint.c.
References _, delete_trace_state_variable(), do_cleanups(), dont_repeat(), gdb_buildargv(), make_cleanup_freeargv(), observer_notify_tsv_deleted(), query(), VEC_free, and warning().
Referenced by _initialize_tracepoint().
void disconnect_tracing | ( | void | ) |
Definition at line 2302 of file tracepoint.c.
References trace_reset_local_state().
Referenced by detach_command(), disconnect_command(), and quit_force().
|
static |
Definition at line 1231 of file tracepoint.c.
References clear_collection_list(), and collection_list::list.
Referenced by encode_actions_and_make_cleanup().
|
static |
Definition at line 1135 of file tracepoint.c.
References add_local_symbols_data::collect, collect_symbol(), add_local_symbols_data::count, add_local_symbols_data::frame_offset, add_local_symbols_data::frame_regno, add_local_symbols_data::gdbarch, add_local_symbols_data::pc, add_local_symbols_data::trace_string, and VEC_safe_push.
Referenced by add_local_symbols().
|
static |
Definition at line 3228 of file tracepoint.c.
References set_current_traceframe(), and current_traceframe_cleanup::traceframe_number.
Referenced by make_cleanup_restore_current_traceframe().
|
static |
Definition at line 1393 of file tracepoint.c.
References _, add_aexpr(), add_local_symbols(), add_memrange(), add_register(), add_static_trace_data(), bp_location::address, append_exp(), ax_reqs(), block_for_pc(), command_line::body_list, check_typedef(), cmd_cfunc_eq(), cmdlist, collect_pseudocommand(), collect_symbol(), decode_agent_options(), discard_cleanups(), do_cleanups(), expression::elts, error(), evaluate_expression(), free_current_contents(), gdb_assert, bp_location::gdbarch, gdbarch_num_regs(), gen_eval_for_expr(), gen_trace_for_expr(), gen_trace_for_return_address(), info_verbose, internal_error(), command_line::line, lookup_cmd(), make_cleanup(), make_cleanup_free_agent_expr(), memrange_absolute, name, command_line::next, exp_element::opcode, parse_exp_1(), printf_filtered(), QUIT, agent_expr::reg_mask, agent_expr::reg_mask_len, report_agent_reqs_errors(), skip_spaces_const(), exp_element::string, exp_element::symbol, SYMBOL_NATURAL_NAME, teval_pseudocommand(), agent_expr::trace_string, exp_element::type, TYPE_LENGTH, user_reg_map_name_to_regnum(), value_address(), VEC_safe_push, and while_stepping_pseudocommand().
Referenced by encode_actions_and_make_cleanup().
struct cleanup* encode_actions_and_make_cleanup | ( | struct bp_location * | tloc, |
struct collection_list * | tracepoint_list, | ||
struct collection_list * | stepping_list | ||
) |
Definition at line 1650 of file tracepoint.c.
References bp_location::address, all_tracepoint_actions_and_cleanup(), do_cleanups(), do_clear_collection_list(), encode_actions_1(), bp_location::gdbarch, gdbarch_virtual_frame_pointer(), init_collection_list(), make_cleanup(), memrange_sortmerge(), null_cleanup(), and bp_location::owner.
Referenced by encode_actions_rsp(), and mi_cmd_trace_frame_collected().
void encode_actions_rsp | ( | struct bp_location * | tloc, |
char *** | tdp_actions, | ||
char *** | stepping_actions | ||
) |
Definition at line 1687 of file tracepoint.c.
References do_cleanups(), encode_actions_and_make_cleanup(), and stringify_collection_list().
Referenced by remote_download_tracepoint().
int encode_source_string | ( | int | tpnum, |
ULONGEST | addr, | ||
char * | srctype, | ||
char * | src, | ||
char * | buf, | ||
int | buf_size | ||
) |
Definition at line 3080 of file tracepoint.c.
References _, bin2hex(), error(), and phex_nz().
Referenced by remote_download_command_source(), remote_download_tracepoint(), and tfile_write_uploaded_tp().
|
static |
Definition at line 582 of file tracepoint.c.
Referenced by _initialize_tracepoint(), and validate_actionline().
|
static |
Definition at line 3342 of file tracepoint.c.
References uploaded_tp::addr, bp_location::address, tracepoint::base, uploaded_tp::cond_string, breakpoint::cond_string, cond_string_is_same(), breakpoint::loc, bp_location::next, uploaded_tp::pass, tracepoint::pass_count, uploaded_tp::step, tracepoint::step_count, uploaded_tp::type, breakpoint::type, VEC(), and VEC_iterate.
Referenced by merge_uploaded_tracepoints().
|
static |
Definition at line 3453 of file tracepoint.c.
References find_trace_state_variable(), and uploaded_tsv::name.
Referenced by merge_uploaded_trace_state_variables().
struct trace_state_variable* find_trace_state_variable | ( | const char * | name | ) |
Definition at line 313 of file tracepoint.c.
References trace_state_variable::name, and VEC_iterate.
Referenced by create_tsv_from_upload(), find_matching_tsv(), gen_expr(), mi_cmd_trace_define_variable(), trace_variable_command(), and value_of_internalvar().
struct trace_state_variable* find_trace_state_variable_by_number | ( | int | number | ) |
Definition at line 329 of file tracepoint.c.
References trace_state_variable::number, and VEC_iterate.
Referenced by mi_cmd_trace_frame_collected().
void free_current_marker | ( | void * | arg | ) |
Definition at line 3884 of file tracepoint.c.
References release_static_tracepoint_marker(), and xfree().
Referenced by VEC().
|
static |
Definition at line 4208 of file tracepoint.c.
References free_traceframe_info().
Referenced by parse_traceframe_info().
|
static |
Definition at line 213 of file tracepoint.c.
References VEC_free, and xfree().
Referenced by clear_traceframe_info(), and free_result().
void free_uploaded_tps | ( | struct uploaded_tp ** | utpp | ) |
Definition at line 3279 of file tracepoint.c.
References uploaded_tp::next, and xfree().
Referenced by merge_uploaded_tracepoints(), and trace_save().
void free_uploaded_tsvs | ( | struct uploaded_tsv ** | utsvp | ) |
Definition at line 3311 of file tracepoint.c.
References uploaded_tsv::next, and xfree().
Referenced by merge_uploaded_trace_state_variables(), and trace_save().
struct traceframe_info* get_traceframe_info | ( | void | ) |
Definition at line 4276 of file tracepoint.c.
References target_traceframe_info.
Referenced by mi_cmd_trace_frame_collected(), and traceframe_available_memory().
struct bp_location* get_traceframe_location | ( | int * | stepping_frame_p | ) |
Definition at line 2972 of file tracepoint.c.
References _, bp_location::address, tracepoint::base, error(), get_current_regcache(), get_tracepoint(), breakpoint::loc, bp_location::next, and regcache_read_pc().
Referenced by mi_cmd_trace_frame_collected(), and trace_dump_command().
int get_traceframe_number | ( | void | ) |
Definition at line 3180 of file tracepoint.c.
Referenced by call_function_by_hand_dummy(), ensure_not_tfind_mode(), get_current_frame(), has_stack_frames(), memory_xfer_partial_1(), mi_cmd_trace_find(), remote_read_bytes(), set_remote_traceframe(), tfile_trace_find(), tfile_xfer_partial(), tfind_1(), tracefile_has_registers(), and tracefile_has_stack().
int get_tracepoint_number | ( | void | ) |
Definition at line 3186 of file tracepoint.c.
Referenced by tracefile_fetch_registers().
struct uploaded_tp* get_uploaded_tp | ( | int | num, |
ULONGEST | addr, | ||
struct uploaded_tp ** | utpp | ||
) |
Definition at line 3259 of file tracepoint.c.
References uploaded_tp::addr, uploaded_tp::next, uploaded_tp::number, and xmalloc().
Referenced by parse_tracepoint_definition().
struct uploaded_tsv* get_uploaded_tsv | ( | int | num, |
struct uploaded_tsv ** | utsvp | ||
) |
Definition at line 3295 of file tracepoint.c.
References uploaded_tsv::next, uploaded_tsv::number, and xmalloc().
Referenced by parse_tsv_definition().
|
static |
Definition at line 4068 of file tracepoint.c.
References current_uiout, do_cleanups(), gdbarch_addr_bit(), make_cleanup(), make_cleanup_ui_out_table_begin_end(), print_one_static_tracepoint_marker(), release_static_tracepoint_marker(), target_gdbarch(), target_static_tracepoint_markers_by_strid, ui_left, ui_noalign, ui_out_table_body(), ui_out_table_header(), VEC(), VEC_cleanup, and VEC_iterate.
Referenced by _initialize_tracepoint().
|
static |
Definition at line 1241 of file tracepoint.c.
References collection_list::aexpr_list, collection_list::aexpr_listsize, collection_list::list, collection_list::listsize, and xcalloc().
Referenced by encode_actions_and_make_cleanup().
struct cleanup* make_cleanup_restore_current_traceframe | ( | void | ) |
Definition at line 3244 of file tracepoint.c.
References do_restore_current_traceframe_cleanup(), make_cleanup_dtor(), restore_current_traceframe_cleanup_dtor(), current_traceframe_cleanup::traceframe_number, and xmalloc().
Referenced by fetch_inferior_event().
Definition at line 3162 of file tracepoint.c.
Referenced by stringify_collection_list().
Definition at line 860 of file tracepoint.c.
References memrange_absolute, memrange::start, and memrange::type.
Referenced by memrange_sortmerge().
|
static |
Definition at line 887 of file tracepoint.c.
References memrange::end, collection_list::list, memrange_cmp(), collection_list::next_memrange, qsort, memrange::start, and memrange::type.
Referenced by encode_actions_and_make_cleanup().
void merge_uploaded_trace_state_variables | ( | struct uploaded_tsv ** | uploaded_tsvs | ) |
Definition at line 3507 of file tracepoint.c.
References _, create_tsv_from_upload(), find_matching_tsv(), free_uploaded_tsvs(), info_verbose, trace_state_variable::name, uploaded_tsv::next, trace_state_variable::number, uploaded_tsv::number, printf_filtered(), and VEC_iterate.
Referenced by remote_start_remote(), and tfile_open().
void merge_uploaded_tracepoints | ( | struct uploaded_tp ** | uploaded_tps | ) |
Definition at line 3376 of file tracepoint.c.
References _, uploaded_tp::addr, tracepoint::base, create_tracepoint_from_upload(), find_matching_tracepoint_location(), free_uploaded_tps(), bp_location::gdbarch, get_current_arch(), bp_location::inserted, uploaded_tp::next, uploaded_tp::number, breakpoint::number, tracepoint::number_on_target, observer_notify_breakpoint_modified(), bp_location::owner, paddress(), printf_filtered(), VEC(), VEC_free, VEC_iterate, and VEC_safe_push.
Referenced by remote_start_remote(), and tfile_open().
void parse_static_tracepoint_marker_definition | ( | char * | line, |
char ** | pp, | ||
struct static_tracepoint_marker * | marker | ||
) |
Definition at line 3903 of file tracepoint.c.
References _, static_tracepoint_marker::address, error(), static_tracepoint_marker::extra, static_tracepoint_marker::gdbarch, hex2bin(), line, static_tracepoint_marker::str_id, target_gdbarch(), unpack_varlen_hex(), and xmalloc().
Referenced by remote_static_tracepoint_marker_at(), and VEC().
void parse_trace_status | ( | char * | line, |
struct trace_status * | ts | ||
) |
Definition at line 3560 of file tracepoint.c.
References _, trace_status::buffer_free, trace_status::buffer_size, trace_status::circular_buffer, trace_status::disconnected_tracing, error(), hex2bin(), line, trace_status::notes, trace_status::running, trace_status::running_known, trace_status::start_time, trace_status::stop_desc, trace_status::stop_reason, stop_reason_names, trace_status::stop_time, trace_status::stopping_tracepoint, trace_buffer_full, trace_disconnected, trace_never_run, trace_stop_reason_unknown, trace_status::traceframe_count, trace_status::traceframes_created, tracepoint_error, tracepoint_passcount, tstop_command, unpack_varlen_hex(), trace_status::user_name, xfree(), and xmalloc().
Referenced by remote_get_trace_status(), and tfile_interp_line().
struct traceframe_info* parse_traceframe_info | ( | const char * | tframe_info | ) |
Definition at line 4247 of file tracepoint.c.
References _, discard_cleanups(), do_cleanups(), free_result(), gdb_xml_parse_quick(), and make_cleanup().
Referenced by remote_traceframe_info().
void parse_tracepoint_definition | ( | char * | line, |
struct uploaded_tp ** | utpp | ||
) |
Definition at line 3743 of file tracepoint.c.
References _, uploaded_tp::at_string, bp_fast_tracepoint, bp_static_tracepoint, bp_tracepoint, uploaded_tp::cond, uploaded_tp::cond_string, uploaded_tp::enabled, get_uploaded_tp(), hex2bin(), line, parse_tracepoint_status(), uploaded_tp::pass, startswith(), uploaded_tp::step, type, uploaded_tp::type, unpack_varlen_hex(), VEC_safe_push, warning(), and xmalloc().
Referenced by remote_upload_tracepoints(), and tfile_interp_line().
void parse_tracepoint_status | ( | char * | p, |
struct breakpoint * | bp, | ||
struct uploaded_tp * | utp | ||
) |
Definition at line 3720 of file tracepoint.c.
References tracepoint::base, uploaded_tp::hit_count, breakpoint::hit_count, uploaded_tp::traceframe_usage, tracepoint::traceframe_usage, and unpack_varlen_hex().
Referenced by parse_tracepoint_definition(), and remote_get_tracepoint_status().
void parse_tsv_definition | ( | char * | line, |
struct uploaded_tsv ** | utsvp | ||
) |
Definition at line 3858 of file tracepoint.c.
References uploaded_tsv::builtin, get_uploaded_tsv(), hex2bin(), uploaded_tsv::initial_value, line, uploaded_tsv::name, and unpack_varlen_hex().
Referenced by remote_upload_trace_state_variables(), and tfile_interp_line().
|
static |
Definition at line 3950 of file tracepoint.c.
References _, static_tracepoint_marker::address, cleanup_chain, current_uiout, do_cleanups(), static_tracepoint_marker::extra, find_pc_line(), find_pc_sect_function(), static_tracepoint_marker::gdbarch, gdbarch_addr_bit(), init_sal(), symtab_and_line::line, make_cleanup_ui_out_tuple_begin_end(), breakpoint::number, symtab_and_line::pc, static_tracepoint_marker::str_id, SYMBOL_PRINT_NAME, symtab_and_line::symtab, symtab_to_filename_for_display(), symtab_to_fullname(), ui_out_field_core_addr(), ui_out_field_fmt(), ui_out_field_int(), ui_out_field_skip(), ui_out_field_string(), ui_out_is_mi_like_p(), ui_out_spaces(), ui_out_text(), ui_out_wrap_hint(), VEC(), VEC_empty, VEC_free, VEC_iterate, VEC_length, and wrap_indent.
Referenced by info_static_tracepoint_markers_command().
|
static |
Definition at line 1720 of file tracepoint.c.
References _, breakpoint::loc, bp_location::next, bp_location::shlib_disabled, VEC(), VEC_free, VEC_iterate, and warning().
Referenced by query_if_trace_running().
void query_if_trace_running | ( | int | from_tty | ) |
Definition at line 2261 of file tracepoint.c.
References _, current_trace_status(), trace_status::disconnected_tracing, error(), process_tracepoint_on_disconnect(), query(), trace_status::running, and target_get_trace_status.
Referenced by detach_command(), disconnect_command(), and quit_command().
void release_static_tracepoint_marker | ( | struct static_tracepoint_marker * | marker | ) |
Definition at line 3941 of file tracepoint.c.
References static_tracepoint_marker::str_id, and xfree().
Referenced by decode_static_tracepoint_spec(), free_current_marker(), info_static_tracepoint_markers_command(), init_breakpoint_sal(), update_static_tracepoint(), and VEC().
|
static |
Definition at line 674 of file tracepoint.c.
References _, agent_flaw_none, error(), agent_expr::flaw, internal_error(), agent_expr::max_height, and agent_expr::min_height.
Referenced by collect_symbol(), encode_actions_1(), and validate_actionline().
|
static |
Definition at line 3236 of file tracepoint.c.
References xfree().
Referenced by make_cleanup_restore_current_traceframe().
void save_trace_state_variables | ( | struct ui_file * | fp | ) |
Definition at line 556 of file tracepoint.c.
References fprintf_unfiltered(), trace_state_variable::initial_value, trace_state_variable::name, plongest(), and VEC_iterate.
Referenced by save_breakpoints().
|
static |
Definition at line 2703 of file tracepoint.c.
References _, ALL_BLOCK_SYMBOLS, block_for_pc(), BLOCK_FUNCTION, BLOCK_START, BLOCK_SUPERBLOCK, BMSYMBOL_VALUE_ADDRESS, check_typedef(), decode_line_1(), DECODE_LINE_FUNFIRSTLINE, error(), fprintf_filtered(), gdb_assert_not_reached, gdb_stdout, gdbarch_register_name(), hex_string(), LOC_ARG, LOC_BLOCK, LOC_COMPUTED, LOC_CONST, LOC_CONST_BYTES, LOC_LABEL, LOC_LOCAL, LOC_OPTIMIZED_OUT, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_STATIC, LOC_TYPEDEF, LOC_UNDEF, LOC_UNRESOLVED, lookup_minimal_symbol(), bound_minimal_symbol::minsym, symtabs_and_lines::nelts, paddress(), symtab_and_line::pc, plongest(), printf_filtered(), QUIT, resolve_sal_pc(), symtabs_and_lines::sals, symbol_arch(), SYMBOL_BLOCK_VALUE, SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_IS_ARGUMENT, SYMBOL_LINKAGE_NAME, SYMBOL_PRINT_NAME, SYMBOL_REGISTER_OPS, SYMBOL_TYPE, SYMBOL_VALUE, SYMBOL_VALUE_ADDRESS, SYMBOL_VALUE_BYTES, and TYPE_LENGTH.
Referenced by _initialize_tracepoint().
|
static |
Definition at line 4125 of file tracepoint.c.
References allocate_value(), current_target, init_vector_type(), size, TARGET_OBJECT_STATIC_TRACE_DATA, target_read_alloc(), type, value_contents_raw(), and xfree().
|
static |
Definition at line 3105 of file tracepoint.c.
References target_set_circular_trace_buffer.
Referenced by _initialize_tracepoint().
void set_current_traceframe | ( | int | num | ) |
Definition at line 3195 of file tracepoint.c.
References _, clear_traceframe_info(), registers_changed(), set_traceframe_num(), target_trace_find, tfind_number, and warning().
Referenced by do_restore_current_traceframe_cleanup(), fetch_inferior_event(), and tfind_1().
|
static |
Definition at line 3098 of file tracepoint.c.
References target_set_disconnected_tracing.
Referenced by _initialize_tracepoint().
|
static |
Definition at line 3112 of file tracepoint.c.
References target_set_trace_buffer_size.
Referenced by _initialize_tracepoint().
|
static |
Definition at line 3131 of file tracepoint.c.
References _, target_set_trace_notes, and warning().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 3143 of file tracepoint.c.
References _, target_set_trace_notes, and warning().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 3119 of file tracepoint.c.
References _, target_set_trace_notes, and warning().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 254 of file tracepoint.c.
References clear_internalvar(), find_pc_function(), find_pc_line(), get_frame_pc_if_available(), init_sal(), symtab_and_line::line, lookup_internalvar(), set_internalvar_integer(), set_internalvar_string(), SYMBOL_LINKAGE_NAME, symtab_and_line::symtab, and symtab_to_filename_for_display().
Referenced by tfind_1(), and trace_reset_local_state().
|
static |
Definition at line 236 of file tracepoint.c.
References lookup_internalvar(), and set_internalvar_integer().
Referenced by set_current_traceframe(), and trace_reset_local_state().
|
static |
Definition at line 244 of file tracepoint.c.
References lookup_internalvar(), and set_internalvar_integer().
Referenced by tfind_1(), and trace_reset_local_state().
void start_tracing | ( | char * | notes | ) |
Definition at line 1773 of file tracepoint.c.
References _, bp_enabled, bp_fast_tracepoint, current_trace_status(), breakpoint::enable_state, error(), gdb_assert, bp_location::gdbarch, bp_location::inserted, breakpoint::loc, may_insert_fast_tracepoints, may_insert_tracepoints, bp_location::next, breakpoint::number, tracepoint::number_on_target, bound_probe::objfile, observer_notify_breakpoint_modified(), probe::pops, bound_probe::probe, bp_location::probe, trace_status::running, probe_ops::set_semaphore, target_download_trace_state_variable, target_download_tracepoint, target_set_circular_trace_buffer, target_set_disconnected_tracing, target_set_trace_buffer_size, target_set_trace_notes, target_supports_enable_disable_tracepoint, target_trace_init, target_trace_set_readonly_regions, target_trace_start, trace_reset_local_state(), breakpoint::type, VEC(), VEC_free, VEC_iterate, VEC_length, and warning().
Referenced by mi_cmd_trace_start(), and trace_start_command().
void stop_tracing | ( | char * | note | ) |
Definition at line 1936 of file tracepoint.c.
References _, bp_fast_tracepoint, probe_ops::clear_semaphore, current_trace_status(), bp_location::gdbarch, breakpoint::loc, may_insert_fast_tracepoints, may_insert_tracepoints, bp_location::next, bound_probe::objfile, probe::pops, bound_probe::probe, bp_location::probe, trace_status::running, target_set_trace_notes, target_trace_stop, breakpoint::type, VEC(), VEC_free, VEC_iterate, and warning().
Referenced by mi_cmd_trace_stop(), and trace_stop_command().
|
static |
Definition at line 1256 of file tracepoint.c.
References collection_list::aexpr_list, agent_expr::buf, memrange::end, info_verbose, agent_expr::len, collection_list::list, MAX_AGENT_EXPR_LEN, mem2hex(), memrange_absolute, collection_list::next_aexpr_elt, collection_list::next_memrange, printf_filtered(), QUIT, collection_list::regs_mask, savestring(), memrange::start, collection_list::strace_data, memrange::type, xfree(), and xmalloc().
Referenced by encode_actions_rsp().
|
static |
Definition at line 600 of file tracepoint.c.
Referenced by _initialize_tracepoint(), encode_actions_1(), and validate_actionline().
void tfind_1 | ( | enum trace_find_type | type, |
int | num, | ||
CORE_ADDR | addr1, | ||
CORE_ADDR | addr2, | ||
int | from_tty | ||
) |
Definition at line 2313 of file tracepoint.c.
References _, tracepoint::base, current_uiout, do_displays(), error(), frame_id_eq(), get_current_frame(), get_frame_id(), get_selected_frame(), get_traceframe_number(), get_tracepoint_by_number_on_target(), has_stack_frames(), info_verbose, null_frame_id, breakpoint::number, observer_notify_traceframe_changed(), print_stack_frame(), printf_filtered(), printf_unfiltered(), reinit_frame_cache(), set_current_traceframe(), set_traceframe_context(), set_tracepoint_num(), SRC_AND_LOC, SRC_LINE, target_dcache_invalidate(), target_trace_find, tfind_number, trace_find_command(), ui_out_field_int(), ui_out_field_string(), and ui_out_is_mi_like_p().
Referenced by mi_cmd_trace_find(), trace_find_command(), trace_find_line_command(), trace_find_outside_command(), trace_find_pc_command(), trace_find_range_command(), and trace_find_tracepoint_command().
|
static |
Definition at line 649 of file tracepoint.c.
References tracepoint::base, breakpoint_set_commands(), check_tracepoint_command(), do_cleanups(), get_tracepoint_by_number(), make_cleanup(), breakpoint::number, read_command_lines(), xfree(), and xstrprintf().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2868 of file tracepoint.c.
References _, args_info(), command_line::body_count, command_line::body_list, cmd_cfunc_eq(), cmdlist, collect_pseudocommand(), decode_agent_options(), do_cleanups(), error(), free_current_contents(), len, command_line::line, locals_info(), lookup_cmd(), make_cleanup(), command_line::next, output_command_const(), printf_filtered(), QUIT, registers_info(), skip_spaces_const(), while_stepping_pseudocommand(), and xrealloc().
Referenced by trace_dump_command().
|
static |
Definition at line 3047 of file tracepoint.c.
References all_tracepoint_actions_and_cleanup(), do_cleanups(), get_current_frame(), get_traceframe_location(), make_cleanup(), make_cleanup_restore_current_thread(), null_cleanup(), bp_location::owner, printf_filtered(), select_frame(), and trace_dump_actions().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2471 of file tracepoint.c.
References _, check_trace_running(), current_trace_status(), error(), parse_and_eval_long(), tfind_1(), and tfind_number.
Referenced by _initialize_tracepoint(), tfind_1(), trace_find_end_command(), and trace_find_start_command().
|
static |
Definition at line 2507 of file tracepoint.c.
References trace_find_command().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2573 of file tracepoint.c.
References _, check_trace_running(), current_trace_status(), DECODE_LINE_FUNFIRSTLINE, decode_line_with_current_source(), do_cleanups(), error(), find_line_pc_range(), find_pc_line(), gdb_stdout, get_current_arch(), get_current_frame(), get_frame_pc(), symtab_and_line::line, make_cleanup(), symtabs_and_lines::nelts, print_address(), printf_filtered(), symtabs_and_lines::sals, symtab_and_line::symtab, symtab_to_filename_for_display(), tfind_1(), tfind_outside, tfind_range, wrap_here(), xfree(), and xmalloc().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2670 of file tracepoint.c.
References _, current_trace_status(), error(), parse_and_eval_address(), printf_filtered(), skip_spaces(), tfind_1(), and tfind_outside.
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2521 of file tracepoint.c.
References check_trace_running(), current_trace_status(), get_current_regcache(), parse_and_eval_address(), regcache_read_pc(), tfind_1(), and tfind_pc.
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2639 of file tracepoint.c.
References check_trace_running(), current_trace_status(), parse_and_eval_address(), printf_filtered(), skip_spaces(), tfind_1(), and tfind_range.
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2514 of file tracepoint.c.
References trace_find_command().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 2537 of file tracepoint.c.
References _, check_trace_running(), current_trace_status(), error(), get_tracepoint(), tracepoint::number_on_target, parse_and_eval_long(), tfind_1(), and tfind_tp.
Referenced by _initialize_tracepoint().
void trace_reset_local_state | ( | void | ) |
Definition at line 1764 of file tracepoint.c.
References clear_traceframe_info(), set_traceframe_context(), set_traceframe_num(), and set_tracepoint_num().
Referenced by disconnect_tracing(), remote_close(), start_tracing(), and tfile_close().
|
static |
Definition at line 1907 of file tracepoint.c.
References _, current_trace_status(), dont_repeat(), error(), query(), and start_tracing().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 1984 of file tracepoint.c.
References _, trace_status::buffer_free, trace_status::buffer_size, trace_status::circular_buffer, current_trace_status(), trace_status::disconnected_tracing, trace_status::filename, trace_status::notes, printf_filtered(), trace_status::running, trace_status::running_known, trace_status::start_time, status, trace_status::stop_desc, trace_status::stop_reason, trace_status::stop_time, trace_status::stopping_tracepoint, target_get_trace_status, target_get_tracepoint_status, trace_buffer_full, trace_disconnected, trace_never_run, trace_stop_reason_unknown, trace_status::traceframe_count, trace_status::traceframes_created, tracepoint_error, tracepoint_passcount, tstop_command, trace_status::user_name, VEC(), VEC_free, and VEC_iterate.
Referenced by _initialize_tracepoint().
void trace_status_mi | ( | int | on_stop | ) |
Definition at line 2147 of file tracepoint.c.
References trace_status::buffer_free, trace_status::buffer_size, trace_status::circular_buffer, current_trace_status(), current_uiout, trace_status::disconnected_tracing, trace_status::filename, gdb_assert, trace_status::notes, trace_status::running, trace_status::running_known, trace_status::start_time, status, trace_status::stop_desc, trace_status::stop_reason, trace_status::stop_time, trace_status::stopping_tracepoint, target_get_trace_status, trace_buffer_full, trace_disconnected, trace_stop_reason_unknown, trace_status::traceframe_count, trace_status::traceframes_created, tracepoint_error, tracepoint_passcount, tstop_command, ui_out_field_int(), ui_out_field_string(), trace_status::user_name, and xsnprintf().
Referenced by mi_cmd_trace_status(), and mi_cmd_trace_stop().
|
static |
Definition at line 1927 of file tracepoint.c.
References _, current_trace_status(), error(), and stop_tracing().
Referenced by _initialize_tracepoint().
|
static |
Definition at line 389 of file tracepoint.c.
References _, create_trace_state_variable(), do_cleanups(), error(), error_no_arg(), find_trace_state_variable(), trace_state_variable::initial_value, make_cleanup(), trace_state_variable::name, name, observer_notify_tsv_created(), observer_notify_tsv_modified(), parse_and_eval(), plongest(), printf_filtered(), savestring(), skip_spaces(), validate_trace_state_variable_name(), value_as_long(), and xfree().
Referenced by _initialize_tracepoint().
int traceframe_available_memory | ( | VEC(mem_range_s)** | result, |
CORE_ADDR | memaddr, | ||
ULONGEST | len | ||
) |
Definition at line 4291 of file tracepoint.c.
References get_traceframe_info(), len, mem_range::length, max, mem_ranges_overlap(), min, normalize_mem_ranges(), mem_range::start, VEC_iterate, and VEC_safe_push.
Referenced by mi_cmd_trace_frame_collected(), and remote_read_bytes().
|
static |
Definition at line 4175 of file tracepoint.c.
References mem_range::length, mem_range::start, gdb_xml_value::value, VEC_safe_push, and xml_find_attribute().
|
static |
Definition at line 4193 of file tracepoint.c.
References gdb_xml_parse_ulongest(), gdb_xml_value::value, VEC_safe_push, and xml_find_attribute().
|
static |
Definition at line 548 of file tracepoint.c.
References tvariables_info_1().
Referenced by _initialize_tracepoint().
void tvariables_info_1 | ( | void | ) |
Definition at line 482 of file tracepoint.c.
References _, current_trace_status(), current_uiout, do_cleanups(), trace_state_variable::initial_value, make_cleanup(), make_cleanup_ui_out_table_begin_end(), make_cleanup_ui_out_tuple_begin_end(), trace_state_variable::name, name, trace_state_variable::number, plongest(), printf_filtered(), target_get_trace_state_variable_value, ui_left, ui_out_field_string(), ui_out_is_mi_like_p(), ui_out_table_body(), ui_out_table_header(), ui_out_text(), trace_state_variable::value, trace_state_variable::value_known, VEC_iterate, VEC_length, and xfree().
Referenced by mi_cmd_trace_list_variables(), and tvariables_info().
void validate_actionline | ( | const char * | line, |
struct breakpoint * | b | ||
) |
Definition at line 699 of file tracepoint.c.
References _, bp_location::address, ax_reqs(), tracepoint::base, block_for_pc(), cmd_cfunc_eq(), cmdlist, collect_pseudocommand(), decode_agent_options(), do_cleanups(), expression::elts, end_actions_pseudocommand(), error(), free_current_contents(), gen_eval_for_expr(), gen_trace_for_expr(), agent_expr::len, breakpoint::loc, LOC_CONST, LOC_OPTIMIZED_OUT, lookup_cmd(), make_cleanup(), make_cleanup_free_agent_expr(), MAX_AGENT_EXPR_LEN, bp_location::next, exp_element::opcode, parse_exp_1(), plongest(), QUIT, report_agent_reqs_errors(), skip_spaces_const(), tracepoint::step_count, exp_element::symbol, SYMBOL_CLASS, SYMBOL_PRINT_NAME, SYMBOL_VALUE, teval_pseudocommand(), and while_stepping_pseudocommand().
Referenced by all_tracepoint_actions_and_cleanup(), check_tracepoint_command(), and validate_commands_for_breakpoint().
void validate_trace_state_variable_name | ( | const char * | name | ) |
Definition at line 365 of file tracepoint.c.
Referenced by mi_cmd_trace_define_variable(), and trace_variable_command().
|
static |
Definition at line 118 of file tracepoint.c.
Referenced by find_matching_tracepoint_location(), info_static_tracepoint_markers_command(), merge_uploaded_tracepoints(), print_one_static_tracepoint_marker(), process_tracepoint_on_disconnect(), start_tracing(), stop_tracing(), and trace_status_command().
|
static |
Definition at line 588 of file tracepoint.c.
Referenced by _initialize_tracepoint(), encode_actions_1(), trace_dump_actions(), and validate_actionline().
void(* deprecated_trace_find_hook) (char *arg, int from_tty) |
Definition at line 80 of file tracepoint.c.
Definition at line 81 of file tracepoint.c.
|
static |
Definition at line 3159 of file tracepoint.c.
|
static |
Definition at line 4217 of file tracepoint.c.
|
static |
Definition at line 4330 of file tracepoint.c.
|
static |
Definition at line 4228 of file tracepoint.c.
|
static |
Definition at line 4238 of file tracepoint.c.
|
static |
Definition at line 4223 of file tracepoint.c.