GDB (API)
Classes | Defines | Typedefs | Enumerations | Functions
/home/stan/gdb/src/gdb/value.h File Reference
#include "doublest.h"
#include "frame.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"

Go to the source code of this file.

Classes

struct  lval_funcs
struct  internalvar_funcs

Defines

#define VALUE_LVAL(val)   (*deprecated_value_lval_hack (val))
#define VALUE_INTERNALVAR(val)   (*deprecated_value_internalvar_hack (val))
#define VALUE_FRAME_ID(val)   (*deprecated_value_frame_id_hack (val))
#define VALUE_REGNUM(val)   (*deprecated_value_regnum_hack (val))

Typedefs

typedef struct value *(* internal_function_fn )(struct gdbarch *gdbarch, const struct language_defn *language, void *cookie, int argc, struct value **argv)

Enumerations

enum  oload_search_type { NON_METHOD, METHOD, BOTH }

Functions

struct value * value_next (struct value *)
struct typevalue_type (const struct value *)
void deprecated_set_value_type (struct value *value, struct type *type)
int value_bitsize (const struct value *)
void set_value_bitsize (struct value *, int bit)
int value_bitpos (const struct value *)
void set_value_bitpos (struct value *, int bit)
struct value * value_parent (struct value *)
void set_value_parent (struct value *value, struct value *parent)
int value_offset (const struct value *)
void set_value_offset (struct value *, int offset)
int deprecated_value_modifiable (struct value *value)
struct typevalue_enclosing_type (struct value *)
void set_value_enclosing_type (struct value *val, struct type *new_type)
struct typevalue_actual_type (struct value *value, int resolve_simple_types, int *real_type_found)
int value_pointed_to_offset (struct value *value)
void set_value_pointed_to_offset (struct value *value, int val)
int value_embedded_offset (struct value *value)
void set_value_embedded_offset (struct value *value, int val)
struct value * allocate_computed_value (struct type *type, const struct lval_funcs *funcs, void *closure)
int valprint_check_validity (struct ui_file *stream, struct type *type, int embedded_offset, const struct value *val)
struct value * allocate_optimized_out_value (struct type *type)
struct lval_funcsvalue_computed_funcs (const struct value *)
void * value_computed_closure (const struct value *value)
int value_lazy (struct value *)
void set_value_lazy (struct value *value, int val)
int value_stack (struct value *)
void set_value_stack (struct value *value, int val)
void error_value_optimized_out (void)
gdb_bytevalue_contents_raw (struct value *)
const gdb_bytevalue_contents (struct value *)
gdb_bytevalue_contents_writeable (struct value *)
gdb_bytevalue_contents_all_raw (struct value *)
const gdb_bytevalue_contents_all (struct value *)
const gdb_bytevalue_contents_for_printing (struct value *value)
const gdb_bytevalue_contents_for_printing_const (const struct value *value)
int value_fetch_lazy (struct value *val)
int value_contents_equal (struct value *val1, struct value *val2)
int value_optimized_out (struct value *value)
void set_value_optimized_out (struct value *value, int val)
int value_optimized_out_const (const struct value *value)
int value_entirely_optimized_out (const struct value *value)
int value_initialized (struct value *)
void set_value_initialized (struct value *, int)
void set_value_component_location (struct value *component, const struct value *whole)
enum lval_typedeprecated_value_lval_hack (struct value *)
enum lval_type value_lval_const (const struct value *value)
CORE_ADDR value_address (const struct value *)
CORE_ADDR value_raw_address (struct value *)
void set_value_address (struct value *, CORE_ADDR)
struct internalvar ** deprecated_value_internalvar_hack (struct value *)
struct frame_iddeprecated_value_frame_id_hack (struct value *)
short * deprecated_value_regnum_hack (struct value *)
struct value * coerce_ref_if_computed (const struct value *arg)
struct value * readjust_indirect_value_type (struct value *value, struct type *enc_type, struct type *original_type, struct value *original_val)
struct value * coerce_ref (struct value *value)
struct value * coerce_array (struct value *value)
int value_bits_valid (const struct value *value, int offset, int length)
int value_bits_synthetic_pointer (const struct value *value, int offset, int length)
int value_bytes_available (const struct value *value, int offset, int length)
int value_entirely_available (struct value *value)
int value_entirely_unavailable (struct value *value)
void mark_value_bytes_unavailable (struct value *value, int offset, int length)
int value_available_contents_eq (const struct value *val1, int offset1, const struct value *val2, int offset2, int length)
void read_value_memory (struct value *val, int embedded_offset, int stack, CORE_ADDR memaddr, gdb_byte *buffer, size_t length)
struct value * value_vector_widen (struct value *scalar_value, struct type *vector_type)
int print_address_demangle (const struct value_print_options *, struct gdbarch *, CORE_ADDR, struct ui_file *, int)
LONGEST value_as_long (struct value *val)
DOUBLEST value_as_double (struct value *val)
CORE_ADDR value_as_address (struct value *val)
LONGEST unpack_long (struct type *type, const gdb_byte *valaddr)
DOUBLEST unpack_double (struct type *type, const gdb_byte *valaddr, int *invp)
CORE_ADDR unpack_pointer (struct type *type, const gdb_byte *valaddr)
int unpack_value_bits_as_long (struct type *field_type, const gdb_byte *valaddr, int embedded_offset, int bitpos, int bitsize, const struct value *original_value, LONGEST *result)
LONGEST unpack_field_as_long (struct type *type, const gdb_byte *valaddr, int fieldno)
int unpack_value_field_as_long (struct type *type, const gdb_byte *valaddr, int embedded_offset, int fieldno, const struct value *val, LONGEST *result)
struct value * value_field_bitfield (struct type *type, int fieldno, const gdb_byte *valaddr, int embedded_offset, const struct value *val)
void pack_long (gdb_byte *buf, struct type *type, LONGEST num)
struct value * value_from_longest (struct type *type, LONGEST num)
struct value * value_from_ulongest (struct type *type, ULONGEST num)
struct value * value_from_pointer (struct type *type, CORE_ADDR addr)
struct value * value_from_double (struct type *type, DOUBLEST num)
struct value * value_from_decfloat (struct type *type, const gdb_byte *decbytes)
struct value * value_from_history_ref (char *, char **)
struct value * value_at (struct type *type, CORE_ADDR addr)
struct value * value_at_lazy (struct type *type, CORE_ADDR addr)
struct value * value_from_contents_and_address (struct type *, const gdb_byte *, CORE_ADDR)
struct value * value_from_contents (struct type *, const gdb_byte *)
struct value * default_value_from_register (struct type *type, int regnum, struct frame_info *frame)
void read_frame_register_value (struct value *value, struct frame_info *frame)
struct value * value_from_register (struct type *type, int regnum, struct frame_info *frame)
CORE_ADDR address_from_register (struct type *type, int regnum, struct frame_info *frame)
struct value * value_of_variable (struct symbol *var, const struct block *b)
struct value * address_of_variable (struct symbol *var, const struct block *b)
struct value * value_of_register (int regnum, struct frame_info *frame)
struct value * value_of_register_lazy (struct frame_info *frame, int regnum)
int symbol_read_needs_frame (struct symbol *)
struct value * read_var_value (struct symbol *var, struct frame_info *frame)
struct value * default_read_var_value (struct symbol *var, struct frame_info *frame)
struct value * allocate_value (struct type *type)
struct value * allocate_value_lazy (struct type *type)
void value_contents_copy (struct value *dst, int dst_offset, struct value *src, int src_offset, int length)
void value_contents_copy_raw (struct value *dst, int dst_offset, struct value *src, int src_offset, int length)
struct value * allocate_repeat_value (struct type *type, int count)
struct value * value_mark (void)
void value_free_to_mark (struct value *mark)
struct value * value_cstring (char *ptr, ssize_t len, struct type *char_type)
struct value * value_string (char *ptr, ssize_t len, struct type *char_type)
struct value * value_array (int lowbound, int highbound, struct value **elemvec)
struct value * value_concat (struct value *arg1, struct value *arg2)
struct value * value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
struct value * value_ptradd (struct value *arg1, LONGEST arg2)
LONGEST value_ptrdiff (struct value *arg1, struct value *arg2)
int value_must_coerce_to_target (struct value *arg1)
struct value * value_coerce_to_target (struct value *arg1)
struct value * value_coerce_array (struct value *arg1)
struct value * value_coerce_function (struct value *arg1)
struct value * value_ind (struct value *arg1)
struct value * value_addr (struct value *arg1)
struct value * value_ref (struct value *arg1)
struct value * value_assign (struct value *toval, struct value *fromval)
struct value * value_pos (struct value *arg1)
struct value * value_neg (struct value *arg1)
struct value * value_complement (struct value *arg1)
struct value * value_struct_elt (struct value **argp, struct value **args, const char *name, int *static_memfuncp, const char *err)
struct value * value_aggregate_elt (struct type *curtype, char *name, struct type *expect_type, int want_address, enum noside noside)
struct value * value_static_field (struct type *type, int fieldno)
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)
struct value * value_field (struct value *arg1, int fieldno)
struct value * value_primitive_field (struct value *arg1, int offset, int fieldno, struct type *arg_type)
struct typevalue_rtti_indirect_type (struct value *, int *, int *, int *)
struct value * value_full_object (struct value *, struct type *, int, int, int)
struct value * value_cast_pointers (struct type *, struct value *, int)
struct value * value_cast (struct type *type, struct value *arg2)
struct value * value_reinterpret_cast (struct type *type, struct value *arg)
struct value * value_dynamic_cast (struct type *type, struct value *arg)
struct value * value_zero (struct type *type, enum lval_type lv)
struct value * value_one (struct type *type)
struct value * value_repeat (struct value *arg1, int count)
struct value * value_subscript (struct value *array, LONGEST index)
struct value * value_bitstring_subscript (struct type *type, struct value *bitstring, LONGEST index)
struct value * register_value_being_returned (struct type *valtype, struct regcache *retbuf)
int value_in (struct value *element, struct value *set)
int value_bit_index (struct type *type, const gdb_byte *addr, int index)
enum return_value_convention struct_return_convention (struct gdbarch *gdbarch, struct value *function, struct type *value_type)
int using_struct_return (struct gdbarch *gdbarch, struct value *function, struct type *value_type)
struct value * evaluate_expression (struct expression *exp)
struct value * evaluate_type (struct expression *exp)
struct value * evaluate_subexp (struct type *expect_type, struct expression *exp, int *pos, enum noside noside)
struct value * evaluate_subexpression_type (struct expression *exp, int subexp)
void fetch_subexp_value (struct expression *exp, int *pc, struct value **valp, struct value **resultp, struct value **val_chain, int preserve_errors)
char * extract_field_op (struct expression *exp, int *subexp)
struct value * evaluate_subexp_with_coercion (struct expression *, int *, enum noside)
struct value * parse_and_eval (const char *exp)
struct value * parse_to_comma_and_eval (const char **expp)
struct typeparse_and_eval_type (char *p, int length)
CORE_ADDR parse_and_eval_address (const char *exp)
LONGEST parse_and_eval_long (const char *exp)
void unop_promote (const struct language_defn *language, struct gdbarch *gdbarch, struct value **arg1)
void binop_promote (const struct language_defn *language, struct gdbarch *gdbarch, struct value **arg1, struct value **arg2)
struct value * access_value_history (int num)
struct value * value_of_internalvar (struct gdbarch *gdbarch, struct internalvar *var)
int get_internalvar_integer (struct internalvar *var, LONGEST *l)
void set_internalvar (struct internalvar *var, struct value *val)
void set_internalvar_integer (struct internalvar *var, LONGEST l)
void set_internalvar_string (struct internalvar *var, const char *string)
void clear_internalvar (struct internalvar *var)
void set_internalvar_component (struct internalvar *var, int offset, int bitpos, int bitsize, struct value *newvalue)
struct internalvar * lookup_only_internalvar (const char *name)
struct internalvar * create_internalvar (const char *name)
 VEC (char_ptr)*complete_internalvar(const char *name)
