GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "symfile.h"
#include "gdbtypes.h"
#include "language.h"
#include "value.h"
#include "expression.h"
#include "command.h"
#include "gdbcmd.h"
#include "frame.h"
#include "target.h"
#include "ax.h"
#include "ax-gdb.h"
#include "block.h"
#include "regcache.h"
#include "user-regs.h"
#include "dictionary.h"
#include "breakpoint.h"
#include "tracepoint.h"
#include "cp-support.h"
#include "arch-utils.h"
#include "cli/cli-utils.h"
#include "linespec.h"
#include "location.h"
#include "objfiles.h"
#include "typeprint.h"
#include "valprint.h"
#include "c-lang.h"
#include "expop.h"
#include "gdbsupport/format.h"
Go to the source code of this file.
Namespaces | |
namespace | expr |
Functions | |
static void | gen_traced_pop (struct agent_expr *, struct axs_value *) |
static void | gen_sign_extend (struct agent_expr *, struct type *) |
static void | gen_extend (struct agent_expr *, struct type *) |
static void | gen_fetch (struct agent_expr *, struct type *) |
static void | gen_left_shift (struct agent_expr *, int) |
static void | gen_frame_args_address (struct agent_expr *) |
static void | gen_frame_locals_address (struct agent_expr *) |
static void | gen_offset (struct agent_expr *ax, int offset) |
static void | gen_sym_offset (struct agent_expr *, struct symbol *) |
static void | gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var) |
static void | gen_int_literal (struct agent_expr *ax, struct axs_value *value, LONGEST k, struct type *type) |
static void | gen_usual_unary (struct agent_expr *ax, struct axs_value *value) |
static int | type_wider_than (struct type *type1, struct type *type2) |
static struct type * | max_type (struct type *type1, struct type *type2) |
static void | gen_conversion (struct agent_expr *ax, struct type *from, struct type *to) |
static int | is_nontrivial_conversion (struct type *from, struct type *to) |
static void | gen_usual_arithmetic (struct agent_expr *ax, struct axs_value *value1, struct axs_value *value2) |
static void | gen_integral_promotions (struct agent_expr *ax, struct axs_value *value) |
static void | gen_cast (struct agent_expr *ax, struct axs_value *value, struct type *type) |
static void | gen_scale (struct agent_expr *ax, enum agent_op op, struct type *type) |
static void | gen_ptradd (struct agent_expr *ax, struct axs_value *value, struct axs_value *value1, struct axs_value *value2) |
static void | gen_ptrsub (struct agent_expr *ax, struct axs_value *value, struct axs_value *value1, struct axs_value *value2) |
static void | gen_ptrdiff (struct agent_expr *ax, struct axs_value *value, struct axs_value *value1, struct axs_value *value2, struct type *result_type) |
static void | gen_binop (struct agent_expr *ax, struct axs_value *value, struct axs_value *value1, struct axs_value *value2, enum agent_op op, enum agent_op op_unsigned, int may_carry, const char *name) |
static void | gen_logical_not (struct agent_expr *ax, struct axs_value *value, struct type *result_type) |
static void | gen_complement (struct agent_expr *ax, struct axs_value *value) |
static void | gen_deref (struct axs_value *) |
static void | gen_address_of (struct axs_value *) |
static void | gen_bitfield_ref (struct agent_expr *ax, struct axs_value *value, struct type *type, int start, int end) |
static void | gen_primitive_field (struct agent_expr *ax, struct axs_value *value, int offset, int fieldno, struct type *type) |
static int | gen_struct_ref_recursive (struct agent_expr *ax, struct axs_value *value, const char *field, int offset, struct type *type) |
static void | gen_struct_ref (struct agent_expr *ax, struct axs_value *value, const char *field, const char *operator_name, const char *operand_name) |
static void | gen_static_field (struct agent_expr *ax, struct axs_value *value, struct type *type, int fieldno) |
static void | gen_expr_binop_rest (struct expression *exp, enum exp_opcode op, struct agent_expr *ax, struct axs_value *value, struct axs_value *value1, struct axs_value *value2) |
static void | gen_trace_static_fields (struct agent_expr *ax, struct type *type) |
static struct type * | strip_range_type (struct type *type) |
static void | gen_msym_var_ref (agent_expr *ax, axs_value *value, minimal_symbol *msymbol, objfile *objf) |
void | require_rvalue (struct agent_expr *ax, struct axs_value *value) |
static void | gen_equal (struct agent_expr *ax, struct axs_value *value, struct axs_value *value1, struct axs_value *value2, struct type *result_type) |
static void | gen_less (struct agent_expr *ax, struct axs_value *value, struct axs_value *value1, struct axs_value *value2, struct type *result_type) |
static int | gen_namespace_elt (struct agent_expr *ax, struct axs_value *value, const struct type *curtype, const char *name) |
static int | gen_maybe_namespace_elt (struct agent_expr *ax, struct axs_value *value, const struct type *curtype, const char *name) |
static int | gen_struct_elt_for_reference (struct agent_expr *ax, struct axs_value *value, struct type *type, const char *fieldname) |
static int | gen_aggregate_elt_ref (struct agent_expr *ax, struct axs_value *value, struct type *type, const char *field) |
void | gen_expr_binop (struct expression *exp, enum exp_opcode op, expr::operation *lhs, expr::operation *rhs, struct agent_expr *ax, struct axs_value *value) |
void | gen_expr_structop (struct expression *exp, enum exp_opcode op, expr::operation *lhs, const char *name, struct agent_expr *ax, struct axs_value *value) |
void | gen_expr_unop (struct expression *exp, enum exp_opcode op, expr::operation *lhs, struct agent_expr *ax, struct axs_value *value) |
agent_expr_up | gen_trace_for_var (CORE_ADDR scope, struct gdbarch *gdbarch, struct symbol *var, int trace_string) |
agent_expr_up | gen_trace_for_expr (CORE_ADDR scope, struct expression *expr, int trace_string) |
agent_expr_up | gen_eval_for_expr (CORE_ADDR scope, struct expression *expr) |
agent_expr_up | gen_trace_for_return_address (CORE_ADDR scope, struct gdbarch *gdbarch, int trace_string) |
agent_expr_up | gen_printf (CORE_ADDR scope, struct gdbarch *gdbarch, CORE_ADDR function, LONGEST channel, const char *format, int fmtlen, int nargs, struct expression **exprs) |
static void | agent_eval_command_one (const char *exp, int eval, CORE_ADDR pc) |
static void | maint_agent_command_1 (const char *exp, int eval) |
static void | maint_agent_command (const char *exp, int from_tty) |
static void | maint_agent_eval_command (const char *exp, int from_tty) |
static void | maint_agent_printf_command (const char *cmdrest, int from_tty) |
void | _initialize_ax_gdb () |
void _initialize_ax_gdb | ( | ) |
Definition at line 2643 of file ax-gdb.c.
Referenced by initialize_all_files().
|
static |
Definition at line 2473 of file ax-gdb.c.
References ax_print(), ax_reqs(), block_for_pc(), decode_agent_options(), dont_repeat(), gdb_stdout, gen_eval_for_expr(), gen_trace_for_expr(), gen_trace_for_return_address(), get_current_arch(), and parse_exp_1().
Referenced by maint_agent_command_1().
|
static |
Definition at line 1128 of file ax-gdb.c.
References axs_lvalue_memory, axs_lvalue_register, axs_rvalue, type::code(), lookup_pointer_type(), and value::type().
Referenced by gen_expr_unop().
|
static |
Definition at line 1567 of file ax-gdb.c.
References type::code(), gen_namespace_elt(), and gen_struct_elt_for_reference().
Referenced by expr::scope_operation::do_generate_ax().
|
static |
Definition at line 1056 of file ax-gdb.c.
References ax_simple(), axs_rvalue, type::code(), gen_extend(), type::is_unsigned(), name, strip_range_type(), axs_value::type, and value::type().
Referenced by gen_equal(), gen_expr_binop_rest(), gen_expr_unop(), and gen_less().
|
static |
Definition at line 1158 of file ax-gdb.c.
References ax_ext(), ax_simple(), ax_trace_quick(), ax_zero_ext(), axs_rvalue, check_typedef(), agent_expr::gdbarch, gdbarch_byte_order(), gen_left_shift(), gen_offset(), type::is_unsigned(), agent_expr::tracing, type, and value::type().
Referenced by gen_primitive_field().
|
static |
Definition at line 898 of file ax-gdb.c.
References check_typedef(), type::code(), gen_conversion(), require_rvalue(), strip_range_type(), type, and value::type().
Referenced by expr::operation::generate_ax().
|
static |
Definition at line 1090 of file ax-gdb.c.
References ax_simple(), type::code(), gen_extend(), strip_range_type(), and value::type().
Referenced by gen_expr_unop().
|
static |
Definition at line 788 of file ax-gdb.c.
References gen_extend(), type::is_unsigned(), and type::length().
Referenced by gen_cast(), gen_integral_promotions(), gen_usual_arithmetic(), and is_nontrivial_conversion().
|
static |
Definition at line 1106 of file ax-gdb.c.
References axs_lvalue_memory, axs_rvalue, check_typedef(), type::code(), type::is_pointer_or_reference(), type::target_type(), and value::type().
Referenced by gen_expr_binop_rest(), gen_expr_unop(), and gen_struct_ref().
|
static |
Definition at line 1022 of file ax-gdb.c.
References ax_simple(), axs_rvalue, gen_binop(), type::is_pointer_or_reference(), axs_value::type, and value::type().
Referenced by gen_expr_binop_rest().
agent_expr_up gen_eval_for_expr | ( | CORE_ADDR | scope, |
struct expression * | expr ) |
Definition at line 2393 of file ax-gdb.c.
References ax_simple(), value::optimized_out(), and require_rvalue().
Referenced by agent_eval_command_one(), remote_target::download_tracepoint(), encode_actions_1(), parse_cond_to_aexpr(), and validate_actionline().
void gen_expr_binop | ( | struct expression * | exp, |
enum exp_opcode | op, | ||
expr::operation * | lhs, | ||
expr::operation * | rhs, | ||
struct agent_expr * | ax, | ||
struct axs_value * | value ) |
Definition at line 2230 of file ax-gdb.c.
References gen_expr_binop_rest(), gen_usual_unary(), and expr::operation::generate_ax().
Referenced by expr::ada_binop_equal_operation::do_generate_ax(), expr::add_operation::do_generate_ax(), expr::sub_operation::do_generate_ax(), and expr::usual_ax_binop_operation< OP, FUNC >::do_generate_ax().
|
static |
Definition at line 2083 of file ax-gdb.c.
References ax_simple(), binop_types_user_defined_p(), builtin_type::builtin_int, builtin_type::builtin_long, builtin_type(), check_typedef(), type::code(), agent_expr::gdbarch, gen_binop(), gen_deref(), gen_equal(), gen_less(), gen_logical_not(), gen_ptradd(), gen_ptrdiff(), gen_ptrsub(), gen_usual_arithmetic(), gen_usual_unary(), is_integral_type(), type::is_pointer_or_reference(), type::name(), strip_range_type(), axs_value::type, and type.
Referenced by expr::assign_modify_operation::do_generate_ax(), and gen_expr_binop().
void gen_expr_structop | ( | struct expression * | exp, |
enum exp_opcode | op, | ||
expr::operation * | lhs, | ||
const char * | name, | ||
struct agent_expr * | ax, | ||
struct axs_value * | value ) |
Definition at line 2247 of file ax-gdb.c.
References gen_struct_ref(), expr::operation::generate_ax(), and name.
Referenced by expr::structop_operation::do_generate_ax(), and expr::structop_ptr_operation::do_generate_ax().
void gen_expr_unop | ( | struct expression * | exp, |
enum exp_opcode | op, | ||
expr::operation * | lhs, | ||
struct agent_expr * | ax, | ||
struct axs_value * | value ) |
Definition at line 2268 of file ax-gdb.c.
References builtin_type::builtin_int, agent_expr::gdbarch, gen_address_of(), gen_binop(), gen_complement(), gen_deref(), gen_int_literal(), gen_integral_promotions(), gen_logical_not(), gen_usual_arithmetic(), gen_usual_unary(), expr::operation::generate_ax(), type::is_pointer_or_reference(), and value::type().
Referenced by expr::usual_ax_unop_operation< OP, FUNC >::do_generate_ax().
|
static |
Definition at line 348 of file ax-gdb.c.
References ax_ext(), ax_zero_ext(), bits, type::is_unsigned(), and type::length().
Referenced by expr::unop_extract_operation::do_generate_ax(), gen_binop(), gen_complement(), gen_conversion(), gen_ptradd(), gen_ptrsub(), and require_rvalue().
|
static |
Definition at line 371 of file ax-gdb.c.
References ax_simple(), ax_trace_quick(), type::code(), gen_sign_extend(), type::length(), type::name(), strip_range_type(), and agent_expr::tracing.
Referenced by gen_traced_pop(), gen_var_ref(), and require_rvalue().
|
static |
Definition at line 453 of file ax-gdb.c.
References ax_reg(), agent_expr::gdbarch, gdbarch_virtual_frame_pointer(), gen_offset(), and agent_expr::scope.
Referenced by gen_var_ref().
|
static |
Definition at line 468 of file ax-gdb.c.
References ax_reg(), agent_expr::gdbarch, gdbarch_virtual_frame_pointer(), gen_offset(), and agent_expr::scope.
Referenced by gen_var_ref().
|
static |
Definition at line 656 of file ax-gdb.c.
References ax_const_l(), axs_rvalue, check_typedef(), and value::type().
Referenced by expr::long_const_operation::do_generate_ax(), and gen_expr_unop().
|
static |
Definition at line 879 of file ax-gdb.c.
References builtin_type::builtin_int, builtin_type(), builtin_type::builtin_unsigned_int, agent_expr::gdbarch, gen_conversion(), value::type(), and type_wider_than().
Referenced by gen_expr_unop().
|
static |
Definition at line 432 of file ax-gdb.c.
References ax_const_l(), and ax_simple().
Referenced by gen_bitfield_ref().
|
static |
Definition at line 1036 of file ax-gdb.c.
References ax_simple(), axs_rvalue, gen_binop(), type::is_pointer_or_reference(), axs_value::type, and value::type().
Referenced by gen_expr_binop_rest().
|
static |
Definition at line 1076 of file ax-gdb.c.
References ax_simple(), type::code(), strip_range_type(), and value::type().
Referenced by expr::ternop_cond_operation::do_generate_ax(), gen_expr_binop_rest(), and gen_expr_unop().
|
static |
Definition at line 1543 of file ax-gdb.c.
References block_for_pc(), cp_lookup_symbol_namespace(), gen_var_ref(), name, type::name(), namespace_name(), value::optimized_out(), general_symbol_info::print_name(), agent_expr::scope, block_symbol::symbol, and VAR_DOMAIN.
Referenced by gen_namespace_elt(), and gen_struct_elt_for_reference().
|
static |
Definition at line 639 of file ax-gdb.c.
References ax_const_l(), axs_lvalue_memory, find_minsym_type_and_address(), value::optimized_out(), and value::type().
Referenced by expr::var_msym_value_operation::do_generate_ax().
|
static |
Definition at line 1524 of file ax-gdb.c.
References gen_maybe_namespace_elt(), name, and type::name().
Referenced by gen_aggregate_elt_ref().
|
static |
Definition at line 486 of file ax-gdb.c.
References ax_const_l(), and ax_simple().
Referenced by gen_bitfield_ref(), gen_frame_args_address(), gen_frame_locals_address(), gen_primitive_field(), and gen_sym_offset().
|
static |
Definition at line 1316 of file ax-gdb.c.
References axs_lvalue_memory, field::bitsize(), type::field(), gen_bitfield_ref(), gen_offset(), field::is_packed(), field::loc_bitpos(), field::type(), and value::type().
Referenced by gen_struct_ref_recursive().
agent_expr_up gen_printf | ( | CORE_ADDR | scope, |
struct gdbarch * | gdbarch, | ||
CORE_ADDR | function, | ||
LONGEST | channel, | ||
const char * | format, | ||
int | fmtlen, | ||
int | nargs, | ||
struct expression ** | exprs ) |
Definition at line 2436 of file ax-gdb.c.
References ax_const_l(), ax_raw_byte(), ax_simple(), ax_string(), expression::op, value::optimized_out(), and require_rvalue().
Referenced by maint_agent_printf_command(), and parse_cmd_to_aexpr().
|
static |
Definition at line 970 of file ax-gdb.c.
References ax_simple(), axs_rvalue, type::code(), gen_extend(), gen_scale(), type::is_pointer_or_reference(), strip_range_type(), axs_value::type, and value::type().
Referenced by gen_expr_binop_rest().
|
static |
Definition at line 1002 of file ax-gdb.c.
References ax_simple(), axs_rvalue, gen_scale(), type::is_pointer_or_reference(), type::length(), type::target_type(), axs_value::type, and value::type().
Referenced by gen_expr_binop_rest().
|
static |
Definition at line 986 of file ax-gdb.c.
References ax_simple(), axs_rvalue, type::code(), gen_extend(), gen_scale(), type::is_pointer_or_reference(), strip_range_type(), axs_value::type, and value::type().
Referenced by gen_expr_binop_rest().
|
static |
Definition at line 956 of file ax-gdb.c.
References ax_const_l(), ax_simple(), type::length(), and type::target_type().
Referenced by gen_ptradd(), gen_ptrdiff(), and gen_ptrsub().
|
static |
Definition at line 336 of file ax-gdb.c.
References ax_ext(), type::is_unsigned(), and type::length().
Referenced by expr::unop_extract_operation::do_generate_ax(), and gen_fetch().
|
static |
Definition at line 1447 of file ax-gdb.c.
References ax_const_l(), axs_lvalue_memory, type::field(), FIELD_LOC_KIND_PHYSADDR, gen_var_ref(), field::loc_kind(), field::loc_physaddr(), field::loc_physname(), lookup_symbol(), value::optimized_out(), block_symbol::symbol, field::type(), value::type(), and VAR_DOMAIN.
Referenced by gen_struct_elt_for_reference(), gen_struct_ref_recursive(), and gen_trace_static_fields().
|
static |
Definition at line 1480 of file ax-gdb.c.
References type::code(), type::field(), gen_maybe_namespace_elt(), gen_static_field(), field::is_packed(), field::is_static(), field::name(), type::num_fields(), value::optimized_out(), type, and TYPE_N_BASECLASSES.
Referenced by gen_aggregate_elt_ref().
|
static |
Definition at line 1403 of file ax-gdb.c.
References axs_lvalue_memory, check_typedef(), type::code(), gen_deref(), gen_struct_ref_recursive(), type::is_pointer_or_reference(), type::name(), require_rvalue(), type, and value::type().
Referenced by gen_expr_structop().
|
static |
Definition at line 1340 of file ax-gdb.c.
References check_typedef(), type::field(), gen_primitive_field(), gen_static_field(), gen_struct_ref_recursive(), field::is_static(), field::name(), type::num_fields(), value::optimized_out(), TYPE_BASECLASS, TYPE_BASECLASS_BITPOS, and TYPE_N_BASECLASSES.
Referenced by gen_struct_ref(), and gen_struct_ref_recursive().
|
static |
Definition at line 508 of file ax-gdb.c.
References gen_offset(), and symbol::value_longest().
Referenced by gen_var_ref().
agent_expr_up gen_trace_for_expr | ( | CORE_ADDR | scope, |
struct expression * | expr, | ||
int | trace_string ) |
Definition at line 2365 of file ax-gdb.c.
References ax_simple(), gen_traced_pop(), and value::optimized_out().
Referenced by agent_eval_command_one(), encode_actions_1(), and validate_actionline().
agent_expr_up gen_trace_for_return_address | ( | CORE_ADDR | scope, |
struct gdbarch * | gdbarch, | ||
int | trace_string ) |
Definition at line 2411 of file ax-gdb.c.
References ax_simple(), gdbarch_gen_return_address(), and gen_traced_pop().
Referenced by agent_eval_command_one(), and encode_actions_1().
agent_expr_up gen_trace_for_var | ( | CORE_ADDR | scope, |
struct gdbarch * | gdbarch, | ||
struct symbol * | var, | ||
int | trace_string ) |
Definition at line 2332 of file ax-gdb.c.
References ax_simple(), gen_traced_pop(), gen_var_ref(), and value::optimized_out().
Referenced by collection_list::collect_symbol().
|
static |
Definition at line 203 of file ax-gdb.c.
References ax_const_l(), ax_reg_mask(), ax_simple(), axs_lvalue_memory, axs_lvalue_register, check_typedef(), type::field(), gen_static_field(), gen_trace_static_fields(), field::is_static(), type::length(), type::num_fields(), value::optimized_out(), value::reg, value::type(), TYPE_BASECLASS, and TYPE_N_BASECLASSES.
Referenced by gen_trace_static_fields(), and gen_traced_pop().
|
static |
Definition at line 253 of file ax-gdb.c.
References ax_const_l(), ax_reg(), ax_reg_mask(), ax_simple(), axs_lvalue_memory, axs_lvalue_register, axs_rvalue, c_textual_element_type(), check_typedef(), type::code(), gen_fetch(), gen_trace_static_fields(), type::length(), value::reg, type::target_type(), agent_expr::trace_string, agent_expr::tracing, and value::type().
Referenced by expr::comma_operation::do_generate_ax(), gen_trace_for_expr(), gen_trace_for_return_address(), and gen_trace_for_var().
|
static |
Definition at line 839 of file ax-gdb.c.
References ax_simple(), builtin_type::builtin_int, check_typedef(), type::code(), agent_expr::gdbarch, gen_conversion(), is_nontrivial_conversion(), max_type(), strip_range_type(), and axs_value::type.
Referenced by gen_expr_binop_rest(), and gen_expr_unop().
|
static |
Definition at line 726 of file ax-gdb.c.
References axs_rvalue, type::code(), lookup_pointer_type(), require_rvalue(), type::target_type(), and value::type().
Referenced by expr::ternop_cond_operation::do_generate_ax(), expr::logical_and_operation::do_generate_ax(), expr::logical_or_operation::do_generate_ax(), gen_expr_binop(), gen_expr_binop_rest(), and gen_expr_unop().
|
static |
Definition at line 518 of file ax-gdb.c.
References symbol::aclass(), ax_const_l(), ax_reg(), axs_lvalue_memory, axs_lvalue_register, axs_rvalue, builtin_type::builtin_data_ptr, check_typedef(), block::entry_pc(), agent_expr::gdbarch, gen_fetch(), gen_frame_args_address(), gen_frame_locals_address(), gen_sym_offset(), general_symbol_info::linkage_name(), 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_UNRESOLVED, lookup_minimal_symbol(), bound_minimal_symbol::minsym, value::optimized_out(), general_symbol_info::print_name(), value::reg, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS, symbol::type(), value::type(), bound_minimal_symbol::value_address(), symbol::value_address(), symbol::value_block(), and symbol::value_longest().
Referenced by expr::var_value_operation::do_generate_ax(), expr::op_this_operation::do_generate_ax(), gen_maybe_namespace_elt(), gen_static_field(), and gen_trace_for_var().
Definition at line 818 of file ax-gdb.c.
References gen_conversion().
Referenced by gen_usual_arithmetic().
|
static |
Definition at line 2553 of file ax-gdb.c.
References maint_agent_command_1().
|
static |
Definition at line 2515 of file ax-gdb.c.
References agent_eval_command_one(), check_for_argument(), decode_line_full(), DECODE_LINE_FUNFIRSTLINE, dont_repeat(), error_no_arg(), get_current_frame(), get_frame_pc(), linespec_result::locspec, linespec_result::lsals, new_linespec_location_spec(), overlay_debugging, and WILD.
Referenced by maint_agent_command(), and maint_agent_eval_command().
|
static |
Definition at line 2563 of file ax-gdb.c.
References maint_agent_command_1().
|
static |
Definition at line 2572 of file ax-gdb.c.
References ax_print(), ax_reqs(), dont_repeat(), error_no_arg(), gdb_stdout, gen_printf(), get_current_arch(), get_current_frame(), get_frame_pc(), overlay_debugging, parse_exp_1(), and PARSER_COMMA_TERMINATES.
Definition at line 780 of file ax-gdb.c.
References type_wider_than().
Referenced by gen_usual_arithmetic().
void require_rvalue | ( | struct agent_expr * | ax, |
struct axs_value * | value ) |
Definition at line 672 of file ax-gdb.c.
References ax_reg(), axs_lvalue_memory, axs_lvalue_register, axs_rvalue, check_typedef(), type::code(), gen_extend(), gen_fetch(), value::reg, and value::type().
Referenced by dtrace_probe::compile_to_ax(), stap_probe::compile_to_ax(), expr::unop_memval_operation::do_generate_ax(), expr::unop_memval_type_operation::do_generate_ax(), dwarf2_compile_expr_to_ax(), gen_cast(), gen_eval_for_expr(), gen_printf(), gen_struct_ref(), and gen_usual_unary().
Definition at line 360 of file ax-gdb.c.
References type::code(), type::target_type(), and type.
Referenced by gen_binop(), gen_cast(), gen_complement(), gen_expr_binop_rest(), gen_fetch(), gen_logical_not(), gen_ptradd(), gen_ptrsub(), and gen_usual_arithmetic().
Definition at line 769 of file ax-gdb.c.
References type::is_unsigned(), and type::length().
Referenced by gen_integral_promotions(), and max_type().