|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| union | exp_element |
| struct | expression |
Macros | |
| #define | OP(name) name , |
| #define | EXP_ELEM_TO_BYTES(elements) ((elements) * sizeof (union exp_element)) |
| #define | BYTES_TO_EXP_ELEM(bytes) (((bytes) + sizeof (union exp_element) - 1) / sizeof (union exp_element)) |
Typedefs | |
| typedef gdb::unique_xmalloc_ptr< expression > | expression_up |
Enumerations | |
| enum | exp_opcode { OP, OP } |
| enum | noside { EVAL_NORMAL, EVAL_SKIP, EVAL_AVOID_SIDE_EFFECTS } |
| enum | range_type { BOTH_BOUND_DEFAULT, LOW_BOUND_DEFAULT, HIGH_BOUND_DEFAULT, NONE_BOUND_DEFAULT } |
Functions | |
| expression_up | parse_expression (const char *) |
| expression_up | parse_expression_with_language (const char *string, enum language lang) |
| struct type * | parse_expression_for_completion (const char *, char **, enum type_code *) |
| expression_up | parse_exp_1 (const char **, CORE_ADDR pc, const struct block *, int) |
| struct value * | evaluate_subexp_standard (struct type *, struct expression *, int *, enum noside) |
| void | print_expression (struct expression *, struct ui_file *) |
| const char * | op_name (struct expression *exp, enum exp_opcode opcode) |
| const char * | op_string (enum exp_opcode) |
| void | dump_raw_expression (struct expression *, struct ui_file *, const char *) |
| void | dump_prefix_expression (struct expression *, struct ui_file *) |
Variables | |
| int | parse_completion |
| const struct block * | innermost_block |
| #define BYTES_TO_EXP_ELEM | ( | bytes | ) | (((bytes) + sizeof (union exp_element) - 1) / sizeof (union exp_element)) |
Definition at line 94 of file expression.h.
Referenced by ada_evaluate_subexp(), ada_forward_operator_length(), dump_subexp_body_standard(), evaluate_funcall(), evaluate_subexp_c(), evaluate_subexp_for_address(), evaluate_subexp_opencl(), evaluate_subexp_standard(), extract_field_op(), gen_expr(), operator_length_standard(), print_subexp_standard(), resolve_subexp(), rust_dump_subexp_body(), rust_evaluate_funcall(), rust_evaluate_subexp(), rust_print_subexp(), write_exp_bitstring(), write_exp_string(), and write_exp_string_vector().
| #define EXP_ELEM_TO_BYTES | ( | elements | ) | ((elements) * sizeof (union exp_element)) |
Definition at line 92 of file expression.h.
Referenced by increase_expout_size(), prefixify_expression(), prefixify_subexp(), parser_state::release(), replace_operator_with_call(), write_exp_elt(), and write_exp_string_vector().
Definition at line 44 of file expression.h.
Definition at line 87 of file expression.h.
| enum exp_opcode |
| Enumerator | |
|---|---|
| OP | |
| OP | |
Definition at line 42 of file expression.h.
| enum noside |
| Enumerator | |
|---|---|
| EVAL_NORMAL | |
| EVAL_SKIP | |
| EVAL_AVOID_SIDE_EFFECTS | |
Definition at line 123 of file expression.h.
| enum range_type |
| Enumerator | |
|---|---|
| BOTH_BOUND_DEFAULT | |
| LOW_BOUND_DEFAULT | |
| HIGH_BOUND_DEFAULT | |
| NONE_BOUND_DEFAULT | |
Definition at line 161 of file expression.h.
| void dump_prefix_expression | ( | struct expression * | , |
| struct ui_file * | |||
| ) |
Definition at line 1139 of file expprint.c.
References dump_subexp(), fprintf_filtered(), fputs_filtered(), gdb_print_host_address, language_defn::la_name, expression::language_defn, expression::nelts, and print_expression().
Referenced by stap_probe::parse_arguments(), and parse_exp_in_context_1().
| void dump_raw_expression | ( | struct expression * | , |
| struct ui_file * | , | ||
| const char * | |||
| ) |
Definition at line 718 of file expprint.c.
References expression::elts, fprintf_filtered(), gdb_print_host_address, language_defn::la_name, expression::language_defn, exp_element::longconst, expression::nelts, op_name(), exp_element::opcode, and print_longest().
Referenced by stap_probe::parse_arguments(), and parse_exp_in_context_1().
| struct value* evaluate_subexp_standard | ( | struct type * | , |
| struct expression * | , | ||
| int * | , | ||
| enum | noside | ||
| ) |
| const char* op_name | ( | struct expression * | exp, |
| enum exp_opcode | opcode | ||
| ) |
Definition at line 686 of file expprint.c.
References language_defn::la_exp_desc, expression::language_defn, exp_descriptor::op_name, and op_print::opcode.
Referenced by dump_raw_expression(), dump_subexp(), dwarf_expr_require_composition(), and gen_expr().
| const char* op_string | ( | enum | exp_opcode | ) |
Definition at line 666 of file expprint.c.
References current_language, language_defn::la_op_print_tab, op_print::opcode, and op_print::string.
Referenced by ada_value_binop().
| expression_up parse_exp_1 | ( | const char ** | , |
| CORE_ADDR | pc, | ||
| const struct block * | , | ||
| int | |||
| ) |
Definition at line 1089 of file parse.c.
References parse_exp_in_context().
Referenced by ada_read_renaming_var_value(), agent_eval_command_one(), create_excep_cond_exprs(), encode_actions_1(), find_condition_and_thread(), init_breakpoint_sal(), maint_agent_printf_command(), parse_cmd_to_aexpr(), parse_expression(), parse_to_comma_and_eval(), set_breakpoint_condition(), update_breakpoint_locations(), update_watchpoint(), validate_actionline(), varobj_create(), varobj_set_value(), and watch_command_1().
| expression_up parse_expression | ( | const char * | ) |
Definition at line 1237 of file parse.c.
References _, error(), and parse_exp_1().
Referenced by 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_const(), parse_and_eval(), parse_and_eval_address(), parse_and_eval_long(), parse_and_eval_type(), parse_expression_with_language(), print_command_1(), print_object_command(), print_variable_or_computed(), return_command(), set_command(), whatis_exp(), and x_command().
Definition at line 1270 of file parse.c.
References CATCH, code, END_CATCH, evaluate_subexpression_type(), expout_completion_name, expout_last_struct, expout_tag_completion_type, extract_field_op(), name, parse_completion, parse_exp_in_context(), RETURN_MASK_ERROR, TRY, TYPE_CODE_UNDEF, and value_type().
Referenced by complete_expression().
| expression_up parse_expression_with_language | ( | const char * | string, |
| enum language | lang | ||
| ) |
Definition at line 1249 of file parse.c.
References current_language, gdb::optional< T >::emplace(), language_defn::la_language, parse_expression(), and set_language().
Referenced by dtrace_process_dof_probe().
| void print_expression | ( | struct expression * | , |
| struct ui_file * | |||
| ) |
Definition at line 36 of file expprint.c.
References PREC_NULL, and print_subexp().
Referenced by collection_list::append_exp(), dump_prefix_expression(), and print_varobj().
| const struct block* innermost_block |
Definition at line 71 of file parse.c.
Referenced by clear_symtab_users(), display_command(), do_one_display(), resolve_subexp(), set_breakpoint_condition(), update_innermost_block(), varobj_create(), watch_command_1(), write_var_from_sym(), yyparse(), and objfile::~objfile().
| int parse_completion |
Definition at line 80 of file parse.c.
Referenced by ada_resolve_function(), lex_identifier(), lex_one_token(), mark_completion_tag(), mark_struct_expression(), parse_exp_in_context_1(), parse_expression_for_completion(), rust_parse(), rustyylex(), and yylex().
1.8.14