struct internalvar * create_internalvar_type_lazy (const char *name, const struct internalvar_funcs *funcs, void *data)
int compile_internalvar_to_ax (struct internalvar *var, struct agent_expr *expr, struct axs_value *value)
struct internalvar * lookup_internalvar (const char *name)
int value_equal (struct value *arg1, struct value *arg2)
int value_equal_contents (struct value *arg1, struct value *arg2)
int value_less (struct value *arg1, struct value *arg2)
int value_logical_not (struct value *arg1)
struct value * value_of_this (const struct language_defn *lang)
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_x_unop (struct value *arg1, enum exp_opcode op, enum noside noside)
struct value * value_fn_field (struct value **arg1p, struct fn_field *f, int j, struct type *type, int offset)
int binop_types_user_defined_p (enum exp_opcode op, struct type *type1, struct type *type2)
int binop_user_defined_p (enum exp_opcode op, struct value *arg1, struct value *arg2)
int unop_user_defined_p (enum exp_opcode op, struct value *arg1)
int destructor_name_p (const char *name, struct type *type)
void value_incref (struct value *val)
void value_free (struct value *val)
void free_all_values (void)
void free_value_chain (struct value *v)
void release_value (struct value *val)
void release_value_or_incref (struct value *val)
int record_latest_value (struct value *val)
void modify_field (struct type *type, gdb_byte *addr, LONGEST fieldval, int bitpos, int bitsize)
void type_print (struct type *type, const char *varstring, struct ui_file *stream, int show)
char * type_to_string (struct type *type)
gdb_bytebaseclass_addr (struct type *type, int index, gdb_byte *valaddr, struct value **valuep, int *errp)
void print_longest (struct ui_file *stream, int format, int use_local, LONGEST val)
void print_floating (const gdb_byte *valaddr, struct type *type, struct ui_file *stream)
void print_decimal_floating (const gdb_byte *valaddr, struct type *type, struct ui_file *stream)
void value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options)
void value_print_array_elements (struct value *val, struct ui_file *stream, int format, enum val_prettyformat pretty)
struct value * value_release_to_mark (struct value *mark)
void val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, const struct language_defn *language)
void common_val_print (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options, const struct language_defn *language)
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)
void print_variable_and_value (const char *name, struct symbol *var, struct frame_info *frame, struct ui_file *stream, int indent)
void typedef_print (struct type *type, struct symbol *news, struct ui_file *stream)
char * internalvar_name (struct internalvar *var)
void preserve_values (struct objfile *)
struct value * value_copy (struct value *)
struct value * value_non_lval (struct value *)
void preserve_one_value (struct value *, struct objfile *, htab_t)
struct value * varying_to_slice (struct value *)
struct value * value_slice (struct value *, int, int)
struct value * value_literal_complex (struct value *, struct value *, struct type *)
struct value * find_function_in_inferior (const char *, struct objfile **)
struct value * value_allocate_space_in_inferior (int)
struct value * value_subscripted_rvalue (struct value *array, LONGEST index, int lowerbound)
void add_internal_function (const char *name, const char *doc, internal_function_fn handler, void *cookie)
struct value * call_internal_function (struct gdbarch *gdbarch, const struct language_defn *language, struct value *function, int argc, struct value **argv)
char * value_internal_function_name (struct value *)

Define Documentation

#define VALUE_FRAME_ID (   val)    (*deprecated_value_frame_id_hack (val))

Definition at line 383 of file value.h.

#define VALUE_INTERNALVAR (   val)    (*deprecated_value_internalvar_hack (val))

Definition at line 378 of file value.h.

#define VALUE_LVAL (   val)    (*deprecated_value_lval_hack (val))

Definition at line 358 of file value.h.

#define VALUE_REGNUM (   val)    (*deprecated_value_regnum_hack (val))

Definition at line 387 of file value.h.


Typedef Documentation

typedef struct value*(* internal_function_fn)(struct gdbarch *gdbarch, const struct language_defn *language, void *cookie, int argc, struct value **argv)

Definition at line 977 of file value.h.


Enumeration Type Documentation

Enumerator:
NON_METHOD 
METHOD 
BOTH 

Definition at line 667 of file value.h.


Function Documentation

struct value* access_value_history ( int  num) [read]

Definition at line 1553 of file value.c.

void add_internal_function ( const char *  name,
const char *  doc,
internal_function_fn  handler,
void *  cookie 
)

Definition at line 2192 of file value.c.

CORE_ADDR address_from_register ( struct type type,
int  regnum,
struct frame_info *  frame 
)

Definition at line 752 of file findvar.c.

struct value* address_of_variable ( struct symbol var,
const struct block b 
) [read]

Definition at line 1356 of file valops.c.

struct value* allocate_computed_value ( struct type type,
const struct lval_funcs funcs,
void *  closure 
) [read]

Definition at line 750 of file value.c.

struct value* allocate_optimized_out_value ( struct type type) [read]

Definition at line 766 of file value.c.

struct value* allocate_repeat_value ( struct type type,
int  count 
) [read]

Definition at line 738 of file value.c.

struct value* allocate_value ( struct type type) [read]

Definition at line 725 of file value.c.

struct value* allocate_value_lazy ( struct type type) [read]

Definition at line 675 of file value.c.

gdb_byte* baseclass_addr ( struct type type,
int  index,
gdb_byte valaddr,
struct value **  valuep,
int errp 
)
void binop_promote ( const struct language_defn language,
struct gdbarch *  gdbarch,
struct value **  arg1,
struct value **  arg2 
)

Definition at line 463 of file eval.c.

int binop_types_user_defined_p ( enum exp_opcode  op,
struct type type1,
struct type type2 
)

Definition at line 230 of file valarith.c.

int binop_user_defined_p ( enum exp_opcode  op,
struct value *  arg1,
struct value *  arg2 
)

Definition at line 255 of file valarith.c.

struct value* call_internal_function ( struct gdbarch *  gdbarch,
const struct language_defn language,
struct value *  function,
int  argc,
struct value **  argv 
) [read]

Definition at line 2154 of file value.c.

void clear_internalvar ( struct internalvar *  var)

Definition at line 2096 of file value.c.

struct value* coerce_array ( struct value *  value) [read]

Definition at line 3366 of file value.c.

struct value* coerce_ref ( struct value *  value) [read]

Definition at line 3342 of file value.c.

struct value* coerce_ref_if_computed ( const struct value *  arg) [read]

Definition at line 3306 of file value.c.

void common_val_print ( struct value *  val,
struct ui_file *  stream,
int  recurse,
const struct value_print_options options,
const struct language_defn language 
)

Definition at line 832 of file valprint.c.

int compile_internalvar_to_ax ( struct internalvar *  var,
struct agent_expr expr,
struct axs_value value 
)

Definition at line 1827 of file value.c.

struct internalvar* create_internalvar ( const char *  name) [read]

Definition at line 1792 of file value.c.

struct internalvar* create_internalvar_type_lazy ( const char *  name,
const struct internalvar_funcs funcs,
void *  data 
) [read]

Definition at line 1812 of file value.c.

struct value* default_read_var_value ( struct symbol var,
struct frame_info *  frame 
) [read]

Definition at line 422 of file findvar.c.

struct value* default_value_from_register ( struct type type,
int  regnum,
struct frame_info *  frame 
) [read]

Definition at line 622 of file findvar.c.

void deprecated_set_value_type ( struct value *  value,
struct type type 
)

Definition at line 789 of file value.c.

struct frame_id* deprecated_value_frame_id_hack ( struct value *  ) [read]

Definition at line 1236 of file value.c.

struct internalvar** deprecated_value_internalvar_hack ( struct value *  ) [read]

Definition at line 1230 of file value.c.

enum lval_type* deprecated_value_lval_hack ( struct value *  )

Definition at line 1189 of file value.c.

int deprecated_value_modifiable ( struct value *  value)

Definition at line 1248 of file value.c.

short* deprecated_value_regnum_hack ( struct value *  )

Definition at line 1242 of file value.c.

int destructor_name_p ( const char *  name,
struct type type 
)

Definition at line 2994 of file valops.c.

void error_value_optimized_out ( void  )

Definition at line 911 of file value.c.

struct value* evaluate_expression ( struct expression exp) [read]

Definition at line 142 of file eval.c.

struct value* evaluate_subexp ( struct type expect_type,
struct expression exp,
int pos,
enum noside  noside 
) [read]

Definition at line 68 of file eval.c.

struct value* evaluate_subexp_with_coercion ( struct expression ,
int ,
enum  noside 
) [read]
struct value* evaluate_subexpression_type ( struct expression exp,
int  subexp 
) [read]

Definition at line 164 of file eval.c.

struct value* evaluate_type ( struct expression exp) [read]

Definition at line 153 of file eval.c.

char* extract_field_op ( struct expression exp,
int subexp 
)

Definition at line 271 of file eval.c.

void fetch_subexp_value ( struct expression exp,
int pc,
struct value **  valp,
struct value **  resultp,
struct value **  val_chain,
int  preserve_errors 
)

Definition at line 193 of file eval.c.

struct value* find_function_in_inferior ( const char *  ,
struct objfile **   
) [read]

Definition at line 132 of file valops.c.

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 
)

Definition at line 2408 of file valops.c.

void free_all_values ( void  )

Definition at line 1326 of file value.c.

void free_value_chain ( struct value *  v)

