GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
value Struct Reference

Public Member Functions

 value (struct type *type_)
 
 ~value ()
 
 DISABLE_COPY_AND_ASSIGN (value)
 

Public Attributes

enum lval_type lval = not_lval
 
unsigned int modifiable: 1
 
unsigned int lazy: 1
 
unsigned int initialized: 1
 
unsigned int stack: 1
 
bool is_zero: 1
 
union { 
 
   CORE_ADDR   address 
 
   struct { 
 
      int   regnum 
 
      struct frame_id   next_frame_id 
 
   }   reg 
 
   struct internalvar *   internalvar 
 
   struct xmethod_worker *   xm_worker 
 
   struct { 
 
      const struct lval_funcs *   funcs 
 
      void *   closure 
 
   }   computed 
 
location 
 
LONGEST offset = 0
 
LONGEST bitsize = 0
 
LONGEST bitpos = 0
 
int reference_count = 1
 
value_ref_ptr parent
 
struct typetype
 
struct typeenclosing_type
 
LONGEST embedded_offset = 0
 
LONGEST pointed_to_offset = 0
 
gdb::unique_xmalloc_ptr< gdb_byte > contents
 
std::vector< rangeunavailable
 
std::vector< rangeoptimized_out
 

Detailed Description

Definition at line 180 of file value.c.

Constructor & Destructor Documentation

◆ value()

value::value ( struct type type_)
inlineexplicit

◆ ~value()

value::~value ( )
inline

Definition at line 193 of file value.c.

References lval_funcs::free_closure, funcs, location, lval_computed, lval_xcallable, and VALUE_LVAL.

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

value::DISABLE_COPY_AND_ASSIGN ( value  )

Member Data Documentation

◆ address

CORE_ADDR value::address

◆ bitpos

LONGEST value::bitpos = 0

◆ bitsize

LONGEST value::bitsize = 0

◆ closure

void* value::closure

◆ [struct]

struct { ... } value::computed

◆ contents

gdb::unique_xmalloc_ptr<gdb_byte> value::contents

◆ embedded_offset

LONGEST value::embedded_offset = 0

◆ enclosing_type

struct type* value::enclosing_type

◆ funcs

const struct lval_funcs* value::funcs

◆ initialized

unsigned int value::initialized

◆ internalvar

struct internalvar* value::internalvar

Definition at line 260 of file value.c.

Referenced by deprecated_value_internalvar_hack().

◆ is_zero

bool value::is_zero

Definition at line 240 of file value.c.

Referenced by value_copy(), value_fetch_lazy(), and value_zero().

◆ lazy

unsigned int value::lazy

◆ [union]

union { ... } value::location

◆ lval

enum lval_type value::lval = not_lval

◆ modifiable

unsigned int value::modifiable

◆ next_frame_id

struct frame_id value::next_frame_id

Definition at line 256 of file value.c.

Referenced by deprecated_value_next_frame_id_hack().

◆ offset

LONGEST value::offset = 0

◆ optimized_out

std::vector<range> value::optimized_out

◆ parent

value_ref_ptr value::parent

◆ pointed_to_offset

LONGEST value::pointed_to_offset = 0

Definition at line 348 of file value.c.

Referenced by set_value_pointed_to_offset(), value_copy(), and value_pointed_to_offset().

◆ reference_count

int value::reference_count = 1

Definition at line 296 of file value.c.

Referenced by value_decref(), and value_incref().

◆ [struct]

struct { ... } value::reg

◆ regnum

int value::regnum

Definition at line 252 of file value.c.

Referenced by deprecated_value_regnum_hack().

◆ stack

unsigned int value::stack

Definition at line 236 of file value.c.

Referenced by set_value_stack(), value_copy(), value_stack(), and varobj_update().

◆ type

struct type* value::type

Definition at line 304 of file value.c.

Referenced by aarch64_gen_return_address(), ada_to_fixed_type_1(), ada_varobj_simple_array_elt(), amd64_gen_return_address(), compile_probe_arg(), dtrace_probe::compile_to_ax(), stap_probe::compile_to_ax(), deprecated_set_value_type(), expr::var_value_operation::do_generate_ax(), expr::var_msym_value_operation::do_generate_ax(), expr::register_operation::do_generate_ax(), expr::internalvar_operation::do_generate_ax(), expr::ternop_cond_operation::do_generate_ax(), expr::repeat_operation::do_generate_ax(), expr::unop_sizeof_operation::do_generate_ax(), expr::unop_memval_operation::do_generate_ax(), expr::unop_memval_type_operation::do_generate_ax(), expr::logical_and_operation::do_generate_ax(), expr::logical_or_operation::do_generate_ax(), dwarf2_evaluate_loc_desc_full(), eval_op_m2_high(), eval_op_m2_subscript(), gen_address_of(), gen_binop(), gen_bitfield_ref(), gen_cast(), gen_complement(), gen_deref(), gen_equal(), gen_expr_unop(), gen_int_literal(), gen_integral_promotions(), gen_less(), gen_logical_not(), gen_msym_var_ref(), gen_primitive_field(), gen_ptradd(), gen_ptrdiff(), gen_ptrsub(), gen_static_field(), gen_struct_ref(), gen_trace_static_fields(), gen_traced_pop(), gen_usual_unary(), gen_var_ref(), expr::operation::generate_ax(), i386_gen_return_address(), parse_string_or_char(), parse_string_or_char(), parse_string_or_char(), preserve_one_value(), require_rvalue(), rs6000_gen_return_address(), s390_gen_return_address(), value_copy(), value_non_lval(), value_primitive_field(), value_type(), and value_virtual_fn_field().

◆ unavailable

std::vector<range> value::unavailable

◆ xm_worker

struct xmethod_worker* value::xm_worker

Definition at line 263 of file value.c.

Referenced by call_xmethod(), result_type_of_xmethod(), and value_from_xmethod().


The documentation for this struct was generated from the following file: