GDB (xrefs)

Public Attributes | List of all members
value Struct Reference

## Public Attributes
enum lval_type | lval
unsigned int | modifiable: 1
unsigned int | lazy: 1
unsigned int | initialized: 1
unsigned int | stack: 1
unsigned int | released: 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
LONGEST | bitsize
LONGEST | bitpos
int | reference_count
struct value * | parent
struct type * | type
struct type * | enclosing_type
LONGEST | embedded_offset
LONGEST | pointed_to_offset
struct value * | next
gdb_byte * | contents

## Detailed Description

Definition at line 169 of file value.c.

## Member Data Documentation

## ◆ address

CORE_ADDR value::address

Definition at line 208 of file value.c.

Referenced by ada_to_fixed_type_1(), ada_val_print(), ada_val_print_1(), ada_val_print_gnat_array(), ada_val_print_num(), ada_val_print_ptr(), ada_value_print(), allocate_value_lazy(), cond_offset_target(), cp_print_value_fields_rtti(), d_val_print(), dump_arc_instruction_command(), elf_gnu_ifunc_resolve_addr(), evaluate_var_msym_value(), f77_print_array(), gdbarch_frame_align(), generic_val_print_ref(), gnuv3_baseclass_offset(), gnuv3_get_typeid(), info_mach_region_command(), m2_print_array_contents(), search_struct_method(), set_value_address(), value_address(), value_force_lval(), value_from_contents_and_address(), value_from_contents_and_address_unresolved(), and value_raw_address().

## ◆ bitpos

LONGEST value::bitpos

Definition at line 251 of file value.c.

Referenced by allocate_value_lazy(), evaluate_struct_tuple(), modify_field(), set_value_bitpos(), valpy_getitem(), value_bitpos(), value_copy(), value_field_bitfield(), and value_primitive_field().

## ◆ bitsize

LONGEST value::bitsize

Definition at line 246 of file value.c.

Referenced by allocate_value_lazy(), evaluate_struct_tuple(), modify_field(), print_array_type(), set_value_bitsize(), val_print_packed_array_elements(), value_bitsize(), value_copy(), value_field_bitfield(), and value_primitive_field().

## ◆ closure

void* value::closure

Definition at line 236 of file value.c.

Referenced by allocate_computed_value().

## ◆ computed

struct { ... } value::computed

Referenced by allocate_computed_value(), regcache::cooked_read(), set_value_component_location(), value_bits_synthetic_pointer(), value_computed_closure(), value_computed_funcs(), value_copy(), and value_free().

## ◆ contents

gdb_byte* value::contents

Definition at line 320 of file value.c.

Referenced by allocate_value_contents(), allocate_value_lazy(), mt_push_dummy_call(), set_value_enclosing_type(), value_contents_all_raw(), value_contents_bits_eq(), value_contents_for_printing(), value_contents_for_printing_const(), value_contents_raw(), value_free(), and value_from_contents().

## ◆ embedded_offset

LONGEST value::embedded_offset

Definition at line 309 of file value.c.

Referenced by ada_val_print(), allocate_value_lazy(), d_val_print(), dynamic_array_type(), f77_print_array(), gdbpy_apply_val_pretty_printer(), generic_val_print_ref(), gnuv3_baseclass_offset(), m2_print_array_contents(), m2_print_unbounded_array(), set_value_embedded_offset(), valprint_check_validity(), value_contents_raw(), value_copy(), value_embedded_offset(), value_field_bitfield(), and value_primitive_field().

## ◆ enclosing_type

struct type* value::enclosing_type

Definition at line 308 of file value.c.

Referenced by allocate_value_contents(), allocate_value_lazy(), make_cv_value(), preserve_one_value(), set_value_enclosing_type(), value_contents_bits_eq(), and value_enclosing_type().

## ◆ funcs

const struct lval_funcs* value::funcs

Definition at line 233 of file value.c.

Referenced by allocate_computed_value(), and value_ind().

## ◆ initialized

unsigned int value::initialized

Definition at line 195 of file value.c.

Referenced by allocate_value_lazy(), set_value_initialized(), and value_initialized().

## ◆ internalvar

struct internalvar* value::internalvar

Definition at line 222 of file value.c.

Referenced by deprecated_value_internalvar_hack().

## ◆ lazy

unsigned int value::lazy

Definition at line 192 of file value.c.

Referenced by allocate_value(), allocate_value_lazy(), get_value_at(), set_value_lazy(), value_bits_any_optimized_out(), value_bits_available(), value_contents_bits_eq(), value_contents_copy(), value_contents_copy_raw(), value_contents_for_printing(), value_contents_for_printing_const(), value_contents_writeable(), value_copy(), value_entirely_available(), value_entirely_covered_by_range_vector(), value_lazy(), and value_optimized_out().

## ◆ location

union { ... } value::location