Definition at line 1344 of file value.c.

int get_internalvar_integer ( struct internalvar *  var,
LONGEST l 
)

Definition at line 1948 of file value.c.

char* internalvar_name ( struct internalvar *  var)

Definition at line 2123 of file value.c.

struct internalvar* lookup_internalvar ( const char *  name) [read]

Definition at line 1847 of file value.c.

struct internalvar* lookup_only_internalvar ( const char *  name) [read]

Definition at line 1753 of file value.c.

void mark_value_bytes_unavailable ( struct value *  value,
int  offset,
int  length 
)

Definition at line 382 of file value.c.

void modify_field ( struct type type,
gdb_byte addr,
LONGEST  fieldval,
int  bitpos,
int  bitsize 
)

Definition at line 3040 of file value.c.

void pack_long ( gdb_byte buf,
struct type type,
LONGEST  num 
)

Definition at line 3087 of file value.c.

struct value* parse_and_eval ( const char *  exp) [read]

Definition at line 107 of file eval.c.

Definition at line 79 of file eval.c.

Definition at line 94 of file eval.c.

struct type* parse_and_eval_type ( char *  p,
int  length 
) [read]

Definition at line 3059 of file eval.c.

struct value* parse_to_comma_and_eval ( const char **  expp) [read]

Definition at line 124 of file eval.c.

void preserve_one_value ( struct value *  ,
struct objfile ,
htab_t   
)

Definition at line 2211 of file value.c.

void preserve_values ( struct objfile )

Definition at line 2250 of file value.c.

int print_address_demangle ( const struct value_print_options ,
struct gdbarch *  ,
CORE_ADDR  ,
struct ui_file *  ,
int   
)

Definition at line 786 of file printcmd.c.

void print_decimal_floating ( const gdb_byte valaddr,
struct type type,
struct ui_file *  stream 
)

Definition at line 1131 of file valprint.c.

void print_floating ( const gdb_byte valaddr,
struct type type,
struct ui_file *  stream 
)

Definition at line 1058 of file valprint.c.

void print_longest ( struct ui_file *  stream,
int  format,
int  use_local,
LONGEST  val 
)

Definition at line 1000 of file valprint.c.

void print_variable_and_value ( const char *  name,
struct symbol var,
struct frame_info *  frame,
struct ui_file *  stream,
int  indent 
)

Definition at line 1980 of file printcmd.c.

void read_frame_register_value ( struct value *  value,
struct frame_info *  frame 
)

Definition at line 656 of file findvar.c.

void read_value_memory ( struct value *  val,
int  embedded_offset,
int  stack,
CORE_ADDR  memaddr,
gdb_byte buffer,
size_t  length 
)

Definition at line 950 of file valops.c.

struct value* read_var_value ( struct symbol var,
struct frame_info *  frame 
) [read]

Definition at line 609 of file findvar.c.

struct value* readjust_indirect_value_type ( struct value *  value,
struct type enc_type,
struct type original_type,
struct value *  original_val 
) [read]

Definition at line 3326 of file value.c.

int record_latest_value ( struct value *  val)

Definition at line 1511 of file value.c.

struct value* register_value_being_returned ( struct type valtype,
struct regcache *  retbuf 
) [read]
void release_value ( struct value *  val)

Definition at line 1359 of file value.c.

void release_value_or_incref ( struct value *  val)

Definition at line 1389 of file value.c.

void set_internalvar ( struct internalvar *  var,
struct value *  val 
)

Definition at line 2011 of file value.c.

void set_internalvar_component ( struct internalvar *  var,
int  offset,
int  bitpos,
int  bitsize,
struct value *  newvalue 
)

Definition at line 1986 of file value.c.

void set_internalvar_integer ( struct internalvar *  var,
LONGEST  l 
)

Definition at line 2063 of file value.c.

void set_internalvar_string ( struct internalvar *  var,
const char *  string 
)

Definition at line 2074 of file value.c.

void set_value_address ( struct value *  ,
CORE_ADDR   
)

Definition at line 1222 of file value.c.

void set_value_bitpos ( struct value *  ,
int  bit 
)

Definition at line 811 of file value.c.

void set_value_bitsize ( struct value *  ,
int  bit 
)

Definition at line 822 of file value.c.

void set_value_component_location ( struct value *  component,
const struct value *  whole 
)

Definition at line 1484 of file value.c.

void set_value_embedded_offset ( struct value *  value,
int  val 
)

Definition at line 1155 of file value.c.

void set_value_enclosing_type ( struct value *  val,
struct type new_type 
)

Definition at line 2646 of file value.c.

void set_value_initialized ( struct value *  ,
int   
)

Definition at line 3424 of file value.c.

void set_value_lazy ( struct value *  value,
int  val 
)

Definition at line 1037 of file value.c.

void set_value_offset ( struct value *  ,
int  offset 
)

Definition at line 800 of file value.c.

void set_value_optimized_out ( struct value *  value,
int  val 
)

Definition at line 1108 of file value.c.

void set_value_parent ( struct value *  value,
struct value *  parent 
)

Definition at line 836 of file value.c.

void set_value_pointed_to_offset ( struct value *  value,
int  val 
)

Definition at line 1167 of file value.c.

void set_value_stack ( struct value *  value,
int  val 
)

Definition at line 1049 of file value.c.

enum return_value_convention struct_return_convention ( struct gdbarch *  gdbarch,
struct value *  function,
struct type value_type 
)

Definition at line 3391 of file value.c.

Definition at line 345 of file findvar.c.

void type_print ( struct type type,
const char *  varstring,
struct ui_file *  stream,
int  show 
)

Definition at line 363 of file typeprint.c.

char* type_to_string ( struct type type)

Definition at line 373 of file typeprint.c.

void typedef_print ( struct type type,
struct symbol news,
struct ui_file *  stream 
)

Definition at line 341 of file typeprint.c.

void unop_promote ( const struct language_defn language,
struct gdbarch *  gdbarch,
struct value **  arg1 
)

Definition at line 430 of file eval.c.

int unop_user_defined_p ( enum exp_opcode  op,
struct value *  arg1 
)

Definition at line 268 of file valarith.c.

DOUBLEST unpack_double ( struct type type,
const gdb_byte valaddr,
int invp 
)

Definition at line 2517 of file value.c.

LONGEST unpack_field_as_long ( struct type type,
const gdb_byte valaddr,
int  fieldno 
)

Definition at line 2997 of file value.c.

LONGEST unpack_long ( struct type type,
const gdb_byte valaddr 
)

Definition at line 2467 of file value.c.

CORE_ADDR unpack_pointer ( struct type type,
const gdb_byte valaddr 
)

Definition at line 2584 of file value.c.

int unpack_value_bits_as_long ( struct type field_type,
const gdb_byte valaddr,
int  embedded_offset,
int  bitpos,
int  bitsize,
const struct value *  original_value,
LONGEST result 
)

Definition at line 2944 of file value.c.

int unpack_value_field_as_long ( struct type type,
const gdb_byte valaddr,
int  embedded_offset,
int  fieldno,
const struct value *  val,
LONGEST result 
)

Definition at line 2981 of file value.c.

int using_struct_return ( struct gdbarch *  gdbarch,
struct value *  function,
struct type value_type 
)

Definition at line 3409 of file value.c.

void val_print ( struct type type,
const gdb_byte valaddr,
int  embedded_offset,
CORE_ADDR  address,
struct ui_file *  stream,
int  recurse,
const struct value *  val,
const struct value_print_options options,
const struct language_defn language 
)

Definition at line 734 of file valprint.c.

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 
)

Definition at line 2454 of file valprint.c.

int valprint_check_validity ( struct ui_file *  stream,
struct type type,
int  embedded_offset,
const struct value *  val 
)

Definition at line 303 of file valprint.c.

struct type* value_actual_type ( struct value *  value,
int  resolve_simple_types,
int real_type_found 
) [read]

Definition at line 869 of file value.c.

struct value* value_addr ( struct value *  arg1) [read]

Definition at line 1509 of file valops.c.

CORE_ADDR value_address ( const struct value *  )

Definition at line 1201 of file value.c.

struct value* value_aggregate_elt ( struct type curtype,
char *  name,
struct type expect_type,
int  want_address,
enum noside  noside 
) [read]

Definition at line 3022 of file valops.c.

struct value* value_allocate_space_in_inferior ( int  ) [read]

Definition at line 190 of file valops.c.

struct value* value_array ( int  lowbound,
int  highbound,
struct value **  elemvec 
) [read]

Definition at line 1631 of file valops.c.

CORE_ADDR value_as_address ( struct value *  val)

Definition at line 2349 of file value.c.

DOUBLEST value_as_double ( struct value *  val)

Definition at line 2334 of file value.c.

LONGEST value_as_long ( struct value *  val)

Definition at line 2324 of file value.c.

struct value* value_assign ( struct value *  toval,
struct value *  fromval 
) [read]

Definition at line 1036 of file valops.c.

struct value* value_at ( struct type type,
CORE_ADDR  addr 
) [read]

Definition at line 936 of file valops.c.

struct value* value_at_lazy ( struct type type,
CORE_ADDR  addr 
) [read]

Definition at line 944 of file valops.c.

int value_available_contents_eq ( const struct value *  val1,
int  offset1,
const struct value *  val2,
int  offset2,
int  length 
)

Definition at line 566 of file value.c.

struct value* value_binop ( struct value *  arg1,
struct value *  arg2,
enum exp_opcode  op 
) [read]

Definition at line 1445 of file valarith.c.

int value_bit_index ( struct type type,
const gdb_byte addr,
int  index 
)

Definition at line 1830 of file valarith.c.

int value_bitpos ( const struct value *  )

Definition at line 806 of file value.c.

int value_bits_synthetic_pointer ( const struct value *  value,
int  offset,
int  length 
)

Definition at line 1137 of file value.c.

int value_bits_valid ( const struct value *  value,
int  offset,
int  length 
)

Definition at line 1125 of file value.c.

int value_bitsize ( const struct value *  )

Definition at line 817 of file value.c.

struct value* value_bitstring_subscript ( struct type type,
struct value *  bitstring,
LONGEST  index 
) [read]
int value_bytes_available ( const struct value *  value,
int  offset,
int  length 
)

Definition at line 341 of file value.c.

struct value* value_cast ( struct type type,
struct value *  arg2 
) [read]

Definition at line 354 of file valops.c.

struct value* value_cast_pointers ( struct type ,
struct value *  ,
int   
) [read]

Definition at line 309 of file valops.c.

struct value* value_coerce_array ( struct value *  arg1) [read]

Definition at line 1473 of file valops.c.

struct value* value_coerce_function ( struct value *  arg1) [read]

