|
GDB (xrefs)
|
Public Member Functions | |
| stap_probe (std::string &&name_, std::string &&provider_, CORE_ADDR address_, struct gdbarch *arch_, CORE_ADDR sem_addr, const char *args_text) | |
| CORE_ADDR | get_relocated_address (struct objfile *objfile) override |
| unsigned | get_argument_count (struct frame_info *frame) override |
| bool | can_evaluate_arguments () const override |
| struct value * | evaluate_argument (unsigned n, struct frame_info *frame) override |
| void | compile_to_ax (struct agent_expr *aexpr, struct axs_value *axs_value, unsigned n) override |
| void | set_semaphore (struct objfile *objfile, struct gdbarch *gdbarch) override |
| void | clear_semaphore (struct objfile *objfile, struct gdbarch *gdbarch) override |
| const static_probe_ops * | get_static_ops () const override |
| std::vector< const char * > | gen_info_probes_table_values () const override |
| struct stap_probe_arg * | get_arg_by_number (unsigned n, struct gdbarch *gdbarch) |
| void | parse_arguments (struct gdbarch *gdbarch) |
Public Member Functions inherited from probe | |
| probe (std::string &&name_, std::string &&provider_, CORE_ADDR address_, struct gdbarch *arch_) | |
| virtual | ~probe () |
| virtual void | enable () |
| virtual void | disable () |
| const std::string & | get_name () const |
| const std::string & | get_provider () const |
| CORE_ADDR | get_address () const |
| struct gdbarch * | get_gdbarch () const |
Private Attributes | |
| CORE_ADDR | m_sem_addr |
| bool | m_have_parsed_args |
| const char * | m_unparsed_args_text |
| std::vector< struct stap_probe_arg > | m_parsed_args |
Definition at line 124 of file stap-probe.c.
|
inline |
Definition at line 128 of file stap-probe.c.
|
overridevirtual |
Implements probe.
Definition at line 1357 of file stap-probe.c.
References gdbarch_stap_is_single_operand_p(), and probe::get_gdbarch().
Referenced by get_argument_count().
|
overridevirtual |
Reimplemented from probe.
Definition at line 1458 of file stap-probe.c.
References m_sem_addr, relocate_address(), and stap_modify_semaphore().
|
overridevirtual |
Implements probe.
Definition at line 1386 of file stap-probe.c.
References stap_probe_arg::aexpr, stap_probe_arg::atype, agent_expr::gdbarch, gen_expr(), get_arg_by_number(), require_rvalue(), and value::type.
|
overridevirtual |
Implements probe.
Definition at line 1371 of file stap-probe.c.
References stap_probe_arg::aexpr, stap_probe_arg::atype, EVAL_NORMAL, evaluate_subexp_standard(), get_arg_by_number(), and get_frame_arch().
|
overridevirtual |
Reimplemented from probe.
Definition at line 1474 of file stap-probe.c.
References probe::get_gdbarch(), m_sem_addr, and print_core_address().
|
inline |
Definition at line 172 of file stap-probe.c.
References _, gdb_assert, probe::get_name(), internal_error(), m_have_parsed_args, m_parsed_args, and parse_arguments().
Referenced by compile_to_ax(), and evaluate_argument().
|
overridevirtual |
Implements probe.
Definition at line 1288 of file stap-probe.c.
References _, can_evaluate_arguments(), gdb_assert, get_frame_arch(), m_have_parsed_args, m_parsed_args, parse_arguments(), and warning().
Implements probe.
Definition at line 1279 of file stap-probe.c.
References probe::get_address(), and relocate_address().
|
overridevirtual |
| void stap_probe::parse_arguments | ( | struct gdbarch * | gdbarch | ) |
Definition at line 1173 of file stap-probe.c.
References _, dump_prefix_expression(), dump_raw_expression(), gdb_assert, gdb_stdlog, probe::get_name(), m_have_parsed_args, m_parsed_args, m_unparsed_args_text, prefixify_expression(), skip_spaces(), STAP_ARG_BITNESS_16BIT_SIGNED, STAP_ARG_BITNESS_16BIT_UNSIGNED, STAP_ARG_BITNESS_32BIT_SIGNED, STAP_ARG_BITNESS_32BIT_UNSIGNED, STAP_ARG_BITNESS_64BIT_SIGNED, STAP_ARG_BITNESS_64BIT_UNSIGNED, STAP_ARG_BITNESS_8BIT_SIGNED, STAP_ARG_BITNESS_8BIT_UNSIGNED, STAP_ARG_BITNESS_UNDEFINED, stap_expression_debug, stap_get_expected_argument_type(), stap_parse_argument(), and warning().
Referenced by get_arg_by_number(), and get_argument_count().
|
overridevirtual |
Reimplemented from probe.
Definition at line 1450 of file stap-probe.c.
References m_sem_addr, relocate_address(), and stap_modify_semaphore().
|
private |
Definition at line 216 of file stap-probe.c.
Referenced by get_arg_by_number(), get_argument_count(), and parse_arguments().
|
private |
Definition at line 224 of file stap-probe.c.
Referenced by get_arg_by_number(), get_argument_count(), and parse_arguments().
|
private |
Definition at line 213 of file stap-probe.c.
Referenced by clear_semaphore(), gen_info_probes_table_values(), and set_semaphore().
|
private |
Definition at line 219 of file stap-probe.c.
Referenced by parse_arguments().
1.8.14