Referenced by allocate_computed_value(), allocate_value_lazy(), bpfinishpy_init(), call_xmethod(), deprecated_value_internalvar_hack(), deprecated_value_next_frame_id_hack(), deprecated_value_regnum_hack(), result_type_of_xmethod(), set_value_address(), set_value_component_location(), value_address(), value_bits_synthetic_pointer(), value_computed_closure(), value_computed_funcs(), value_copy(), value_force_lval(), value_free(), value_of_xmethod(), and value_raw_address().

## ◆ lval

enum lval_type value::lval

Definition at line 173 of file value.c.

Referenced by call_xmethod(), deprecated_value_lval_hack(), deprecated_value_next_frame_id_hack(), deprecated_value_regnum_hack(), frame_unwind_register(), info_frame_command(), require_not_optimized_out(), result_type_of_xmethod(), set_value_address(), set_value_component_location(), value_address(), value_bits_synthetic_pointer(), value_computed_closure(), value_force_lval(), value_lval_const(), value_of_internalvar(), value_of_xmethod(), and value_raw_address().

## ◆ modifiable

unsigned int value::modifiable

Definition at line 176 of file value.c.

Referenced by allocate_value_lazy(), deprecated_value_modifiable(), record_latest_value(), set_internalvar(), value_copy(), and value_of_xmethod().

## ◆ next

struct value* value::next

Definition at line 316 of file value.c.

Referenced by gdb.FrameIterator.FrameIterator::__next__(), allocate_value_lazy(), free_all_values(), free_value_chain(), release_value(), update_watchpoint(), value_free_to_mark(), value_next(), and value_release_to_mark().

## ◆ next_frame_id

struct frame_id value::next_frame_id

Definition at line 218 of file value.c.

## ◆ offset

LONGEST value::offset

Definition at line 243 of file value.c.

Referenced by allocate_value_lazy(), nios2_analyze_prologue(), set_value_offset(), value_address(), value_copy(), value_from_component(), value_offset(), and value_primitive_field().

## ◆ parent

struct value* value::parent

Definition at line 263 of file value.c.

Referenced by ada_value_of_child(), c_describe_child(), c_value_of_child(), cplus_value_of_child(), set_value_parent(), value_address(), value_assign(), value_copy(), value_fetch_lazy(), value_free(), value_of_child(), and value_parent().

## ◆ pointed_to_offset

LONGEST value::pointed_to_offset

Definition at line 310 of file value.c.

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

## ◆ reference_count

int value::reference_count

Definition at line 258 of file value.c.

Referenced by allocate_value_lazy(), value_free(), and value_incref().

## ◆ reg

struct { ... } value::reg

Referenced by aarch64_gen_return_address(), check_for_saved(), deprecated_value_next_frame_id_hack(), deprecated_value_regnum_hack(), do_compile_dwarf_expr_to_c(), dwarf_expr_context::execute_stack_op(), gen_expr(), gen_trace_static_fields(), gen_traced_pop(), gen_var_ref(), is_arg_reg(), is_arg_spill(), m32c_is_1st_arg_reg(), m32c_is_arg_reg(), m32c_is_arg_spill(), m32c_is_struct_return(), nios2_analyze_prologue(), require_rvalue(), rs6000_gen_return_address(), s390_gen_return_address(), spu_dwarf_reg_to_regnum(), unwind_infopy_add_saved_register(), and unwind_infopy_dealloc().

## ◆ regnum

int value::regnum

Definition at line 214 of file value.c.

## ◆ released

unsigned int value::released

Definition at line 202 of file value.c.

Referenced by free_all_values(), release_value(), release_value_or_incref(), value_free_to_mark(), and value_release_to_mark().

## ◆ stack

unsigned int value::stack

Definition at line 199 of file value.c.

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

## ◆ type

struct type* value::type

Definition at line 266 of file value.c.

Referenced by aarch64_gen_return_address(), ada_value_of_child(), allocate_value_lazy(), amd64_gen_return_address(), c_print_token(), compile_probe_arg(), dtrace_probe::compile_to_ax(), stap_probe::compile_to_ax(), deprecated_set_value_type(), gen_address_of(), gen_binop(), gen_bitfield_ref(), gen_cast(), gen_complement(), gen_deref(), gen_equal(), gen_expr(), gen_expr_for_cast(), 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_repeat(), gen_sizeof(), gen_static_field(), gen_struct_ref(), gen_trace_static_fields(), gen_traced_pop(), gen_usual_unary(), gen_var_ref(), i386_gen_return_address(), lex_character(), lex_number(), 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 varobj_create().

## ◆ xm_worker

struct xmethod_worker* value::xm_worker

Definition at line 225 of file value.c.

Referenced by call_xmethod(), result_type_of_xmethod(), value_free(), and value_of_xmethod().

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

- /tmp/gdb-8.1/gdb/value.c