Definition at line 1493 of file valops.c.

struct value* value_coerce_to_target ( struct value *  arg1) [read]

Definition at line 1435 of file valops.c.

struct value* value_complement ( struct value *  arg1) [read]

Definition at line 1791 of file valarith.c.

void* value_computed_closure ( const struct value *  value)

Definition at line 1181 of file value.c.

struct lval_funcs* value_computed_funcs ( const struct value *  ) [read]

Definition at line 1173 of file value.c.

struct value* value_concat ( struct value *  arg1,
struct value *  arg2 
) [read]

Definition at line 626 of file valarith.c.

const gdb_byte* value_contents ( struct value *  )

Definition at line 1055 of file value.c.

const gdb_byte* value_contents_all ( struct value *  )

Definition at line 951 of file value.c.

gdb_byte* value_contents_all_raw ( struct value *  )

Definition at line 854 of file value.c.

void value_contents_copy ( struct value *  dst,
int  dst_offset,
struct value *  src,
int  src_offset,
int  length 
)

Definition at line 1019 of file value.c.

void value_contents_copy_raw ( struct value *  dst,
int  dst_offset,
struct value *  src,
int  src_offset,
int  length 
)

Definition at line 970 of file value.c.

int value_contents_equal ( struct value *  val1,
struct value *  val2 
)

Definition at line 1076 of file value.c.

const gdb_byte* value_contents_for_printing ( struct value *  value)

Definition at line 936 of file value.c.

Definition at line 944 of file value.c.

gdb_byte* value_contents_raw ( struct value *  )

Definition at line 847 of file value.c.

gdb_byte* value_contents_writeable ( struct value *  )

Definition at line 1064 of file value.c.

struct value* value_copy ( struct value *  ) [read]

Definition at line 1423 of file value.c.

struct value* value_cstring ( char *  ptr,
ssize_t  len,
struct type char_type 
) [read]

Definition at line 1678 of file valops.c.

struct value* value_dynamic_cast ( struct type type,
struct value *  arg 
) [read]

Definition at line 727 of file valops.c.

int value_embedded_offset ( struct value *  value)

Definition at line 1149 of file value.c.

struct type* value_enclosing_type ( struct value *  ) [read]

Definition at line 861 of file value.c.

int value_entirely_available ( struct value *  value)

Definition at line 349 of file value.c.

int value_entirely_optimized_out ( const struct value *  value)

Definition at line 1114 of file value.c.

int value_entirely_unavailable ( struct value *  value)

Definition at line 362 of file value.c.

int value_equal ( struct value *  arg1,
struct value *  arg2 
)

Definition at line 1543 of file valarith.c.

int value_equal_contents ( struct value *  arg1,
struct value *  arg2 
)

Definition at line 1625 of file valarith.c.

int value_fetch_lazy ( struct value *  val)

Definition at line 3452 of file value.c.

struct value* value_field ( struct value *  arg1,
int  fieldno 
) [read]

Definition at line 2791 of file value.c.

struct value* value_field_bitfield ( struct type type,
int  fieldno,
const gdb_byte valaddr,
int  embedded_offset,
const struct value *  val 
) [read]

Definition at line 3012 of file value.c.

struct value* value_fn_field ( struct value **  arg1p,
struct fn_field *  f,
int  j,
struct type type,
int  offset 
) [read]

Definition at line 2804 of file value.c.

void value_free ( struct value *  val)

Definition at line 1276 of file value.c.

void value_free_to_mark ( struct value *  mark)

Definition at line 1307 of file value.c.

struct value* value_from_contents ( struct type ,
const gdb_byte  
) [read]

Definition at line 3217 of file value.c.

struct value* value_from_contents_and_address ( struct type ,
const gdb_byte ,
CORE_ADDR   
) [read]

Definition at line 3198 of file value.c.

struct value* value_from_decfloat ( struct type type,
const gdb_byte decbytes 
) [read]

Definition at line 3244 of file value.c.

struct value* value_from_double ( struct type type,
DOUBLEST  num 
) [read]

Definition at line 3227 of file value.c.

struct value* value_from_history_ref ( char *  ,
char **   
) [read]

Definition at line 3257 of file value.c.

struct value* value_from_longest ( struct type type,
LONGEST  num 
) [read]

Definition at line 3159 of file value.c.

struct value* value_from_pointer ( struct type type,
CORE_ADDR  addr 
) [read]

Definition at line 3184 of file value.c.

struct value* value_from_register ( struct type type,
int  regnum,
struct frame_info *  frame 
) [read]

Definition at line 702 of file findvar.c.

struct value* value_from_ulongest ( struct type type,
ULONGEST  num 
) [read]

Definition at line 3171 of file value.c.

struct value* value_full_object ( struct value *  ,
struct type ,
int  ,
int  ,
int   
) [read]

Definition at line 3420 of file valops.c.

int value_in ( struct value *  element,
struct value *  set 
)

Definition at line 1852 of file valarith.c.

void value_incref ( struct value *  val)

Definition at line 1266 of file value.c.

struct value* value_ind ( struct value *  arg1) [read]

Definition at line 1570 of file valops.c.

int value_initialized ( struct value *  )

Definition at line 3432 of file value.c.

char* value_internal_function_name ( struct value *  )

Definition at line 2141 of file value.c.

int value_lazy ( struct value *  )

Definition at line 1031 of file value.c.

int value_less ( struct value *  arg1,
struct value *  arg2 
)

