20 #if !defined (VALUE_H) 204 int resolve_simple_types,
205 int *real_type_found);
256 void *(*copy_closure) (
const struct value *v);
286 const struct value *val);
379 int bit_offset,
int bit_length);
406 const struct value *whole);
414 #define VALUE_LVAL(val) (*deprecated_value_lval_hack (val)) 434 #define VALUE_INTERNALVAR(val) (*deprecated_value_internalvar_hack (val)) 441 #define VALUE_NEXT_FRAME_ID(val) (*deprecated_value_next_frame_id_hack (val)) 447 #define VALUE_FRAME_ID(val) (get_prev_frame_id_by_id (VALUE_NEXT_FRAME_ID (val))) 451 #define VALUE_REGNUM(val) (*deprecated_value_regnum_hack (val)) 467 struct type *enc_type,
468 const struct type *original_type,
469 const struct value *original_val);
595 struct type *vector_type);
624 LONGEST embedded_offset,
int fieldno,
631 const struct value *val);
636 const struct value *val);
672 const struct block *b);
675 const struct block *b);
691 const struct block *var_block,
695 const struct block *var_block,
750 struct type *char_type);
752 struct type *char_type);
755 struct value **elemvec);
781 struct value *fromval);
791 const char *
name,
int *static_memfuncp,
796 struct type *field_type,
801 struct type *expect_type,
814 int *staticp,
const int no_adl,
821 struct type *arg_type);
848 struct value *bitstring,
864 struct value *
function,
889 struct value **val_chain,
890 int preserve_errors);
909 struct value **arg1);
934 struct value *newvalue);
1018 struct type *type2);
1021 struct value *arg2);
1060 struct ui_file *stream,
int show);
1066 struct value **valuep,
int *errp);
1078 struct ui_file *stream,
int format,
1085 struct ui_file *stream,
int recurse,
1091 struct ui_file *stream,
int recurse,
1140 LONGEST index,
int lowerbound);
1156 struct value *
function,
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t err
struct value * evaluate_expression(struct expression *exp)
int value_stack(const struct value *)
struct value * value_subscripted_rvalue(struct value *array, LONGEST index, int lowerbound)
struct value * value_bitstring_subscript(struct type *type, struct value *bitstring, LONGEST index)
void value_incref(struct value *val)
value * eval_skip_value(expression *exp)
void complete_internalvar(completion_tracker &tracker, const char *name)
void print_floating(const gdb_byte *valaddr, struct type *type, struct ui_file *stream)
void(* read)(struct value *v)
struct gdbarch * get_value_arch(const struct value *value)
struct value * default_value_from_register(struct gdbarch *gdbarch, struct type *type, int regnum, struct frame_id frame_id)
int value_equal(struct value *arg1, struct value *arg2)
struct type * parse_and_eval_type(char *p, int length)
void mark_value_bytes_unavailable(struct value *value, LONGEST offset, LONGEST length)
void set_value_enclosing_type(struct value *val, struct type *new_type)
value * evaluate_var_msym_value(enum noside noside, struct objfile *objfile, minimal_symbol *msymbol)
struct value * value_x_unop(struct value *arg1, enum exp_opcode op, enum noside noside)
struct value * value_from_component(struct value *, struct type *, LONGEST)
struct value * make_cv_value(int, int, struct value *)
void unpack_value_bitfield(struct value *dest_val, LONGEST bitpos, LONGEST bitsize, const gdb_byte *valaddr, LONGEST embedded_offset, const struct value *val)
struct value * evaluate_subexp_with_coercion(struct expression *, int *, enum noside)
LONGEST value_embedded_offset(const struct value *value)
struct value * value_from_ulongest(struct type *type, ULONGEST num)
const struct value * m_value
const gdb_byte * value_contents_all(struct value *)
struct value * value_binop(struct value *arg1, struct value *arg2, enum exp_opcode op)
void value_force_lval(struct value *, CORE_ADDR)
struct value * value_from_longest(struct type *type, LONGEST num)
void set_value_offset(struct value *, LONGEST offset)
struct value * allocate_value_lazy(struct type *type)
void set_value_address(struct value *, CORE_ADDR)
int unop_user_defined_p(enum exp_opcode op, struct value *arg1)
LONGEST value_bitsize(const struct value *)
LONGEST value_as_long(struct value *val)
enum symbol_needs_kind symbol_read_needs(struct symbol *)
struct type * value_actual_type(struct value *value, int resolve_simple_types, int *real_type_found)
CORE_ADDR address_from_register(int regnum, struct frame_info *frame)
void deprecated_set_value_type(struct value *value, struct type *type)
void add_internal_function(const char *name, const char *doc, internal_function_fn handler, void *cookie)
struct value * value_complement(struct value *arg1)
int deprecated_value_modifiable(const struct value *value)
bool is_floating_value(struct value *val)
std::unique_ptr< struct value, value_deleter > gdb_value_up
struct value * value_cast_pointers(struct type *, struct value *, int)
struct value * value_zero(struct type *type, enum lval_type lv)
void binop_promote(const struct language_defn *language, struct gdbarch *gdbarch, struct value **arg1, struct value **arg2)
void read_value_memory(struct value *val, LONGEST bit_offset, int stack, CORE_ADDR memaddr, gdb_byte *buffer, size_t length)
char * extract_field_op(struct expression *exp, int *subexp)
int value_entirely_optimized_out(struct value *value)
struct value * value_repeat(struct value *arg1, int count)
struct value * value_copy(struct value *)
CORE_ADDR unpack_pointer(struct type *type, const gdb_byte *valaddr)
void type_print(struct type *type, const char *varstring, struct ui_file *stream, int show)
struct value * allocate_repeat_value(struct type *type, int count)
void operator()(struct value *value) const
struct type * value_type(const struct value *)
struct value * value_from_pointer(struct type *type, CORE_ADDR addr)
struct value * value_dynamic_cast(struct type *type, struct value *arg)
struct value * value_struct_elt(struct value **argp, struct value **args, const char *name, int *static_memfuncp, const char *err)
struct value *(* internal_function_fn)(struct gdbarch *gdbarch, const struct language_defn *language, void *cookie, int argc, struct value **argv)
void mark_value_bits_unavailable(struct value *value, LONGEST offset, LONGEST length)
int value_less(struct value *arg1, struct value *arg2)
int value_in(struct value *element, struct value *set)
struct value * value_static_field(struct type *type, int fieldno)
struct value * value_at_lazy(struct type *type, CORE_ADDR addr)
int value_equal_contents(struct value *arg1, struct value *arg2)
int compile_internalvar_to_ax(struct internalvar *var, struct agent_expr *expr, struct axs_value *value)
struct value * value_from_history_ref(const char *, const char **)
struct internalvar * lookup_internalvar(const char *name)
struct frame_id * deprecated_value_next_frame_id_hack(struct value *)
struct value * value_subscript(struct value *array, LONGEST index)
struct value * value_reinterpret_cast(struct type *type, struct value *arg)
struct value * evaluate_type(struct expression *exp)
static struct type * new_type(char *)
struct value * value_array(int lowbound, int highbound, struct value **elemvec)
void(* compile_to_ax)(struct internalvar *var, struct agent_expr *expr, struct axs_value *value, void *data)
int value_bits_any_optimized_out(const struct value *value, int bit_offset, int bit_length)
struct value * default_read_var_value(struct symbol *var, const struct block *var_block, struct frame_info *frame)
void value_contents_copy(struct value *dst, LONGEST dst_offset, struct value *src, LONGEST src_offset, LONGEST length)
struct type * result_type_of_xmethod(struct value *method, int argc, struct value **argv)
struct value * value_struct_elt_bitpos(struct value **argp, int bitpos, struct type *field_type, const char *err)
int value_initialized(const struct value *)
void value_free(struct value *val)
int find_overload_match(struct value **args, int nargs, const char *name, enum oload_search_type method, struct value **objp, struct symbol *fsym, struct value **valp, struct symbol **symp, int *staticp, const int no_adl, enum noside noside)
void common_val_print(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options, const struct language_defn *language)
struct value * value_of_this(const struct language_defn *lang)
struct value * coerce_ref_if_computed(const struct value *arg)
struct value * parse_and_eval(const char *exp)
struct value * find_function_in_inferior(const char *, struct objfile **)
struct value * readjust_indirect_value_type(struct value *value, struct type *enc_type, const struct type *original_type, const struct value *original_val)
void modify_field(struct type *type, gdb_byte *addr, LONGEST fieldval, LONGEST bitpos, LONGEST bitsize)
enum lval_type * deprecated_value_lval_hack(struct value *)
int unpack_value_field_as_long(struct type *type, const gdb_byte *valaddr, LONGEST embedded_offset, int fieldno, const struct value *val, LONGEST *result)
struct value * call_xmethod(struct value *method, int argc, struct value **argv)
struct value * value_ptradd(struct value *arg1, LONGEST arg2)
int value_bits_synthetic_pointer(const struct value *value, LONGEST offset, LONGEST length)
int value_logical_not(struct value *arg1)
struct value * value_of_xmethod(struct xmethod_worker *)
void set_value_bitpos(struct value *, LONGEST bit)
struct value * allocate_value(struct type *type)
char * internalvar_name(const struct internalvar *var)
void set_internalvar(struct internalvar *var, struct value *val)
struct value * value_allocate_space_in_inferior(int)
LONGEST value_offset(const struct value *)
void release_value_or_incref(struct value *val)
LONGEST unpack_field_as_long(struct type *type, const gdb_byte *valaddr, int fieldno)
struct value * value_non_lval(struct value *)
struct value * value_parent(const struct value *)
void(* write)(struct value *toval, struct value *fromval)
void set_value_embedded_offset(struct value *value, LONGEST val)
void set_internalvar_component(struct internalvar *var, LONGEST offset, LONGEST bitpos, LONGEST bitsize, struct value *newvalue)
struct value * value_next(const struct value *)
int binop_user_defined_p(enum exp_opcode op, struct value *arg1, struct value *arg2)
struct value * value_of_internalvar(struct gdbarch *gdbarch, struct internalvar *var)
struct value * address_of_variable(struct symbol *var, const struct block *b)
void print_variable_and_value(const char *name, struct symbol *var, struct frame_info *frame, struct ui_file *stream, int indent)
struct value * parse_to_comma_and_eval(const char **expp)
int value_bits_available(const struct value *value, LONGEST offset, LONGEST length)
const gdb_byte * value_contents_for_printing(struct value *value)
struct value * value_assign(struct value *toval, struct value *fromval)
int * deprecated_value_regnum_hack(struct value *)
void value_print_array_elements(struct value *val, struct ui_file *stream, int format, enum val_prettyformat pretty)
CORE_ADDR parse_and_eval_address(const char *exp)
struct value * register_value_being_returned(struct type *valtype, struct regcache *retbuf)
bool value_contents_eq(const struct value *val1, LONGEST offset1, const struct value *val2, LONGEST offset2, LONGEST length)
struct value * value_coerce_to_target(struct value *arg1)
std::string type_to_string(struct type *type)
struct value * value_fn_field(struct value **arg1p, struct fn_field *f, int j, struct type *type, LONGEST offset)
void mark_value_bits_optimized_out(struct value *value, LONGEST offset, LONGEST length)
void set_internalvar_integer(struct internalvar *var, LONGEST l)
struct value * evaluate_subexpression_type(struct expression *exp, int subexp)
void pack_long(gdb_byte *buf, struct type *type, LONGEST num)
int value_must_coerce_to_target(struct value *arg1)
void free_all_values(void)
struct value * allocate_computed_value(struct type *type, const struct lval_funcs *funcs, void *closure)
struct value * value_aggregate_elt(struct type *curtype, const char *name, struct type *expect_type, int want_address, enum noside noside)
const struct lval_funcs * value_computed_funcs(const struct value *)
struct internalvar * lookup_only_internalvar(const char *name)
struct value * value_of_register(int regnum, struct frame_info *frame)
void mark_value_bytes_optimized_out(struct value *value, int offset, int length)
struct value * value_ref(struct value *arg1, enum type_code refcode)
const gdb_byte * value_contents_for_printing_const(const struct value *value)
struct value * value_field_bitfield(struct type *type, int fieldno, const gdb_byte *valaddr, LONGEST embedded_offset, const struct value *val)
int valprint_check_validity(struct ui_file *stream, struct type *type, LONGEST embedded_offset, const struct value *val)
const gdb_byte * value_contents(struct value *)
CORE_ADDR value_raw_address(const struct value *)
struct value * value_full_object(struct value *, struct type *, int, int, int)
struct value * value_field(struct value *arg1, int fieldno)
int(* check_synthetic_pointer)(const struct value *value, LONGEST offset, int length)
struct value * value_cast(struct type *type, struct value *arg2)
struct internalvar * create_internalvar(const char *name)
struct value * value_from_contents_and_address_unresolved(struct type *, const gdb_byte *, CORE_ADDR)
struct type * value_enclosing_type(const struct value *)
void value_fetch_lazy(struct value *val)
struct value * evaluate_subexp(struct type *expect_type, struct expression *exp, int *pos, enum noside noside)
LONGEST unpack_long(struct type *type, const gdb_byte *valaddr)
struct value * value_vector_widen(struct value *scalar_value, struct type *vector_type)
void read_frame_register_value(struct value *value, struct frame_info *frame)
void set_value_stack(struct value *value, int val)
LONGEST value_bitpos(const struct value *)
int val_print_string(struct type *elttype, const char *encoding, CORE_ADDR addr, int len, struct ui_file *stream, const struct value_print_options *options)
struct value * value_at(struct type *type, CORE_ADDR addr)
int using_struct_return(struct gdbarch *gdbarch, struct value *function, struct type *value_type)
struct value * value_release_to_mark(const struct value *mark)
struct value * value_coerce_array(struct value *arg1)
void set_value_parent(struct value *value, struct value *parent)
value * evaluate_var_value(enum noside noside, const block *blk, symbol *var)
struct value * value_coerce_function(struct value *arg1)
int value_entirely_unavailable(struct value *value)
struct value * coerce_array(struct value *value)
int value_entirely_available(struct value *value)
gdb_byte * value_contents_all_raw(struct value *)
void val_print(struct type *type, LONGEST embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options, const struct language_defn *language)
struct value * value_string(const char *ptr, ssize_t len, struct type *char_type)
struct value * coerce_ref(struct value *value)
struct value * value_one(struct type *type)
LONGEST value_pointed_to_offset(const struct value *value)
void set_value_initialized(struct value *, int)
int print_address_demangle(const struct value_print_options *, struct gdbarch *, CORE_ADDR, struct ui_file *, int)
void value_free_to_mark(const struct value *mark)
void fetch_subexp_value(struct expression *exp, int *pc, struct value **valp, struct value **resultp, struct value **val_chain, int preserve_errors)
gdb_byte * baseclass_addr(struct type *type, int index, gdb_byte *valaddr, struct value **valuep, int *errp)
struct value * call_internal_function(struct gdbarch *gdbarch, const struct language_defn *language, struct value *function, int argc, struct value **argv)
void set_internalvar_string(struct internalvar *var, const char *string)
struct value * value_from_contents(struct type *, const gdb_byte *)
struct type * value_rtti_indirect_type(struct value *, int *, LONGEST *, int *)
void release_value(struct value *val)
struct value * value_of_this_silent(const struct language_defn *lang)
struct value * value_x_binop(struct value *arg1, struct value *arg2, enum exp_opcode op, enum exp_opcode otherop, enum noside noside)
struct value * value_of_variable(struct symbol *var, const struct block *b)
char * value_internal_function_name(struct value *)
void set_value_lazy(struct value *value, int val)
CORE_ADDR value_as_address(struct value *val)
const struct lval_funcs * funcs
void set_value_pointed_to_offset(struct value *value, LONGEST val)
struct value * value_addr(struct value *arg1)
int value_optimized_out(struct value *value)
void(* destroy)(void *data)
LONGEST value_ptrdiff(struct value *arg1, struct value *arg2)
unsigned long long ULONGEST
void clear_internalvar(struct internalvar *var)
struct value * value_pos(struct value *arg1)
struct value * value_slice(struct value *, int, int)
void value_print(struct value *val, struct ui_file *stream, const struct value_print_options *options)
void set_value_component_location(struct value *component, const struct value *whole)
void error_value_optimized_out(void)
int get_internalvar_integer(struct internalvar *var, LONGEST *l)
void(* free_closure)(struct value *v)
int binop_types_user_defined_p(enum exp_opcode op, struct type *type1, struct type *type2)
int value_bytes_available(const struct value *value, LONGEST offset, LONGEST length)
void preserve_one_value(struct value *, struct objfile *, htab_t)
int record_latest_value(struct value *val)
int value_bit_index(struct type *type, const gdb_byte *addr, int index)
void typedef_print(struct type *type, struct symbol *news, struct ui_file *stream)
struct internalvar ** deprecated_value_internalvar_hack(struct value *)
void unop_promote(const struct language_defn *language, struct gdbarch *gdbarch, struct value **arg1)
struct value * value_of_register_lazy(struct frame_info *frame, int regnum)
void preserve_values(struct objfile *)
struct value * value_mark(void)
struct value * value_primitive_field(struct value *arg1, LONGEST offset, int fieldno, struct type *arg_type)
void print_longest(struct ui_file *stream, int format, int use_local, LONGEST val)
struct internalvar * create_internalvar_type_lazy(const char *name, const struct internalvar_funcs *funcs, void *data)
struct value * value_from_register(struct type *type, int regnum, struct frame_info *frame)
LONGEST parse_and_eval_long(const char *exp)
void * value_computed_closure(const struct value *value)
struct value * access_value_history(int num)
enum lval_type value_lval_const(const struct value *value)
void set_value_bitsize(struct value *, LONGEST bit)
int symbol_read_needs_frame(struct symbol *)
CORE_ADDR value_address(const struct value *)
struct value * value_literal_complex(struct value *, struct value *, struct type *)
struct value * value_neg(struct value *arg1)
struct value * varying_to_slice(struct value *)
int value_lazy(const struct value *)
void free_value_chain(struct value *v)
struct value * read_var_value(struct symbol *var, const struct block *var_block, struct frame_info *frame)
struct value * value_cstring(const char *ptr, ssize_t len, struct type *char_type)
struct value * allocate_optimized_out_value(struct type *type)
DISABLE_COPY_AND_ASSIGN(scoped_value_mark)
int destructor_name_p(const char *name, struct type *type)
struct value * value_from_contents_and_address(struct type *, const gdb_byte *, CORE_ADDR)
gdb_byte * value_contents_raw(struct value *)
struct value * value_concat(struct value *arg1, struct value *arg2)
gdb_byte * value_contents_writeable(struct value *)
enum return_value_convention struct_return_convention(struct gdbarch *gdbarch, struct value *function, struct type *value_type)
struct value * value_ind(struct value *arg1)
void value_contents_copy_raw(struct value *dst, LONGEST dst_offset, struct value *src, LONGEST src_offset, LONGEST length)