GDB (xrefs)
|
#include "gdb_vecs.h"
Go to the source code of this file.
typedef struct info_probe_column info_probe_column_s |
typedef struct probe_ops* probe_ops_cp |
int can_evaluate_probe_arguments | ( | struct probe * | probe | ) |
Definition at line 634 of file probe.c.
References sym_probe_fns::can_evaluate_probe_arguments, gdb_assert, probe::objfile, objfile::sf, and sym_fns::sym_probe_fns.
Referenced by create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), and svr4_create_solib_event_breakpoints().
struct value* evaluate_probe_argument | ( | struct probe * | probe, |
unsigned | n | ||
) | [read] |
Definition at line 651 of file probe.c.
References gdb_assert, probe::objfile, objfile::sf, sym_probe_fns::sym_evaluate_probe_argument, and sym_fns::sym_probe_fns.
Referenced by probe_safe_evaluate_at_pc(), and svr4_handle_solib_event().
struct probe* find_probe_by_pc | ( | CORE_ADDR | pc | ) | [read] |
Definition at line 208 of file probe.c.
References probe::address, ALL_OBJFILES, objfile::sf, sym_fns::sym_probe_fns, VEC, and VEC_iterate.
Referenced by check_exception_resume(), compile_probe_arg(), compute_probe_arg(), fetch_probe_arguments(), and probe_safe_evaluate_at_pc().
unsigned get_probe_argument_count | ( | struct probe * | probe | ) |
Definition at line 617 of file probe.c.
References gdb_assert, probe::objfile, objfile::sf, sym_probe_fns::sym_get_probe_argument_count, and sym_fns::sym_probe_fns.
Referenced by probe_safe_evaluate_at_pc(), and solib_event_probe_action().
struct cmd_list_element** info_probes_cmdlist_get | ( | void | ) | [read] |
Definition at line 751 of file probe.c.
References _, add_prefix_cmd(), class_info, info_probes_command(), and infolist.
void info_probes_for_ops | ( | char * | arg, |
int | from_tty, | ||
const struct probe_ops * | pops | ||
) |
Definition at line 471 of file probe.c.
References _, probe::address, compare_probes(), current_uiout, do_cleanups(), extract_arg(), gdbarch_addr_bit(), gen_ui_out_table_header_info(), get_current_arch(), get_number_extra_fields(), get_objfile_arch(), make_cleanup(), make_cleanup_ui_out_table_begin_end(), make_cleanup_ui_out_tuple_begin_end(), max, probe::name, null_cleanup(), probe::objfile, objfile_name(), probe::pops, print_ui_out_info(), probe::provider, provider, qsort, ui_left, ui_out_field_core_addr(), ui_out_field_string(), ui_out_message(), ui_out_table_body(), ui_out_table_header(), ui_out_text(), VEC, VEC_address, VEC_cleanup, VEC_empty, VEC_iterate, VEC_length, and xfree().
Referenced by info_probes_command(), and info_probes_stap_command().
struct symtabs_and_lines parse_probes | ( | char ** | argptr, |
struct linespec_result * | canon | ||
) | [read] |
Definition at line 41 of file probe.c.
References _, probe::address, ALL_PSPACE_OBJFILES, ALL_PSPACES, do_cleanups(), error(), symtab_and_line::explicit_pc, find_pc_overlay(), gdb_assert, init_sal(), make_cleanup(), name, probe::name, symtabs_and_lines::nelts, NOT_FOUND_ERROR, objfile_name(), p, symtab_and_line::pc, probe::pops, symtab_and_line::probe, probe_linespec_to_ops(), probe_ops_any, probe::provider, provider, symtab_and_line::pspace, symtabs_and_lines::sals, savestring(), symtab_and_line::section, objfile::sf, skip_spaces(), skip_to_space, strchr(), sym_fns::sym_probe_fns, throw_error(), VEC, VEC_iterate, xfree(), and xrealloc().
Referenced by bkpt_probe_create_sals_from_address(), bkpt_probe_decode_linespec(), and re_set_exception_catchpoint().
int probe_is_linespec_by_keyword | ( | const char ** | linespecp, |
const char *const * | keywords | ||
) |
Definition at line 702 of file probe.c.
References len.
Referenced by probe_any_is_linespec(), and stap_probe_is_linespec().
struct probe_ops* probe_linespec_to_ops | ( | const char ** | linespecp | ) | [read] |
Definition at line 687 of file probe.c.
References probe_ops::is_linespec, and VEC_iterate.
Referenced by break_command_1(), parse_probes(), and trace_command().
struct value* probe_safe_evaluate_at_pc | ( | struct frame_info * | frame, |
unsigned | n | ||
) | [read] |
Definition at line 668 of file probe.c.
References evaluate_probe_argument(), find_probe_by_pc(), get_frame_pc(), and get_probe_argument_count().
Referenced by handle_inferior_event(), and insert_exception_resume_from_probe().
void register_probe_ops | ( | struct probe * | probe | ) |
VEC | ( | probe_ops_cp | ) |
Definition at line 772 of file probe.c.
References _initialize_probe.
struct probe_ops probe_ops_any |
Definition at line 742 of file probe.c.
Referenced by parse_probes().
Definition at line 205 of file probe.h.
Referenced by info_probes_for_ops(), and parse_probes().