GDB (xrefs)
|
Go to the source code of this file.
Classes | |
class | expr::operation |
struct | expression |
struct | expr_completion_base |
Namespaces | |
namespace | expr |
Macros | |
#define | OP(name) name , |
Typedefs | |
typedef std::unique_ptr< operation > | expr::operation_up |
typedef std::unique_ptr< expression > | expression_up |
Enumerations | |
enum | innermost_block_tracker_type { INNERMOST_BLOCK_FOR_SYMBOLS = (1 << 0) , INNERMOST_BLOCK_FOR_REGISTERS = (1 << 1) } |
enum | exp_opcode : uint8_t |
enum | noside { EVAL_NORMAL , EVAL_AVOID_SIDE_EFFECTS } |
enum | range_flag : unsigned { RANGE_STANDARD = 0 , RANGE_LOW_BOUND_DEFAULT = 1 << 0 , RANGE_HIGH_BOUND_DEFAULT = 1 << 1 , RANGE_HIGH_BOUND_EXCLUSIVE = 1 << 2 , RANGE_HAS_STRIDE = 1 << 3 } |
Functions | |
DEF_ENUM_FLAGS_TYPE (enum innermost_block_tracker_type, innermost_block_tracker_types) | |
template<typename T , typename... Arg> | |
operation_up | expr::make_operation (Arg... args) |
expression_up | parse_expression (const char *, innermost_block_tracker *=nullptr, bool void_context_p=false) |
expression_up | parse_expression_with_language (const char *string, enum language lang) |
expression_up | parse_expression_for_completion (const char *, std::unique_ptr< expr_completion_base > *completer) |
expression_up | parse_exp_1 (const char **, CORE_ADDR pc, const struct block *, int, innermost_block_tracker *=nullptr) |
struct value * | evaluate_subexp_do_call (expression *exp, enum noside noside, value *callee, gdb::array_view< value * > argvec, const char *function_name, type *default_return_type) |
const char * | op_name (enum exp_opcode opcode) |
DEF_ENUM_FLAGS_TYPE (enum range_flag, range_flags) | |
Definition at line 45 of file expression.h.
typedef std::unique_ptr<expression> expression_up |
Definition at line 229 of file expression.h.
enum exp_opcode : uint8_t |
Definition at line 43 of file expression.h.
Enumerator | |
---|---|
INNERMOST_BLOCK_FOR_SYMBOLS | |
INNERMOST_BLOCK_FOR_REGISTERS |
Definition at line 32 of file expression.h.
enum noside |
Enumerator | |
---|---|
EVAL_NORMAL | |
EVAL_AVOID_SIDE_EFFECTS |
Definition at line 54 of file expression.h.
enum range_flag : unsigned |
Enumerator | |
---|---|
RANGE_STANDARD | |
RANGE_LOW_BOUND_DEFAULT | |
RANGE_HIGH_BOUND_DEFAULT | |
RANGE_HIGH_BOUND_EXCLUSIVE | |
RANGE_HAS_STRIDE |
Definition at line 292 of file expression.h.
DEF_ENUM_FLAGS_TYPE | ( | enum | innermost_block_tracker_type, |
innermost_block_tracker_types | |||
) |
DEF_ENUM_FLAGS_TYPE | ( | enum | range_flag, |
range_flags | |||
) |
struct value * evaluate_subexp_do_call | ( | expression * | exp, |
enum noside | noside, | ||
value * | callee, | ||
gdb::array_view< value * > | argvec, | ||
const char * | function_name, | ||
type * | default_return_type | ||
) |
Definition at line 608 of file eval.c.
References allocate_value(), builtin_type::builtin_int, call_function_by_hand(), call_internal_function(), call_xmethod(), code, type::code(), error_call_unknown_return_type(), EVAL_AVOID_SIDE_EFFECTS, find_gnu_ifunc_target_type(), expression::gdbarch, type::is_gnu_ifunc(), expression::language_defn, not_lval, result_type_of_xmethod(), type::target_type(), value_address(), value_type(), and value_zero().
Referenced by expr::adl_func_operation::evaluate(), expr::fortran_undetermined::evaluate(), expr::operation::evaluate_funcall(), expr::scope_operation::evaluate_funcall(), expr::var_value_operation::evaluate_funcall(), expr::structop_base_operation::evaluate_funcall(), and expr::structop_member_base::evaluate_funcall().
const char * op_name | ( | enum exp_opcode | opcode | ) |
Definition at line 43 of file expprint.c.
Referenced by expr::dump_for_expression(), dwarf_expr_require_composition(), ensure_have_frame(), and ensure_have_per_cu().
expression_up parse_exp_1 | ( | const char ** | stringptr, |
CORE_ADDR | pc, | ||
const struct block * | block, | ||
int | comma, | ||
innermost_block_tracker * | tracker = nullptr |
||
) |
Definition at line 424 of file parse.c.
References parse_exp_in_context().
Referenced by ada_read_renaming_var_value(), agent_eval_command_one(), create_breakpoint(), create_excep_cond_exprs(), encode_actions_1(), find_condition_and_thread(), maint_agent_printf_command(), parse_cmd_to_aexpr(), parse_to_comma_and_eval(), set_breakpoint_condition(), set_breakpoint_location_condition(), update_breakpoint_locations(), update_watchpoint(), validate_actionline(), varobj_create(), varobj_set_value(), and watch_command_1().
expression_up parse_expression | ( | const char * | string, |
innermost_block_tracker * | tracker = nullptr , |
||
bool | void_context_p = false |
||
) |
Definition at line 546 of file parse.c.
References parse_exp_in_context().
Referenced by check_thread_db_callback(), display_command(), do_one_display(), dump_arc_instruction_command(), execute_control_command_1(), gnuv3_get_type_from_type_info(), info_mach_region_command(), init_if_undefined_command(), maintenance_print_type(), mi_cmd_data_evaluate_expression(), output_command(), parse_and_eval(), parse_and_eval_address(), parse_and_eval_long(), parse_and_eval_type(), parse_expression_with_language(), print_object_command(), print_variable_or_computed(), process_print_command_args(), return_command(), set_command(), whatis_exp(), and x_command().
expression_up parse_expression_for_completion | ( | const char * | string, |
std::unique_ptr< expr_completion_base > * | completer | ||
) |
Definition at line 578 of file parse.c.
References parse_exp_in_context().
Referenced by complete_expression().
expression_up parse_expression_with_language | ( | const char * | string, |
enum language | lang | ||
) |
Definition at line 561 of file parse.c.
References current_language, language_defn::la_language, parse_expression(), and set_language().
Referenced by dtrace_process_dof_probe().