Definition at line 1642 of file valarith.c.

struct value* value_literal_complex ( struct value *  ,
struct value *  ,
struct type  
) [read]

Definition at line 3593 of file valops.c.

int value_logical_not ( struct value *  arg1)

Definition at line 1482 of file valarith.c.

enum lval_type value_lval_const ( const struct value *  value)

Definition at line 1195 of file value.c.

struct value* value_mark ( void  ) [read]

Definition at line 1257 of file value.c.

int value_must_coerce_to_target ( struct value *  arg1)

Definition at line 1408 of file valops.c.

struct value* value_neg ( struct value *  arg1) [read]

Definition at line 1736 of file valarith.c.

struct value* value_next ( struct value *  ) [read]

Definition at line 778 of file value.c.

struct value* value_non_lval ( struct value *  ) [read]

Definition at line 1466 of file value.c.

struct value* value_of_internalvar ( struct gdbarch *  gdbarch,
struct internalvar *  var 
) [read]

Definition at line 1862 of file value.c.

struct value* value_of_register ( int  regnum,
struct frame_info *  frame 
) [read]

Definition at line 262 of file findvar.c.

struct value* value_of_register_lazy ( struct frame_info *  frame,
int  regnum 
) [read]

Definition at line 283 of file findvar.c.

struct value* value_of_this ( const struct language_defn lang) [read]

Definition at line 3490 of file valops.c.

struct value* value_of_this_silent ( const struct language_defn lang) [read]

Definition at line 3515 of file valops.c.

struct value* value_of_variable ( struct symbol var,
const struct block b 
) [read]

Definition at line 1330 of file valops.c.

int value_offset ( const struct value *  )

Definition at line 795 of file value.c.

struct value* value_one ( struct type type) [read]

Definition at line 855 of file valops.c.

int value_optimized_out ( struct value *  value)

Definition at line 1091 of file value.c.

int value_optimized_out_const ( const struct value *  value)

Definition at line 1102 of file value.c.

struct value* value_parent ( struct value *  ) [read]

Definition at line 828 of file value.c.

int value_pointed_to_offset ( struct value *  value)

Definition at line 1161 of file value.c.

struct value* value_pos ( struct value *  arg1) [read]

Definition at line 1705 of file valarith.c.

struct value* value_primitive_field ( struct value *  arg1,
int  offset,
int  fieldno,
struct type arg_type 
) [read]

Definition at line 2661 of file value.c.

void value_print ( struct value *  val,
struct ui_file *  stream,
const struct value_print_options options 
)

Definition at line 856 of file valprint.c.

void value_print_array_elements ( struct value *  val,
struct ui_file *  stream,
int  format,
enum val_prettyformat  pretty 
)
struct value* value_ptradd ( struct value *  arg1,
LONGEST  arg2 
) [read]

Definition at line 86 of file valarith.c.

LONGEST value_ptrdiff ( struct value *  arg1,
struct value *  arg2 
)

Definition at line 107 of file valarith.c.

CORE_ADDR value_raw_address ( struct value *  )

Definition at line 1213 of file value.c.

struct value* value_ref ( struct value *  arg1) [read]

Definition at line 1553 of file valops.c.

struct value* value_reinterpret_cast ( struct type type,
struct value *  arg 
) [read]

Definition at line 582 of file valops.c.

struct value* value_release_to_mark ( struct value *  mark) [read]

Definition at line 1399 of file value.c.

struct value* value_repeat ( struct value *  arg1,
int  count 
) [read]

Definition at line 1308 of file valops.c.

struct type* value_rtti_indirect_type ( struct value *  ,
int ,
int ,
int  
) [read]

Definition at line 3371 of file valops.c.

struct value* value_slice ( struct value *  ,
int  ,
int   
) [read]

Definition at line 3533 of file valops.c.

int value_stack ( struct value *  )

Definition at line 1043 of file value.c.

struct value* value_static_field ( struct type type,
int  fieldno 
) [read]

Definition at line 2597 of file value.c.

struct value* value_string ( char *  ptr,
ssize_t  len,
struct type char_type 
) [read]

Definition at line 1701 of file valops.c.

struct value* value_struct_elt ( struct value **  argp,
struct value **  args,
const char *  name,
int static_memfuncp,
const char *  err 
) [read]

Definition at line 2173 of file valops.c.

struct value* value_subscript ( struct value *  array,
LONGEST  index 
) [read]

Definition at line 148 of file valarith.c.

struct value* value_subscripted_rvalue ( struct value *  array,
LONGEST  index,
int  lowerbound 
) [read]

Definition at line 193 of file valarith.c.

struct type* value_type ( const struct value *  ) [read]

Definition at line 784 of file value.c.

struct value* value_vector_widen ( struct value *  scalar_value,
struct type vector_type 
) [read]

Definition at line 1355 of file valarith.c.

struct value* value_x_binop ( struct value *  arg1,
struct value *  arg2,
enum exp_opcode  op,
enum exp_opcode  otherop,
enum noside  noside 
) [read]

Definition at line 344 of file valarith.c.

struct value* value_x_unop ( struct value *  arg1,
enum exp_opcode  op,
enum noside  noside 
) [read]

Definition at line 509 of file valarith.c.

struct value* value_zero ( struct type type,
enum lval_type  lv 
) [read]

Definition at line 844 of file valops.c.

struct value* varying_to_slice ( struct value *  ) [read]
VEC ( char_ptr  ) const
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines