GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "value.h"
#include "gdbcore.h"
#include "command.h"
#include "gdbcmd.h"
#include "target.h"
#include "language.h"
#include "demangle.h"
#include "doublest.h"
#include "regcache.h"
#include "block.h"
#include "dfp.h"
#include "objfiles.h"
#include "valprint.h"
#include "cli/cli-decode.h"
#include "extension.h"
#include <ctype.h>
#include "tracepoint.h"
#include "cp-abi.h"
#include "user-regs.h"
Go to the source code of this file.
Classes | |
struct | internal_function |
struct | range |
struct | value |
struct | ranges_and_idx |
struct | value_history_chunk |
union | internalvar_data |
struct | internalvar |
Macros | |
#define | VALUE_HISTORY_CHUNK 60 |
Typedefs | |
typedef struct range | range_s |
Enumerations | |
enum | internalvar_kind { INTERNALVAR_VOID, INTERNALVAR_VALUE, INTERNALVAR_MAKE_VALUE, INTERNALVAR_FUNCTION, INTERNALVAR_INTEGER, INTERNALVAR_STRING } |
Variables | |
static struct cmd_list_element * | functionlist |
static struct value_history_chunk * | value_history_chain |
static int | value_history_count |
static struct value * | all_values |
static struct internalvar * | internalvars |
#define VALUE_HISTORY_CHUNK 60 |
Definition at line 887 of file value.c.
Referenced by access_value_history(), preserve_values(), and record_latest_value().
enum internalvar_kind |
void _initialize_values | ( | void | ) |
Definition at line 3964 of file value.c.
References _, add_alias_cmd(), add_cmd(), add_com(), add_internal_function(), add_prefix_cmd(), class_vars, cmdlist, function_command(), HAVE_PYTHON, init_if_undefined_command(), isvoid_internal_fn(), no_class, no_set_class, show_convenience(), show_values(), and showlist.
Definition at line 1834 of file value.c.
References _, error(), value_history_chunk::next, value_copy(), value_history_chain, VALUE_HISTORY_CHUNK, value_history_count, and value_history_chunk::values.
Referenced by evaluate_subexp_standard(), gdbpy_history(), gdbscm_history_ref(), linespec_parse_variable(), print_command_1(), show_values(), value_from_history_ref(), and whatis_exp().
void add_internal_function | ( | const char * | name, |
const char * | doc, | ||
internal_function_fn | handler, | ||
void * | cookie | ||
) |
Definition at line 2476 of file value.c.
References add_cmd(), create_internal_function(), cmd_list_element::destroyer, function_command(), function_destroyer(), lookup_internalvar(), no_class, and set_internalvar_function().
Referenced by _initialize_values(), and fnpy_init().
struct value* allocate_computed_value | ( | struct type * | type, |
const struct lval_funcs * | funcs, | ||
void * | closure | ||
) |
Definition at line 987 of file value.c.
References allocate_value_lazy(), value::closure, value::computed, value::funcs, value::location, lval_computed, and VALUE_LVAL.
Referenced by create_value(), dwarf2_evaluate_loc_desc_full(), siginfo_make_value(), tlb_make_value(), and value_of_dwarf_reg_entry().
Definition at line 1003 of file value.c.
References allocate_value_lazy(), mark_value_bytes_optimized_out(), set_value_lazy(), and TYPE_LENGTH.
Referenced by default_read_var_value(), dwarf2_evaluate_loc_desc_full(), indirect_pieced_value(), loclist_read_variable_at_entry(), read_frame_arg(), s390_unwind_pseudo_register(), typy_optimized_out(), and value_static_field().
Definition at line 975 of file value.c.
References allocate_value(), current_language, lookup_array_range_type(), and language_defn::string_lower_bound.
Referenced by evaluate_subexp_standard(), and value_repeat().
Definition at line 962 of file value.c.
References allocate_value_contents(), allocate_value_lazy(), and value::lazy.
Referenced by aarch64_pseudo_read_value(), ada_convert_actual(), ada_evaluate_subexp(), ada_promote_array_of_integrals(), ada_value_binop(), ada_value_primitive_packed_val(), allocate_repeat_value(), amd64_pseudo_register_read_value(), call_function_by_hand_dummy(), cast_into_complex(), coerce_unspec_val_to_type(), create_value(), default_read_var_value(), default_value_from_register(), dwarf2_compute_name(), dwarf2_evaluate_loc_desc_full(), elf_gnu_ifunc_resolve_addr(), elf_gnu_ifunc_resolver_return_stop(), empty_array(), evaluate_subexp_c(), evaluate_subexp_opencl(), evaluate_subexp_standard(), extract_bitfield_from_watchpoint_value(), gdbpy_invoke_xmethod(), get_return_value(), i386_pseudo_register_read_value(), java_value_print(), lval_func_write(), make_array_descriptor(), opencl_logical_not(), regcache_cooked_read_value(), scalar_binop(), sdata_make_value(), siginfo_make_value(), tlb_make_value(), value_array(), value_cast(), value_complement(), value_copy(), value_cstring(), value_field_bitfield(), value_fn_field(), value_from_contents(), value_from_decfloat(), value_from_double(), value_from_longest(), value_from_pointer(), value_from_register(), value_from_ulongest(), value_literal_complex(), value_maybe_namespace_elt(), value_neg(), value_non_lval(), value_of_builtin_frame_fp_reg(), value_of_builtin_frame_pc_reg(), value_of_internalvar(), value_of_xmethod(), value_one(), value_pos(), value_primitive_field(), value_slice(), value_string(), value_struct_elt_for_reference(), value_subscripted_rvalue(), value_vector_widen(), value_zero(), vector_binop(), and vector_relop().
|
static |
Definition at line 953 of file value.c.
References value::contents, value::enclosing_type, TYPE_LENGTH, and xzalloc().
Referenced by allocate_value(), value_contents_all_raw(), value_contents_raw(), and value_fetch_lazy().
Definition at line 913 of file value.c.
References value::address, all_values, value::bitpos, value::bitsize, check_typedef(), value::contents, value::embedded_offset, value::enclosing_type, value::initialized, value::lazy, value::location, value::modifiable, value::next, not_lval, null_frame_id, value::offset, value::pointed_to_offset, value::reference_count, type, value::type, VALUE_FRAME_ID, VALUE_LVAL, VALUE_REGNUM, and xzalloc().
Referenced by allocate_computed_value(), allocate_optimized_out_value(), allocate_value(), coerce_unspec_val_to_type(), frame_unwind_got_optimized(), value_copy(), value_from_contents_and_address(), value_from_contents_and_address_unresolved(), value_of_register_lazy(), value_primitive_field(), value_slice(), and value_subscripted_rvalue().
struct value* call_internal_function | ( | struct gdbarch * | gdbarch, |
const struct language_defn * | language, | ||
struct value * | func, | ||
int | argc, | ||
struct value ** | argv | ||
) |
Definition at line 2438 of file value.c.
References internal_function::cookie, gdb_assert, get_internalvar_function(), internal_function::handler, lval_internalvar, VALUE_INTERNALVAR, and VALUE_LVAL.
Referenced by ada_evaluate_subexp(), and evaluate_subexp_standard().
Definition at line 2639 of file value.c.
References gdb_assert, invoke_xmethod(), value::location, value::lval, lval_xcallable, TYPE_CODE, TYPE_CODE_XMETHOD, value_type(), and value::xm_worker.
Referenced by evaluate_subexp_standard(), value_x_binop(), and value_x_unop().
void clear_internalvar | ( | struct internalvar * | var | ) |
Definition at line 2380 of file value.c.
References internalvar_data::data, internalvar_funcs::destroy, internalvar_data::functions, INTERNALVAR_MAKE_VALUE, INTERNALVAR_STRING, INTERNALVAR_VALUE, INTERNALVAR_VOID, internalvar::kind, internalvar_data::make_value, internalvar_data::string, internalvar::u, internalvar_data::value, value_free(), and xfree().
Referenced by clear_exit_convenience_vars(), set_internalvar(), set_internalvar_function(), set_internalvar_integer(), set_internalvar_string(), set_traceframe_context(), and x_command().
Definition at line 3713 of file value.c.
References language_defn::c_style_arrays, check_typedef(), coerce_ref(), current_language, type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_FUNC, TYPE_VECTOR, value_coerce_array(), value_coerce_function(), and value_type().
Referenced by evaluate_subexp_for_address(), value_as_address(), value_as_long(), value_assign(), value_equal(), value_find_oload_method_list(), value_ind(), value_less(), value_logical_not(), value_ptradd(), value_ptrdiff(), value_reinterpret_cast(), value_struct_elt(), value_struct_elt_bitpos(), and varobj_set_value().
Definition at line 3688 of file value.c.
References check_typedef(), coerce_ref_if_computed(), readjust_indirect_value_type(), TYPE_CODE, TYPE_CODE_REF, TYPE_TARGET_TYPE, unpack_pointer(), value_at_lazy(), value_contents(), value_enclosing_type(), and value_type().
Referenced by ada_coerce_ref(), ada_evaluate_subexp(), ada_val_print_gnat_array(), ada_value_binop(), ada_value_struct_elt(), binop_promote(), coerce_array(), decode_constrained_packed_array(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_standard(), find_overload_match(), gdbscm_value_dynamic_type(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gnuv3_get_typeid(), gnuv3_print_vtable(), install_new_value(), opencl_value_cast(), pos_atr(), read_frame_arg(), scalar_binop(), unop_promote(), valpy_get_dynamic_type(), valpy_getitem(), valpy_referenced_value(), value_assign(), value_cast(), value_cast_pointers(), value_complement(), value_neg(), value_pos(), value_rtti_indirect_type(), value_subscript(), value_x_binop(), value_x_unop(), varobj_value_has_mutated(), and x_command().
Definition at line 3652 of file value.c.
References check_typedef(), lval_funcs::coerce_ref, lval_computed, TYPE_CODE, TYPE_CODE_REF, value_computed_funcs(), value_lval_const(), and value_type().
Referenced by ada_val_print_ref(), coerce_ref(), and generic_val_print().
int compile_internalvar_to_ax | ( | struct internalvar * | var, |
struct agent_expr * | expr, | ||
struct axs_value * | value | ||
) |
Definition at line 2111 of file value.c.
References internalvar_funcs::compile_to_ax, internalvar_data::data, internalvar_data::functions, INTERNALVAR_MAKE_VALUE, internalvar::kind, internalvar_data::make_value, and internalvar::u.
Referenced by gen_expr().
|
static |
Definition at line 2413 of file value.c.
References internal_function::cookie, internal_function::handler, and internal_function::name.
Referenced by add_internal_function().
struct internalvar* create_internalvar | ( | const char * | name | ) |
Definition at line 2076 of file value.c.
References INTERNALVAR_VOID, internalvars, internalvar::kind, internalvar::name, internalvar::next, and xmalloc().
Referenced by create_internalvar_type_lazy(), lookup_internalvar(), and write_dollar_variable().
struct internalvar* create_internalvar_type_lazy | ( | const char * | name, |
const struct internalvar_funcs * | funcs, | ||
void * | data | ||
) |
Definition at line 2096 of file value.c.
References create_internalvar(), internalvar_data::data, internalvar_data::functions, INTERNALVAR_MAKE_VALUE, internalvar::kind, internalvar_data::make_value, and internalvar::u.
Referenced by _initialize_break_catch_throw(), _initialize_infrun(), _initialize_thread(), _initialize_tracepoint(), and _initialize_windows_tdep().
DEF_VEC_O | ( | range_s | ) |
Definition at line 1026 of file value.c.
References type, and value::type.
Referenced by ada_value_assign(), coerce_for_assign(), do_search_struct_field(), evaluate_subexp_java(), evaluate_subexp_standard(), gnuv2_virtual_fn_field(), make_cv_value(), readjust_indirect_value_type(), type_from_class(), value_addr(), value_cast(), value_cast_pointers(), value_full_object(), value_nsstring(), and value_ref().
Definition at line 1478 of file value.c.
References value::frame_id.
struct internalvar** deprecated_value_internalvar_hack | ( | struct value * | value | ) |
Definition at line 1472 of file value.c.
References value::internalvar, and value::location.
Definition at line 1428 of file value.c.
References value::lval.
Definition at line 1490 of file value.c.
References value::modifiable.
Referenced by ada_value_assign(), assign_aggregate(), can_use_hardware_watchpoint(), evaluate_subexp_opencl(), num_memory_accesses(), and value_assign().
short* deprecated_value_regnum_hack | ( | struct value * | value | ) |
Definition at line 1484 of file value.c.
References value::regnum.
void error_value_optimized_out | ( | void | ) |
Definition at line 1148 of file value.c.
Referenced by address_from_register(), and require_not_optimized_out().
|
static |
Definition at line 606 of file value.c.
References range::length, range::offset, ranges_overlap(), and VEC_iterate.
Referenced by find_first_range_overlap_and_match().
|
static |
Definition at line 741 of file value.c.
References find_first_range_overlap(), range::length, max, min, range::offset, offset1, and VEC_index.
Referenced by value_contents_bits_eq().
void free_all_values | ( | void | ) |
Definition at line 1570 of file value.c.
References value::next, value::released, and value_free().
void free_value_chain | ( | struct value * | v | ) |
Definition at line 1588 of file value.c.
References value::next, value_free(), and value_next().
Referenced by check_condition().
|
static |
Definition at line 2457 of file value.c.
Referenced by _initialize_values(), and add_internal_function().
|
static |
|
static |
Definition at line 2255 of file value.c.
References internalvar_data::fn, internalvar_data::function, INTERNALVAR_FUNCTION, internalvar::kind, and internalvar::u.
Referenced by call_internal_function(), set_internalvar(), and value_internal_function_name().
int get_internalvar_integer | ( | struct internalvar * | var, |
LONGEST * | result | ||
) |
Definition at line 2232 of file value.c.
References check_typedef(), internalvar_data::integer, INTERNALVAR_INTEGER, INTERNALVAR_VALUE, internalvar::kind, TYPE_CODE, TYPE_CODE_INT, internalvar::u, internalvar_data::val, internalvar_data::value, value_as_long(), and value_type().
Referenced by get_number_trailer(), and linespec_parse_variable().
|
static |
Definition at line 1999 of file value.c.
References _, do_cleanups(), expression::elts, error(), evaluate_expression(), free_current_contents(), exp_element::internalvar, INTERNALVAR_VOID, intvar, internalvar::kind, make_cleanup(), expression::nelts, exp_element::opcode, and parse_expression().
Referenced by _initialize_values().
Definition at line 422 of file value.c.
References range::length, max, min, offset, range::offset, range_lessthan(), ranges_overlap(), VEC_block_remove, VEC_index, VEC_iterate, VEC_length, VEC_lower_bound, and VEC_safe_insert.
Referenced by mark_value_bits_optimized_out(), mark_value_bits_unavailable(), and ranges_copy_adjusted().
char* internalvar_name | ( | struct internalvar * | var | ) |
Definition at line 2407 of file value.c.
References internalvar::name.
Referenced by dump_subexp_body_standard(), gen_expr(), and print_subexp_standard().
|
static |
Definition at line 3949 of file value.c.
References _, error(), TYPE_CODE, TYPE_CODE_VOID, value_from_longest(), and value_type().
Referenced by _initialize_values().
struct internalvar* lookup_internalvar | ( | const char * | name | ) |
Definition at line 2131 of file value.c.
References create_internalvar(), and lookup_only_internalvar().
Referenced by add_internal_function(), clear_exit_convenience_vars(), core_open(), find_command(), forward_search_command(), get_number_trailer(), handle_inferior_event_1(), reverse_search_command(), set_breakpoint_count(), set_next_address(), set_traceframe_context(), set_traceframe_num(), set_tracepoint_count(), set_tracepoint_num(), and x_command().
struct internalvar* lookup_only_internalvar | ( | const char * | name | ) |
Definition at line 2037 of file value.c.
References internalvar::name, and internalvar::next.
Referenced by linespec_parse_variable(), lookup_internalvar(), write_dollar_variable(), and yylex().
Definition at line 1714 of file value.c.
References deprecated_set_value_type(), make_cv_type(), set_value_enclosing_type(), value_copy(), value_enclosing_type(), and value_type().
Referenced by valpy_const_value().
Definition at line 1370 of file value.c.
References insert_into_bit_range_vector().
Referenced by mark_value_bytes_optimized_out(), and read_pieced_value().
Definition at line 587 of file value.c.
References insert_into_bit_range_vector().
Referenced by mark_value_bytes_unavailable(), and read_pieced_value().
Definition at line 1360 of file value.c.
References mark_value_bits_optimized_out(), and TARGET_CHAR_BIT.
Referenced by allocate_optimized_out_value(), frame_unwind_got_optimized(), value_from_register(), and write_pieced_value().
Definition at line 593 of file value.c.
References mark_value_bits_unavailable(), and TARGET_CHAR_BIT.
Referenced by aarch64_pseudo_read_value(), amd64_pseudo_register_read_value(), dwarf2_evaluate_loc_desc_full(), i386_pseudo_register_read_into_value(), read_value_memory(), regcache_cooked_read_value(), and value_from_register().
|
static |
Definition at line 632 of file value.c.
References bits, gdb_assert, and TARGET_CHAR_BIT.
Referenced by value_contents_bits_eq().
void modify_field | ( | struct type * | type, |
gdb_byte * | addr, | ||
LONGEST | fieldval, | ||
int | bitpos, | ||
int | bitsize | ||
) |
Definition at line 3345 of file value.c.
References _, value::bitpos, value::bitsize, extract_unsigned_integer(), gdbarch_bits_big_endian(), gdbarch_byte_order(), get_type_arch(), store_unsigned_integer(), and warning().
Referenced by evaluate_struct_tuple(), make_array_descriptor(), set_internalvar_component(), and value_assign().
Definition at line 3392 of file value.c.
References _, check_typedef(), error(), gdbarch_byte_order(), get_type_arch(), len, store_signed_integer(), store_typed_address(), TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, and TYPE_LENGTH.
Referenced by emit_numeric_character(), frame_unwind_got_address(), generic_emit_char(), linux_make_mappings_callback(), linux_make_mappings_corefile_notes(), and value_from_longest().
Definition at line 3427 of file value.c.
References _, check_typedef(), error(), gdbarch_byte_order(), get_type_arch(), len, store_typed_address(), store_unsigned_integer(), TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, and TYPE_LENGTH.
Referenced by value_from_ulongest().
|
static |
Definition at line 2510 of file value.c.
References copy_type_recursive(), internalvar_data::integer, INTERNALVAR_INTEGER, INTERNALVAR_VALUE, internalvar::kind, preserve_one_value(), internalvar_data::type, TYPE_OBJFILE, internalvar::u, and internalvar_data::value.
Referenced by preserve_values().
Definition at line 2495 of file value.c.
References copy_type_recursive(), value::enclosing_type, value::type, and TYPE_OBJFILE.
Referenced by gdbpy_preserve_values(), gdbscm_preserve_values(), preserve_one_internalvar(), and preserve_values().
void preserve_values | ( | struct objfile * | objfile | ) |
Definition at line 2534 of file value.c.
References create_copied_types_hash(), value_history_chunk::next, internalvar::next, preserve_ext_lang_values(), preserve_one_internalvar(), preserve_one_value(), VALUE_HISTORY_CHUNK, and value_history_chunk::values.
Referenced by free_objfile(), and reread_symbols().
Definition at line 98 of file value.c.
References range::offset.
Referenced by insert_into_bit_range_vector(), and ranges_contain().
Definition at line 107 of file value.c.
References range::length, offset, range::offset, range_lessthan(), ranges_overlap(), VEC_index, VEC_length, and VEC_lower_bound.
Referenced by value_bits_any_optimized_out(), and value_bits_available().
|
static |
Definition at line 1200 of file value.c.
References insert_into_bit_range_vector(), range::length, max, min, range::offset, and VEC_iterate.
Referenced by value_ranges_copy_adjusted().
Definition at line 82 of file value.c.
Referenced by find_first_range_overlap(), insert_into_bit_range_vector(), and ranges_contain().
struct value* readjust_indirect_value_type | ( | struct value * | value, |
struct type * | enc_type, | ||
struct type * | original_type, | ||
struct value * | original_value | ||
) |
Definition at line 3672 of file value.c.
References deprecated_set_value_type(), set_value_embedded_offset(), set_value_enclosing_type(), TYPE_TARGET_TYPE, value_full_object(), and value_pointed_to_offset().
Referenced by coerce_ref(), and value_ind().
Definition at line 1788 of file value.c.
References value::modifiable, value_history_chunk::next, release_value_or_incref(), value_fetch_lazy(), value_history_chain, VALUE_HISTORY_CHUNK, value_history_count, value_lazy(), value_history_chunk::values, and xmalloc().
Referenced by gdbscm_history_append_x(), print_return_value(), and print_value().
void release_value | ( | struct value * | val | ) |
Definition at line 1603 of file value.c.
References value::next, and value::released.
Referenced by address_from_register(), bpstat_copy(), do_examine(), dwarf2_compute_name(), frame_register_unwind(), m68hc11_frame_prev_register(), m88k_frame_prev_register(), mep_frame_prev_register(), release_value_or_incref(), set_internalvar(), update_watchpoint(), value_of_dwarf_reg_entry(), watch_command_1(), and watchpoint_check().
void release_value_or_incref | ( | struct value * | val | ) |
Definition at line 1633 of file value.c.
References release_value(), value::released, and value_incref().
Referenced by record_latest_value(), update_dynamic_varobj_children(), valpy_new(), value_to_value_object(), and vlscm_scm_from_value().
Definition at line 1166 of file value.c.
References _, NOT_AVAILABLE_ERROR, throw_error(), and VEC_empty.
Referenced by value_contents(), and value_contents_all().
Definition at line 1154 of file value.c.
References _, error(), error_value_optimized_out(), value::lval, lval_register, and VEC_empty.
Referenced by value_contents(), and value_contents_all().
Definition at line 2627 of file value.c.
References gdb_assert, get_xmethod_result_type(), value::location, value::lval, lval_xcallable, TYPE_CODE, TYPE_CODE_XMETHOD, value_type(), and value::xm_worker.
Referenced by evaluate_subexp_standard(), value_x_binop(), and value_x_unop().
void set_internalvar | ( | struct internalvar * | var, |
struct value * | val | ||
) |
Definition at line 2295 of file value.c.
References _, internalvar_data::canonical, check_typedef(), clear_internalvar(), error(), internalvar_data::fn, internalvar_data::function, gdb_assert, get_internalvar_function(), INTERNALVAR_FUNCTION, INTERNALVAR_VALUE, INTERNALVAR_VOID, internalvar::kind, lval_internalvar, value::modifiable, internalvar::name, release_value(), TYPE_CODE, TYPE_CODE_INTERNAL_FUNCTION, TYPE_CODE_VOID, internalvar::u, internalvar_data::value, value_copy(), value_fetch_lazy(), VALUE_INTERNALVAR, value_lazy(), VALUE_LVAL, and value_type().
Referenced by find_command(), set_next_address(), value_assign(), and x_command().
void set_internalvar_component | ( | struct internalvar * | var, |
int | offset, | ||
int | bitpos, | ||
int | bitsize, | ||
struct value * | newval | ||
) |
Definition at line 2270 of file value.c.
References _, internal_error(), INTERNALVAR_VALUE, internalvar::kind, modify_field(), TYPE_LENGTH, internalvar::u, internalvar_data::value, value_as_long(), value_contents(), value_contents_writeable(), and value_type().
Referenced by value_assign().
|
static |
Definition at line 2368 of file value.c.
References internalvar_data::canonical, clear_internalvar(), internalvar_data::fn, internalvar_data::function, INTERNALVAR_FUNCTION, internalvar::kind, and internalvar::u.
Referenced by add_internal_function().
void set_internalvar_integer | ( | struct internalvar * | var, |
LONGEST | l | ||
) |
Definition at line 2347 of file value.c.
References clear_internalvar(), internalvar_data::integer, INTERNALVAR_INTEGER, internalvar::kind, internalvar_data::type, internalvar::u, and internalvar_data::val.
Referenced by core_open(), find_command(), forward_search_command(), handle_inferior_event_1(), reverse_search_command(), set_breakpoint_count(), set_traceframe_context(), set_traceframe_num(), set_tracepoint_count(), and set_tracepoint_num().
void set_internalvar_string | ( | struct internalvar * | var, |
const char * | string | ||
) |
Definition at line 2358 of file value.c.
References clear_internalvar(), INTERNALVAR_STRING, internalvar::kind, internalvar_data::string, and internalvar::u.
Referenced by set_traceframe_context().
Definition at line 1463 of file value.c.
References value::address, gdb_assert, value::location, value::lval, lval_internalvar, lval_internalvar_component, and lval_xcallable.
Referenced by coerce_unspec_val_to_type(), elf_gnu_ifunc_resolve_addr(), elf_gnu_ifunc_resolver_return_stop(), ensure_lval(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), java_link_class_type(), java_value_print(), value_fn_field(), value_from_contents_and_address(), value_from_contents_and_address_unresolved(), and value_repeat().
Definition at line 1048 of file value.c.
References bit, and value::bitpos.
Referenced by ada_value_primitive_packed_val(), and coerce_unspec_val_to_type().
Definition at line 1059 of file value.c.
References bit, and value::bitsize.
Referenced by ada_value_primitive_packed_val(), and coerce_unspec_val_to_type().
Definition at line 1761 of file value.c.
References value::computed, lval_funcs::copy_closure, gdb_assert, value::location, value::lval, lval_computed, lval_internalvar, lval_internalvar_component, lval_xcallable, and VALUE_LVAL.
Referenced by ada_value_primitive_packed_val(), coerce_unspec_val_to_type(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), value_primitive_field(), value_ptradd(), value_slice(), and value_subscripted_rvalue().
Definition at line 1394 of file value.c.
References value::embedded_offset.
Referenced by do_search_struct_field(), readjust_indirect_value_type(), value_full_object(), and value_non_lval().
Definition at line 2975 of file value.c.
References value::contents, value::enclosing_type, TYPE_LENGTH, value_enclosing_type(), and xrealloc().
Referenced by make_cv_value(), readjust_indirect_value_type(), value_addr(), value_assign(), value_cast(), value_cast_pointers(), and value_full_object().
Definition at line 3771 of file value.c.
References value::initialized, and status.
Referenced by dwarf2_evaluate_loc_desc_full().
Definition at line 1311 of file value.c.
References value::lazy.
Referenced by allocate_optimized_out_value(), frame_unwind_got_optimized(), gnuv2_virtual_fn_field(), java_link_class_type(), java_value_print(), value_assign(), value_fetch_lazy(), and value_of_dwarf_reg_entry().
Definition at line 1037 of file value.c.
References offset, and value::offset.
Referenced by ada_value_primitive_packed_val(), default_value_from_register(), dwarf2_evaluate_loc_desc_full(), gnuv2_virtual_fn_field(), java_value_print(), s390_value_from_register(), spu_value_from_register(), value_slice(), and value_subscripted_rvalue().
Definition at line 1073 of file value.c.
References value::parent, value_free(), and value_incref().
Referenced by ada_value_primitive_packed_val(), value_copy(), and value_primitive_field().
Definition at line 1406 of file value.c.
References value::pointed_to_offset.
Referenced by value_addr(), value_assign(), value_cast(), value_cast_pointers(), and value_non_lval().
Definition at line 1323 of file value.c.
References value::stack.
Referenced by dwarf2_evaluate_loc_desc_full(), and frame_unwind_got_memory().
|
static |
Definition at line 2559 of file value.c.
References _, CATCH, END_CATCH, fprintf_filtered(), gdb_stdout, get_current_arch(), get_user_print_options(), internalvar::name, internalvar::next, printf_filtered(), printf_unfiltered(), RETURN_MASK_ERROR, TRY, value_of_internalvar(), and value_print().
Referenced by _initialize_values().
|
static |
Definition at line 1869 of file value.c.
References access_value_history(), gdb_stdout, get_user_print_options(), parse_and_eval_long(), printf_filtered(), value_history_count, and value_print().
Referenced by _initialize_values().
enum return_value_convention struct_return_convention | ( | struct gdbarch * | gdbarch, |
struct value * | function, | ||
struct type * | value_type | ||
) |
Definition at line 3738 of file value.c.
References _, code, error(), gdbarch_return_value(), TYPE_CODE, and TYPE_CODE_ERROR.
Referenced by return_command(), and using_struct_return().
|
static |
Definition at line 3186 of file value.c.
References gdbarch::byte_order, CHECK_TYPEDEF, extract_unsigned_integer(), gdbarch_bits_big_endian(), gdbarch_byte_order(), get_type_arch(), int, read_offset(), TYPE_LENGTH, and TYPE_UNSIGNED.
Referenced by unpack_field_as_long(), unpack_value_bitfield(), and unpack_value_field_as_long().
Definition at line 2847 of file value.c.
References gdbarch::byte_order, CHECK_TYPEDEF, code, decimal_to_doublest(), extract_typed_floating(), floatformat_from_type(), gdbarch_byte_order(), get_type_arch(), len, TYPE_CODE, TYPE_CODE_DECFLOAT, TYPE_CODE_FLT, TYPE_LENGTH, TYPE_UNSIGNED, and unpack_long().
Referenced by mips_print_fp_register(), print_floating(), sh64_do_fp_register(), ui_printf(), and value_as_double().
Definition at line 3267 of file value.c.
References TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, and unpack_bits_as_long().
Referenced by dynamic_array_type(), and m2_print_unbounded_array().
Definition at line 2797 of file value.c.
References _, gdbarch::byte_order, check_typedef(), code, decimal_to_doublest(), error(), extract_signed_integer(), extract_typed_address(), extract_typed_floating(), extract_unsigned_integer(), gdbarch_byte_order(), get_type_arch(), len, TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_DECFLOAT, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_TYPEDEF, TYPE_LENGTH, TYPE_UNSIGNED, and unpack_long().
Referenced by aarch64_store_return_value(), ada_val_print_enum(), ada_val_print_num(), address_from_register(), alpha_store_return_value(), arm_store_return_value(), avr_integer_to_address(), c_val_print(), do_ppc_sysv_return_value(), evaluate_subexp_c(), f_val_print(), generic_val_print(), hppa32_push_dummy_call(), hppa64_push_dummy_call(), java_val_print(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value_base(), ppc_sysv_abi_push_dummy_call(), print_scalar_formatted(), rs6000_lynx178_return_value(), rs6000_return_value(), spu_integer_to_address(), unpack_double(), unpack_long(), unpack_pointer(), val_print_type_code_flags(), val_print_type_code_int(), value_as_address(), value_as_long(), and value_concat().
Definition at line 2914 of file value.c.
References unpack_long().
Referenced by ada_val_print_ref(), c_val_print(), coerce_ref(), dynamic_array_type(), f_val_print(), generic_val_print(), gnuv2_baseclass_offset(), java_val_print(), m2_print_unbounded_array(), m2_val_print(), pascal_val_print(), print_scalar_formatted(), print_variable_at_address(), and pyuw_value_obj_to_pointer().
void unpack_value_bitfield | ( | struct value * | dest_val, |
int | bitpos, | ||
int | bitsize, | ||
const gdb_byte * | valaddr, | ||
int | embedded_offset, | ||
const struct value * | val | ||
) |
Definition at line 3285 of file value.c.
References gdbarch_byte_order(), get_type_arch(), store_signed_integer(), TARGET_CHAR_BIT, TYPE_LENGTH, unpack_bits_as_long(), value_contents_raw(), value_ranges_copy_adjusted(), and value_type().
Referenced by extract_bitfield_from_watchpoint_value(), value_fetch_lazy(), and value_field_bitfield().
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 3242 of file value.c.
References gdb_assert, TARGET_CHAR_BIT, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, unpack_bits_as_long(), value_bits_any_optimized_out(), and value_bits_available().
Referenced by print_go_string().
int using_struct_return | ( | struct gdbarch * | gdbarch, |
struct value * | function, | ||
struct type * | value_type | ||
) |
Definition at line 3756 of file value.c.
References RETURN_VALUE_REGISTER_CONVENTION, struct_return_convention(), TYPE_CODE, and TYPE_CODE_VOID.
Referenced by call_function_by_hand_dummy(), evaluate_subexp_standard(), and sparc32_push_dummy_code().
struct type* value_actual_type | ( | struct value * | value, |
int | resolve_simple_types, | ||
int * | real_type_found | ||
) |
Definition at line 1106 of file value.c.
References check_typedef(), get_user_print_options(), value_print_options::objectprint, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_TARGET_TYPE, value_enclosing_type(), value_rtti_indirect_type(), and value_type().
Referenced by adjust_value_for_child_access(), create_child_with_value(), update_type_if_necessary(), and varobj_create().
Definition at line 1440 of file value.c.
References value::address, value::location, value::lval, lval_internalvar, lval_internalvar_component, lval_xcallable, value::offset, value::parent, and value_address().
Referenced by ada_tag_value_at_base_address(), ada_to_fixed_type_1(), ada_to_fixed_value(), ada_val_print_gnat_array(), ada_val_print_ref(), ada_value_assign(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_struct_elt(), address_of_variable(), c_value_print(), call_function_by_hand_dummy(), call_site_to_target_addr(), can_use_hardware_watchpoint(), check_condition(), coerce_unspec_val_to_type(), common_val_print(), compare_value_and_voffset(), convert_one_symbol(), cp_print_static_field(), cp_print_value(), desc_bounds(), do_compile_dwarf_expr_to_c(), do_search_struct_field(), dump_value_to_file(), encode_actions_1(), eq_value_and_voffset(), evaluate_subexp_standard(), find_function_addr(), find_method_list(), frame_register_unwind(), frame_unwind_register_value(), frv_push_dummy_call(), gdbscm_value_to_lazy_string(), get_java_utf8_name(), gnuv2_value_rtti_type(), gnuv3_get_typeid(), gnuv3_rtti_type(), hash_value_and_voffset(), is_unique_ancestor(), java_link_class_type(), java_value_print(), m32r_push_dummy_call(), mips_eabi_push_dummy_call(), mn10300_push_dummy_call(), msp430_push_dummy_call(), pascal_object_print_static_field(), print_formatted(), print_one_vtable(), read_fat_string_value(), search_struct_method(), thin_data_pntr(), type_from_class(), unwrap_value(), update_watchpoint(), v850_push_dummy_call(), valpy_lazy_string(), value_addr(), value_address(), value_as_address(), value_assign(), value_assign_to_component(), value_cast(), value_cast_structs(), value_coerce_array(), value_coerce_function(), value_dynamic_cast(), value_fetch_lazy(), value_full_object(), value_pointer(), value_primitive_field(), value_print(), value_repeat(), value_struct_elt_for_reference(), and x_command().
Definition at line 2679 of file value.c.
References coerce_array(), gdbarch_addr_bits_remove(), gdbarch_integer_to_address(), gdbarch_integer_to_address_p(), get_type_arch(), TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_CODE_REF, unpack_long(), value_address(), value_as_long(), value_contents(), and value_type().
Referenced by ada_evaluate_subexp(), ada_tag_name_from_tsd(), ada_value_slice_from_ptr(), ada_varobj_ind(), address_from_register(), c_get_string(), c_value_print(), call_site_to_target_addr(), default_read_var_value(), disassemble_command(), do_one_display(), dwarf2_evaluate_property(), elf_gnu_ifunc_resolve_addr(), elf_gnu_ifunc_resolver_return_stop(), evaluate_subexp_java(), evaluate_subexp_standard(), find_function_addr(), gdbscm_value_to_bool(), gdbscm_value_to_integer(), get_addr_from_python(), gnuv2_value_rtti_type(), gnuv3_get_typename_from_type_info(), gnuv3_get_virtual_fn(), gnuv3_get_vtable(), gnuv3_print_vtable(), gnuv3_rtti_type(), hppa_linux_find_global_pointer(), hppabsd_find_global_pointer(), i386_mpx_set_bounds(), info_mach_region_command(), insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), java_class_from_object(), java_class_is_primitive(), java_value_print(), linespec_expression_to_pc(), linux_infcall_mmap(), parse_and_eval_address(), parse_find_args(), parse_frame_specification_1(), ppc64_sysv_abi_push_dummy_call(), print_one_vtable(), printf_c_string(), printf_wide_c_string(), process_event_stop_test(), ptid_from_atcb_common(), read_atcb(), read_known_tasks_list(), svr4_handle_solib_event(), value_equal(), value_ind(), value_less(), value_ptradd(), watch_command_1(), and x_command().
Definition at line 2664 of file value.c.
References _, error(), unpack_double(), value_contents(), and value_type().
Referenced by cast_to_fixed(), decimal_from_floating(), gdbscm_value_to_real(), scalar_binop(), valpy_float(), valpy_nonzero(), value_cast(), value_equal(), value_less(), value_logical_not(), value_neg(), and value_pos().
Definition at line 2654 of file value.c.
References coerce_array(), unpack_long(), value_contents(), and value_type().
Referenced by ada_array_bound(), ada_array_length(), ada_evaluate_subexp(), ada_tag_value_at_base_address(), ada_type_of_array(), ada_value_binop(), ada_which_variant_applies(), add_piece(), aggregate_assign_from_choices(), allocate_space_in_inferior(), call_target_sbrk(), cast_from_fixed(), cast_to_fixed(), check_condition(), checkpoint_command(), decimal_from_integral(), desc_bounds(), display_tib(), do_captured_thread_select(), dwarf2_evaluate_loc_desc_full(), ensure_lval(), evaluate_struct_tuple(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_standard(), execute_stack_op(), find_func_descr(), find_function_addr(), gdbscm_value_subscript(), gdbscm_value_to_bool(), gdbscm_value_to_integer(), gen_expr(), gen_repeat(), get_int_var_value(), get_internalvar_integer(), get_java_utf8_name(), get_number_trailer(), gnuv2_virtual_fn_field(), gnuv3_baseclass_offset(), gnuv3_rtti_type(), ignore_command(), inferior_call_waitpid(), info_port_rights(), info_task(), init_array_element(), java_link_class_type(), linespec_parse_variable(), linux_infcall_munmap(), lookup_child_selector(), lookup_objc_class(), m68hc11_frame_prev_register(), m88k_frame_prev_register(), mep_frame_prev_register(), mi_cmd_trace_define_variable(), msp430_prev_register(), parse_and_eval_long(), parse_find_args(), parse_frame_specification_1(), pos_atr(), print_ada_task_info(), print_object_command(), printf_pointer(), ptid_from_atcb_common(), quit_force(), rank_one_type(), read_atcb(), read_fat_string_value(), rl78_prev_register(), s390_unwind_pseudo_register(), scalar_binop(), scan_discrim_bound(), set_internalvar_component(), task_command_1(), trace_variable_command(), type_from_class(), ui_printf(), valpy_binop(), valpy_getitem(), valpy_int(), valpy_long(), valpy_nonzero(), value_as_address(), value_assign(), value_cast(), value_complement(), value_concat(), value_dynamic_cast(), value_equal(), value_f90_subarray(), value_in(), value_less(), value_neg(), value_pos(), value_ptrdiff(), value_struct_elt_for_reference(), value_val_atr(), and vlscm_binop().
Definition at line 1043 of file value.c.
References value::bitpos.
Referenced by ada_value_assign(), ada_value_primitive_packed_val(), check_pieced_synthetic_pointer(), coerce_unspec_val_to_type(), indirect_pieced_value(), read_pieced_value(), update_watchpoint(), value_assign(), value_assign_to_component(), value_fetch_lazy(), watch_command_1(), and write_pieced_value().
Definition at line 360 of file value.c.
References gdb_assert, value::lazy, and ranges_contain().
Referenced by c_val_print(), cp_print_value_fields_rtti(), dynamic_array_type(), unpack_value_field_as_long(), val_print_scalar_formatted(), valprint_check_validity(), and value_contents_copy_raw().
Definition at line 344 of file value.c.
References gdb_assert, value::lazy, and ranges_contain().
Referenced by unpack_value_field_as_long(), and value_bytes_available().
Definition at line 1376 of file value.c.
References value::computed, value::location, value::lval, and lval_computed.
Referenced by cp_print_value_fields(), java_print_value_fields(), lval_func_check_synthetic_pointer(), pascal_object_print_value_fields(), and valprint_check_validity().
Definition at line 1054 of file value.c.
References value::bitsize.
Referenced by ada_value_assign(), check_pieced_synthetic_pointer(), coerce_unspec_val_to_type(), indirect_pieced_value(), read_pieced_value(), update_watchpoint(), value_assign(), value_assign_to_component(), value_fetch_lazy(), watch_command_1(), and write_pieced_value().
Definition at line 352 of file value.c.
References TARGET_CHAR_BIT, and value_bits_available().
Referenced by c_val_print(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), gnuv2_baseclass_offset(), list_arg_or_local(), val_print_scalar_formatted(), valprint_check_validity(), and value_contents_copy_raw().
Definition at line 1420 of file value.c.
References value::computed, gdb_assert, value::location, value::lval, and lval_computed.
Referenced by check_pieced_synthetic_pointer(), copy_pieced_value_closure(), entry_data_value_coerce_ref(), entry_data_value_copy_closure(), entry_data_value_free_closure(), free_pieced_value_closure(), indirect_pieced_value(), lval_func_check_synthetic_pointer(), lval_func_copy_closure(), lval_func_free_closure(), lval_func_read(), lval_func_write(), read_pieced_value(), and write_pieced_value().
const struct lval_funcs* value_computed_funcs | ( | const struct value * | v | ) |
Definition at line 1412 of file value.c.
References value::computed, gdb_assert, value::location, lval_computed, and value_lval_const().
Referenced by coerce_ref_if_computed(), value_assign(), value_fetch_lazy(), and value_ind().
Definition at line 1329 of file value.c.
References require_available(), require_not_optimized_out(), and value_contents_writeable().
Referenced by aarch64_push_dummy_call(), ada_convert_actual(), ada_value_assign(), ada_value_equal(), ada_value_primitive_field(), ada_value_primitive_packed_val(), alpha_push_dummy_call(), amd64_push_arguments(), amd64_windows_adjust_args_passed_by_pointer(), amd64_windows_push_arguments(), amd64_windows_store_arg_in_reg(), arm_push_dummy_call(), avr_push_dummy_call(), c_get_string(), cast_into_complex(), coerce_ref(), create_value(), cris_push_dummy_call(), dump_value_to_file(), dwarf_expr_fetch_address(), ensure_lval(), evaluate_struct_tuple(), evaluate_subexp_standard(), frame_unwind_register_value(), frv_push_dummy_call(), gdbscm_value_to_bytevector(), gnuv3_method_ptr_to_value(), h8300_push_dummy_call(), hppa32_push_dummy_call(), hppa64_push_dummy_call(), i387_print_float_info(), ia64_push_dummy_call(), indirect_pieced_value(), init_array_element(), iq2000_push_dummy_call(), lm32_push_dummy_call(), lval_func_read(), lval_func_write(), m32c_push_dummy_call(), m32r_push_dummy_call(), m68hc11_push_dummy_call(), m88k_store_arguments(), mep_push_dummy_call(), mips_eabi_push_dummy_call(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mn10300_push_dummy_call(), mt_push_dummy_call(), nios2_push_dummy_call(), parse_find_args(), ppc64_sysv_abi_push_dummy_call(), ppc_sysv_abi_push_dummy_call(), printf_decfloat(), push_large_arguments(), pyuw_sniffer(), pyuw_value_obj_to_pointer(), read_frame_register_unsigned(), return_command(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), s390_handle_arg(), score_push_dummy_call(), set_internalvar_component(), sh64_push_dummy_call(), sh_justify_value_in_reg(), sparc32_store_arguments(), sparc64_store_arguments(), spu_push_dummy_call(), store_regs(), tic6x_push_dummy_call(), tilegx_push_dummy_call(), to_fixed_variant_branch_type(), ui_printf(), v850_push_dummy_call(), valpy_nonzero(), value_args_as_decimal(), value_as_address(), value_as_double(), value_as_long(), value_as_string(), value_assign(), value_assign_to_component(), value_cast(), value_coerce_to_target(), value_concat(), value_equal(), value_equal_contents(), value_fetch_lazy(), value_in(), value_literal_complex(), value_logical_not(), value_neg(), value_pos(), value_primitive_field(), value_strcmp(), write_pieced_value(), xstormy16_push_dummy_call(), and xtensa_push_dummy_call().
Definition at line 1188 of file value.c.
References require_available(), require_not_optimized_out(), and value_contents_for_printing().
Referenced by ada_promote_array_of_integrals(), dwarf2_evaluate_loc_desc_full(), evaluate_subexp_opencl(), execute_stack_op(), frame_register_unwind(), hppa_frame_prev_register_helper(), i386_darwin_push_dummy_call(), i386_push_dummy_call(), ia64_frame_prev_register(), m68k_push_dummy_call(), msp430_push_dummy_call(), read_pieced_value(), rl78_push_dummy_call(), rx_frame_prev_register(), rx_push_dummy_call(), value_complement(), value_neg(), value_non_lval(), value_one(), value_vector_widen(), vax_store_arguments(), and vector_binop().
Definition at line 1091 of file value.c.
References allocate_value_contents(), and value::contents.
Referenced by siginfo_value_read(), siginfo_value_write(), value_contents_copy_raw(), value_copy(), value_fetch_lazy(), value_non_lval(), and value_repeat().
|
static |
Definition at line 803 of file value.c.
References value::contents, value::enclosing_type, find_first_range_overlap_and_match(), gdb_assert, value::lazy, memcmp_with_bit_offsets(), TARGET_CHAR_BIT, and TYPE_LENGTH.
Referenced by value_contents_eq().
void value_contents_copy | ( | struct value * | dst, |
int | dst_offset, | ||
struct value * | src, | ||
int | src_offset, | ||
int | length | ||
) |
Definition at line 1295 of file value.c.
References value::lazy, value_contents_copy_raw(), and value_fetch_lazy().
Referenced by dwarf2_evaluate_loc_desc_full(), read_frame_register_value(), value_array(), value_fetch_lazy(), value_slice(), and value_subscripted_rvalue().
void value_contents_copy_raw | ( | struct value * | dst, |
int | dst_offset, | ||
struct value * | src, | ||
int | src_offset, | ||
int | length | ||
) |
Definition at line 1248 of file value.c.
References gdb_assert, value::lazy, TARGET_CHAR_BIT, value_bits_any_optimized_out(), value_bytes_available(), value_contents_all_raw(), and value_ranges_copy_adjusted().
Referenced by coerce_unspec_val_to_type(), value_contents_copy(), and value_primitive_field().
int value_contents_eq | ( | const struct value * | val1, |
int | offset1, | ||
const struct value * | val2, | ||
int | offset2, | ||
int | length | ||
) |
Definition at line 865 of file value.c.
References TARGET_CHAR_BIT, and value_contents_bits_eq().
Referenced by java_value_print(), read_frame_arg(), val_print_array_elements(), and val_print_packed_array_elements().
Definition at line 1173 of file value.c.
References value::contents, value::lazy, and value_fetch_lazy().
Referenced by ada_val_print_gnat_array(), ada_val_print_num(), ada_val_print_ref(), ada_value_print(), c_value_print(), common_val_print(), cp_print_static_field(), default_print_one_register_info(), do_search_struct_field(), dynamic_array_type(), extract_bitfield_from_watchpoint_value(), find_method_list(), is_unique_ancestor(), m2_print_unbounded_array(), mips_print_register(), output_register(), pascal_object_print_static_field(), print_field_values(), print_formatted(), search_struct_method(), val_print_packed_array_elements(), value_contents_all(), value_dynamic_cast(), value_fetch_lazy(), and value_print().
Definition at line 1181 of file value.c.
References value::contents, gdb_assert, and value::lazy.
Referenced by cp_print_value(), print_go_string(), and val_print_scalar_formatted().
Definition at line 1084 of file value.c.
References allocate_value_contents(), value::contents, and value::embedded_offset.
Referenced by aarch64_pseudo_read_value(), ada_convert_actual(), ada_value_assign(), ada_value_binop(), amd64_pseudo_register_read_value(), call_function_by_hand_dummy(), cast_into_complex(), default_read_var_value(), do_search_struct_field(), dwarf2_evaluate_loc_desc_full(), elf_gnu_ifunc_resolver_return_stop(), evaluate_subexp_c(), evaluate_subexp_standard(), frame_unwind_got_bytes(), get_return_value(), i386_pseudo_register_read_into_value(), init_array_element(), lval_func_read(), read_pieced_value(), regcache_cooked_read(), regcache_cooked_read_value(), scalar_binop(), sdata_make_value(), tlb_value_read(), unpack_value_bitfield(), value_assign(), value_contents_writeable(), value_cstring(), value_force_lval(), value_from_contents(), value_from_decfloat(), value_from_double(), value_from_longest(), value_from_pointer(), value_from_register(), value_from_ulongest(), value_literal_complex(), value_neg(), value_of_builtin_frame_fp_reg(), value_of_builtin_frame_pc_reg(), value_of_dwarf_reg_entry(), value_pos(), and value_string().
Definition at line 1338 of file value.c.
References value::lazy, value_contents_raw(), and value_fetch_lazy().
Referenced by aarch64_push_dummy_call(), ada_promote_array_of_integrals(), bfin_push_dummy_call(), create_value(), dummy_frame_prev_register(), dwarf2_compute_name(), evaluate_struct_tuple(), evaluate_subexp_opencl(), frame_unwind_got_address(), frame_unwind_got_constant(), lval_func_write(), make_array_descriptor(), opencl_logical_not(), set_internalvar_component(), value_assign_to_component(), value_cast(), value_complement(), value_contents(), value_neg(), value_one(), value_struct_elt_for_reference(), value_vector_widen(), vector_binop(), and vector_relop().
Definition at line 1667 of file value.c.
References allocate_value(), allocate_value_lazy(), value::bitpos, value::bitsize, value::computed, lval_funcs::copy_closure, value::embedded_offset, value::lazy, value::location, lval_computed, value::modifiable, value::offset, value::parent, value::pointed_to_offset, set_value_parent(), value::type, TYPE_LENGTH, value_contents_all_raw(), value_embedded_offset(), value_enclosing_type(), VALUE_FRAME_ID, value_lazy(), VALUE_LVAL, VALUE_REGNUM, and VEC_copy.
Referenced by access_value_history(), ada_coerce_to_simple_array_ptr(), ada_value_assign(), ada_value_ptr_subscript(), bpstat_copy(), convert_value_from_python(), do_search_struct_field(), gdbpy_get_varobj_pretty_printer(), make_cv_value(), set_internalvar(), thin_data_pntr(), value_addr(), value_assign(), value_cast(), value_cast_pointers(), value_full_object(), value_of_internalvar(), and vlscm_convert_typed_value_from_scheme().
Definition at line 1388 of file value.c.
References value::embedded_offset.
Referenced by ada_val_print_gnat_array(), ada_val_print_num(), ada_val_print_ref(), ada_value_print(), c_value_print(), common_val_print(), compare_value_and_voffset(), cp_print_static_field(), default_print_one_register_info(), do_search_struct_field(), dynamic_array_type(), eq_value_and_voffset(), evaluate_subexp_standard(), gnuv3_get_typeid(), gnuv3_rtti_type(), hash_value_and_voffset(), is_unique_ancestor(), java_value_print(), list_arg_or_local(), m2_print_unbounded_array(), mips_print_register(), output_register(), pascal_object_print_static_field(), print_field_values(), print_formatted(), print_one_vtable(), val_print_packed_array_elements(), value_addr(), value_cast_structs(), value_copy(), value_dynamic_cast(), value_fetch_lazy(), value_full_object(), value_non_lval(), value_primitive_field(), value_print(), and value_subscripted_rvalue().
Definition at line 1098 of file value.c.
References value::enclosing_type.
Referenced by ada_array_bound(), ada_array_length(), ada_value_print(), ada_value_ptr_subscript(), bfin_push_dummy_call(), c_value_print(), coerce_ref(), cp_print_static_field(), do_search_struct_field(), gnuv3_rtti_type(), i386_darwin_push_dummy_call(), i386_push_dummy_call(), m68k_push_dummy_call(), make_cv_value(), read_pieced_value(), rl78_push_dummy_call(), set_value_enclosing_type(), tilegx_push_dummy_call(), value_actual_type(), value_addr(), value_array(), value_assign(), value_copy(), value_entirely_covered_by_range_vector(), value_fetch_lazy(), value_full_object(), value_ind(), value_non_lval(), value_primitive_field(), value_repeat(), vax_store_arguments(), and xstormy16_push_dummy_call().
Definition at line 368 of file value.c.
References value::lazy, value_fetch_lazy(), and VEC_empty.
Referenced by c_value_print(), default_print_one_register_info(), frame_register_unwind(), i387_print_float_info(), output_register(), read_frame_register_unsigned(), regcache_cooked_read(), and store_regs().
|
static |
Definition at line 385 of file value.c.
References value::lazy, range::length, range::offset, TARGET_CHAR_BIT, TYPE_LENGTH, value_enclosing_type(), value_fetch_lazy(), VEC_index, and VEC_length.
Referenced by value_entirely_optimized_out(), and value_entirely_unavailable().
Definition at line 413 of file value.c.
References value_entirely_covered_by_range_vector().
Referenced by cp_print_static_field(), pascal_object_print_static_field(), and value_check_printable().
Definition at line 407 of file value.c.
References value_entirely_covered_by_range_vector().
Referenced by list_arg_or_local(), and value_check_printable().
void value_fetch_lazy | ( | struct value * | val | ) |
Definition at line 3793 of file value.c.
References _, allocate_value_contents(), check_typedef(), fprintf_unfiltered(), frame_debug, frame_find_by_id(), frame_id_eq(), frame_relative_level(), gdb_assert, gdb_stdlog, gdbarch_convert_register_p(), get_frame_arch(), get_frame_register_value(), internal_error(), lval_computed, lval_memory, lval_register, paddress(), value::parent, read(), lval_funcs::read, read_value_memory(), register_size(), regnum, set_value_lazy(), TYPE_LENGTH, unpack_value_bitfield(), user_reg_map_regnum_to_name(), val_print_optimized_out(), value_address(), value_bitpos(), value_bitsize(), value_computed_funcs(), value_contents(), value_contents_all_raw(), value_contents_copy(), value_contents_for_printing(), value_embedded_offset(), value_enclosing_type(), value_fetch_lazy(), VALUE_FRAME_ID, value_free_to_mark(), value_lazy(), VALUE_LVAL, value_mark(), value_offset(), value_optimized_out(), value_parent(), VALUE_REGNUM, value_stack(), value_type(), and VEC_empty.
Referenced by fetch_subexp_value(), gdbscm_value_fetch_lazy_x(), get_value_at(), gnuv2_virtual_fn_field(), install_new_value(), java_value_print(), read_frame_arg(), record_latest_value(), return_command(), set_internalvar(), valpy_fetch_lazy(), value_contents_copy(), value_contents_for_printing(), value_contents_writeable(), value_entirely_available(), value_entirely_covered_by_range_vector(), value_fetch_lazy(), value_of_internalvar(), value_of_register(), value_optimized_out(), and value_primitive_field().
Definition at line 3102 of file value.c.
References value_primitive_field(), and value_type().
Referenced by ada_varobj_struct_elt(), compute_vtable_size(), gnuv2_value_rtti_type(), gnuv2_virtual_fn_field(), gnuv3_baseclass_offset(), gnuv3_get_typeid(), gnuv3_get_virtual_fn(), gnuv3_rtti_type(), print_one_vtable(), ptid_from_atcb_common(), read_atcb(), read_fat_string_value(), and read_known_tasks_list().
struct value* value_field_bitfield | ( | struct type * | type, |
int | fieldno, | ||
const gdb_byte * | valaddr, | ||
int | embedded_offset, | ||
const struct value * | val | ||
) |
Definition at line 3323 of file value.c.
References allocate_value(), value::bitpos, value::bitsize, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, and unpack_value_bitfield().
Referenced by cp_print_value_fields(), java_print_value_fields(), and pascal_object_print_value_fields().
struct value* value_fn_field | ( | struct value ** | arg1p, |
struct fn_field * | f, | ||
int | j, | ||
struct type * | type, | ||
int | offset | ||
) |
Definition at line 3115 of file value.c.
References allocate_value(), BLOCK_START, BMSYMBOL_VALUE_ADDRESS, current_target, gdb_assert, gdbarch_convert_from_func_ptr_addr(), get_objfile_arch(), lookup_bound_minimal_symbol(), lookup_pointer_type(), lookup_symbol(), bound_minimal_symbol::minsym, bound_minimal_symbol::objfile, set_value_address(), SYMBOL_BLOCK_VALUE, TYPE_FN_FIELD_PHYSNAME, TYPE_FN_FIELD_TYPE, value_addr(), value_cast(), value_ind(), value_type(), and VAR_DOMAIN.
Referenced by find_overload_match(), and search_struct_method().
Definition at line 1751 of file value.c.
References value::address, gdb_assert, value::location, value::lval, lval_memory, not_lval, TYPE_LENGTH, value_contents_raw(), VALUE_LVAL, value_type(), and write_memory().
Referenced by call_function_by_hand_dummy().
void value_free | ( | struct value * | val | ) |
Definition at line 1518 of file value.c.
References value::computed, value::contents, lval_funcs::free_closure, free_xmethod_worker(), gdb_assert, value::location, lval_computed, lval_xcallable, value::parent, value::reference_count, value_free(), VALUE_LVAL, VEC_free, xfree(), and value::xm_worker.
Referenced by address_from_register(), bpstat_clear_actions(), bpstat_free(), breakpoint_init_inferior(), clear_internalvar(), do_examine(), do_value_free(), dtor_watchpoint(), dwarf2_compute_name(), entry_data_value_free_closure(), frame_register_unwind(), free_all_values(), free_pieced_value_closure(), free_value_chain(), free_variable(), install_new_value(), invalidate_bp_value_on_memory_change(), lval_func_free_closure(), m68hc11_frame_prev_register(), m88k_frame_prev_register(), mep_frame_prev_register(), set_value_parent(), update_watchpoint(), valpy_dealloc(), value_free(), value_free_to_mark(), varobj_clear_saved_item(), and vlscm_free_value_smob().
void value_free_to_mark | ( | struct value * | mark | ) |
Definition at line 1551 of file value.c.
References value::next, value::released, and value_free().
Referenced by ada_template_to_fixed_record_type_1(), ada_val_print_gnat_array(), assign_component(), bpstat_check_breakpoint_conditions(), breakpoint_cond_eval(), do_value_free_to_mark(), execute_control_command(), handle_inferior_event(), info_port_rights(), java_value_print(), lval_func_write(), regcache_cooked_read(), should_stop_exception(), to_record_with_fixed_variant_part(), val_print_packed_array_elements(), value_fetch_lazy(), vector_binop(), watch_command_1(), and watchpoint_check().
Definition at line 3553 of file value.c.
References allocate_value(), TYPE_LENGTH, and value_contents_raw().
Referenced by dwarf2_evaluate_property(), execute_stack_op(), indirect_pieced_value(), value_from_contents_and_address(), value_from_contents_and_address_unresolved(), and vlscm_convert_bytevector().
struct value* value_from_contents_and_address | ( | struct type * | type, |
const gdb_byte * | valaddr, | ||
CORE_ADDR | address | ||
) |
Definition at line 3529 of file value.c.
References allocate_value_lazy(), check_typedef(), lval_memory, PROP_CONST, resolve_dynamic_type(), set_value_address(), TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND, value_from_contents(), and VALUE_LVAL.
Referenced by ada_tag_value_at_base_address(), ada_to_fixed_type_1(), ada_to_fixed_value_create(), ada_val_print_gnat_array(), ada_val_print_num(), ada_val_print_ptr(), ada_value_primitive_packed_val(), amd64_windows_adjust_args_passed_by_pointer(), call_function_by_hand_dummy(), cp_print_value(), cp_print_value_fields_rtti(), execute_stack_op(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), gdbscm_make_lazy_value(), get_value_at(), read_atcb(), read_known_tasks_list(), search_struct_method(), to_record_with_fixed_variant_part(), and value_tag_from_contents_and_address().
struct value* value_from_contents_and_address_unresolved | ( | struct type * | type, |
const gdb_byte * | valaddr, | ||
CORE_ADDR | address | ||
) |
Definition at line 3508 of file value.c.
References allocate_value_lazy(), lval_memory, set_value_address(), value_from_contents(), and VALUE_LVAL.
Referenced by ada_template_to_fixed_record_type_1(), and ada_which_variant_applies().
Definition at line 3580 of file value.c.
References allocate_value(), TYPE_LENGTH, and value_contents_raw().
Referenced by evaluate_subexp_standard(), printf_decfloat(), scalar_binop(), value_cast(), value_one(), and value_pos().
Definition at line 3563 of file value.c.
References _, allocate_value(), check_typedef(), code, error(), store_typed_floating(), TYPE_CODE, TYPE_CODE_FLT, and value_contents_raw().
Referenced by cast_from_fixed(), convert_value_from_python(), evaluate_subexp_standard(), print_subexp_standard(), value_cast(), value_neg(), value_one(), value_pos(), vlscm_convert_number(), and vlscm_convert_typed_number().
Definition at line 3593 of file value.c.
References access_value_history(), and len.
Referenced by get_number_trailer().
Definition at line 3464 of file value.c.
References allocate_value(), pack_long(), and value_contents_raw().
Referenced by ada_array_length(), ada_evaluate_subexp(), ada_value_ptr_subscript(), ada_varobj_simple_array_elt(), assign_component(), call_target_sbrk(), cast_to_fixed(), checkpoint_command(), compute_probe_arg(), const_expr(), const_var_ref(), convert_value_from_python(), desc_bounds(), dwarf2_compute_name(), enum_constant_from_type(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), inferior_call_waitpid(), isvoid_internal_fn(), linux_infcall_mmap(), maybe_print_array_index(), opencl_logical_not(), opencl_relop(), print_scalar_formatted(), print_subexp_standard(), s390_unwind_pseudo_register(), thin_data_pntr(), thread_id_make_value(), valpy_binop(), value_allocate_space_in_inferior(), value_assign(), value_cast(), value_complement(), value_neg(), value_nsstring(), value_of_internalvar(), value_one(), value_pos(), value_pos_atr(), value_struct_elt_for_reference(), value_val_atr(), value_x_unop(), vlscm_binop(), vlscm_convert_number(), vlscm_convert_typed_number(), vlscm_convert_typed_value_from_scheme(), and vlscm_unop().
Definition at line 3490 of file value.c.
References allocate_value(), check_typedef(), store_typed_address(), and value_contents_raw().
Referenced by aarch64_push_dummy_call(), ada_val_print_ref(), address_of_variable(), alpha_push_dummy_call(), c_value_print(), call_function_by_hand_dummy(), compile_object_run(), const_var_ref(), do_module_cleanup(), evaluate_subexp_standard(), find_command(), find_function_in_inferior(), flush_ea_cache(), gnuv3_method_ptr_to_value(), inferior_call_waitpid(), linux_infcall_mmap(), linux_infcall_munmap(), s390_unwind_pseudo_register(), set_next_address(), sparc32_store_arguments(), sparc64_store_arguments(), value_addr(), value_coerce_array(), value_coerce_function(), value_ptradd(), value_struct_elt_for_reference(), and x_command().
Definition at line 3476 of file value.c.
References allocate_value(), pack_unsigned_long(), and value_contents_raw().
Referenced by convert_value_from_python(), dwarf_expr_push_address(), execute_stack_op(), linux_infcall_mmap(), and linux_infcall_munmap().
void value_incref | ( | struct value * | val | ) |
Definition at line 1508 of file value.c.
References value::reference_count.
Referenced by allocate_lval_closure(), allocate_piece_closure(), dwarf2_evaluate_loc_desc_full(), entry_data_value_coerce_ref(), entry_data_value_copy_closure(), install_new_value(), release_value_or_incref(), and set_value_parent().
Definition at line 3779 of file value.c.
References value::initialized.
Referenced by c_value_print().
char* value_internal_function_name | ( | struct value * | val | ) |
Definition at line 2425 of file value.c.
References gdb_assert, get_internalvar_function(), lval_internalvar, internal_function::name, VALUE_INTERNALVAR, and VALUE_LVAL.
Referenced by value_check_printable().
Definition at line 1305 of file value.c.
References value::lazy.
Referenced by ada_value_primitive_packed_val(), address_of_variable(), c_value_of_variable(), can_use_hardware_watchpoint(), coerce_unspec_val_to_type(), fetch_subexp_value(), frame_unwind_register_value(), gdbscm_value_fetch_lazy_x(), gdbscm_value_lazy_p(), gnuv2_virtual_fn_field(), install_new_value(), num_memory_accesses(), read_frame_arg(), record_latest_value(), return_command(), set_internalvar(), update_watchpoint(), valpy_fetch_lazy(), valpy_get_is_lazy(), value_copy(), value_fetch_lazy(), value_of_internalvar(), value_primitive_field(), value_slice(), value_subscripted_rvalue(), varobj_set_display_format(), varobj_set_value(), and x_command().
Definition at line 1434 of file value.c.
References value::lval.
Referenced by coerce_ref_if_computed(), gnuv3_get_typeid(), val_print_optimized_out(), and value_computed_funcs().
struct value* value_mark | ( | void | ) |
Definition at line 1499 of file value.c.
References all_values.
Referenced by ada_template_to_fixed_record_type_1(), ada_val_print_gnat_array(), assign_component(), bpstat_check_breakpoint_conditions(), breakpoint_cond_eval(), dwarf2_evaluate_loc_desc_full(), dwarf2_loc_desc_needs_frame(), execute_control_command(), execute_stack_op(), fetch_subexp_value(), gdbscm_make_lazy_value(), gdbscm_make_value(), gdbscm_parse_and_eval(), gdbscm_value_address(), gdbscm_value_call(), gdbscm_value_dereference(), gdbscm_value_dynamic_type(), gdbscm_value_field(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_lazy_string(), handle_inferior_event(), info_port_rights(), java_value_print(), lval_func_write(), prepare_execute_command(), regcache_cooked_read(), should_stop_exception(), to_record_with_fixed_variant_part(), val_print_packed_array_elements(), valpy_absolute(), valpy_binop(), valpy_call(), valpy_const_value(), valpy_dereference(), valpy_do_cast(), valpy_get_address(), valpy_get_dynamic_type(), valpy_getitem(), valpy_lazy_string(), valpy_negative(), valpy_reference_value(), valpy_referenced_value(), valpy_richcompare(), value_fetch_lazy(), vector_binop(), vlscm_binop(), vlscm_do_cast(), vlscm_rich_compare(), vlscm_unop(), watch_command_1(), watchpoint_check(), and yyparse().
Definition at line 1015 of file value.c.
References value::next.
Referenced by can_use_hardware_watchpoint(), free_value_chain(), num_memory_accesses(), and update_watchpoint().
Definition at line 1731 of file value.c.
References allocate_value(), not_lval, set_value_embedded_offset(), set_value_pointed_to_offset(), value::type, TYPE_LENGTH, value_contents_all(), value_contents_all_raw(), value_embedded_offset(), value_enclosing_type(), VALUE_LVAL, and value_pointed_to_offset().
Referenced by evaluate_subexp(), and evaluate_subexp_standard().
struct value* value_of_internalvar | ( | struct gdbarch * | gdbarch, |
struct internalvar * | var | ||
) |
Definition at line 2146 of file value.c.
References _, allocate_value(), internalvar_data::data, find_trace_state_variable(), internalvar_data::functions, internalvar_data::integer, internal_error(), INTERNALVAR_FUNCTION, INTERNALVAR_INTEGER, INTERNALVAR_MAKE_VALUE, INTERNALVAR_STRING, INTERNALVAR_VALUE, INTERNALVAR_VOID, internalvar::kind, value::lval, lval_computed, lval_internalvar, internalvar_funcs::make_value, internalvar_data::make_value, internalvar::name, trace_state_variable::number, internalvar_data::string, target_get_trace_state_variable_value, internalvar_data::type, internalvar::u, internalvar_data::val, trace_state_variable::value, internalvar_data::value, value_copy(), value_cstring(), value_fetch_lazy(), value_from_longest(), VALUE_INTERNALVAR, trace_state_variable::value_known, value_lazy(), and VALUE_LVAL.
Referenced by evaluate_subexp_standard(), show_convenience(), value_assign(), and yyparse().
struct value* value_of_xmethod | ( | struct xmethod_worker * | worker | ) |
Definition at line 2608 of file value.c.
References allocate_value(), value::location, value::lval, lval_xcallable, value::modifiable, target_gdbarch(), xmethod_worker::value, and value::xm_worker.
Referenced by find_overload_match().
Definition at line 1032 of file value.c.
References value::offset.
Referenced by check_pieced_synthetic_pointer(), extract_bitfield_from_watchpoint_value(), find_method_list(), gnuv2_virtual_fn_field(), indirect_pieced_value(), java_value_print(), lval_func_read(), lval_func_write(), read_frame_register_value(), read_pieced_value(), siginfo_value_read(), siginfo_value_write(), value_assign(), value_fetch_lazy(), value_primitive_field(), value_slice(), value_subscripted_rvalue(), and write_pieced_value().
Definition at line 1346 of file value.c.
References value::lazy, value_fetch_lazy(), and VEC_empty.
Referenced by address_from_register(), default_print_one_register_info(), dwarf2_evaluate_loc_desc_full(), dwarf2_evaluate_property(), frame_register_unwind(), frame_unwind_register_value(), gdbscm_value_optimized_out_p(), insert_exception_resume_breakpoint(), read_frame_arg(), read_frame_register_unsigned(), s390_unwind_pseudo_register(), store_regs(), valpy_get_is_optimized_out(), and value_fetch_lazy().
Definition at line 1065 of file value.c.
References value::parent.
Referenced by value_assign(), and value_fetch_lazy().
Definition at line 1400 of file value.c.
References value::pointed_to_offset.
Referenced by readjust_indirect_value_type(), value_assign(), value_ind(), and value_non_lval().
struct value* value_primitive_field | ( | struct value * | arg1, |
int | offset, | ||
int | fieldno, | ||
struct type * | arg_type | ||
) |
Definition at line 2990 of file value.c.
References allocate_value(), allocate_value_lazy(), baseclass_offset(), BASETYPE_VIA_VIRTUAL, value::bitpos, value::bitsize, CHECK_TYPEDEF, check_typedef(), value::embedded_offset, lval_register, value::offset, set_value_component_location(), set_value_parent(), type, value::type, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_TYPE, TYPE_LENGTH, TYPE_N_BASECLASSES, value_address(), value_contents(), value_contents_copy_raw(), value_embedded_offset(), value_enclosing_type(), value_fetch_lazy(), VALUE_FRAME_ID, value_lazy(), VALUE_LVAL, value_offset(), and VALUE_REGNUM.
Referenced by aarch64_push_dummy_call(), ada_value_primitive_field(), do_search_struct_field(), gnuv2_virtual_fn_field(), value_field(), value_struct_element_index(), and value_struct_elt_bitpos().
|
static |
Definition at line 1225 of file value.c.
References ranges_copy_adjusted().
Referenced by unpack_value_bitfield(), and value_contents_copy_raw().
Definition at line 1453 of file value.c.
References value::address, value::location, value::lval, lval_internalvar, lval_internalvar_component, and lval_xcallable.
Referenced by java_value_print().
Definition at line 1643 of file value.c.
References value::next, and value::released.
Referenced by fetch_subexp_value(), and yyparse().
Definition at line 1317 of file value.c.
References value::stack.
Referenced by value_fetch_lazy(), and value_repeat().
Definition at line 2926 of file value.c.
References allocate_optimized_out_value(), BMSYMBOL_VALUE_ADDRESS, FIELD_LOC_KIND_PHYSADDR, FIELD_LOC_KIND_PHYSNAME, gdb_assert_not_reached, lookup_minimal_symbol(), lookup_symbol(), bound_minimal_symbol::minsym, TYPE_FIELD_LOC_KIND, TYPE_FIELD_STATIC_PHYSADDR, TYPE_FIELD_STATIC_PHYSNAME, TYPE_FIELD_TYPE, value_at_lazy(), value_of_variable(), and VAR_DOMAIN.
Referenced by cp_print_value_fields(), do_search_struct_field(), java_print_value_fields(), value_struct_element_index(), and value_struct_elt_for_reference().
Definition at line 1021 of file value.c.
References value::type.
Referenced by aarch64_pseudo_read_value(), aarch64_push_dummy_call(), ada_args_match(), ada_array_bound(), ada_array_length(), ada_coerce_ref(), ada_coerce_to_simple_array(), ada_coerce_to_simple_array_ptr(), ada_convert_actual(), ada_evaluate_subexp(), ada_get_decoded_value(), ada_promote_array_of_integrals(), ada_tag_name(), ada_tag_type(), ada_tag_value_at_base_address(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_to_fixed_value(), ada_type_of_array(), ada_val_print_gnat_array(), ada_val_print_ref(), ada_value_assign(), ada_value_binop(), ada_value_cast(), ada_value_equal(), ada_value_ind(), ada_value_is_changeable_p(), ada_value_primitive_packed_val(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_struct_elt(), ada_value_subscript(), ada_varobj_adjust_for_child_access(), ada_varobj_decode_var(), ada_varobj_ind(), ada_varobj_simple_array_elt(), ada_varobj_struct_elt(), address_of_variable(), aggregate_assign_from_choices(), alpha_push_dummy_call(), amd64_pseudo_register_read_value(), amd64_push_arguments(), amd64_windows_adjust_args_passed_by_pointer(), amd64_windows_push_arguments(), amd64_windows_store_arg_in_reg(), arm_push_dummy_call(), arm_return_value(), assign_aggregate(), assign_component(), avr_push_dummy_call(), bfin_push_dummy_call(), binop_promote(), binop_user_defined_p(), bpfinishpy_pre_stop_hook(), c_get_string(), c_value_print(), call_function_by_hand_dummy(), call_xmethod(), can_use_hardware_watchpoint(), cast_from_fixed(), cast_into_complex(), cast_to_fixed(), check_condition(), coerce_array(), coerce_for_assign(), coerce_ref(), coerce_ref_if_computed(), coerce_unspec_val_to_type(), common_val_print(), compute_vtable_size(), cp_print_value(), cp_print_value_fields_rtti(), create_value(), cris_push_dummy_call(), decimal_from_integral(), decode_constrained_packed_array(), default_print_one_register_info(), desc_bounds(), desc_data(), do_search_struct_field(), dump_value_to_file(), dwarf2_evaluate_loc_desc_full(), dwarf_expr_fetch_address(), dynamic_array_type(), elf_gnu_ifunc_resolver_return_stop(), ensure_lval(), entry_data_value_coerce_ref(), evaluate_struct_tuple(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), execute_stack_op(), extract_bitfield_from_watchpoint_value(), find_function_addr(), find_oload_champ_namespace_loop(), find_overload_match(), finish_command_continuation(), frame_register_unwind(), frv_push_dummy_call(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_value_call(), gdbscm_value_dynamic_type(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_bool(), gdbscm_value_to_bytevector(), gdbscm_value_to_integer(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), gdbscm_value_type(), gen_expr(), gen_repeat(), get_internalvar_integer(), get_java_utf8_name(), get_number_trailer(), gnuv2_value_rtti_type(), gnuv2_virtual_fn_field(), gnuv3_get_type_from_type_info(), gnuv3_get_typeid(), gnuv3_get_typename_from_type_info(), gnuv3_get_virtual_fn(), gnuv3_method_ptr_to_value(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), h8300_push_dummy_call(), hppa32_push_dummy_call(), hppa64_push_dummy_call(), i386_pseudo_register_read_into_value(), ia64_push_dummy_call(), indirect_pieced_value(), info_mach_region_command(), init_array_element(), install_new_value(), iq2000_push_dummy_call(), is_unique_ancestor(), isvoid_internal_fn(), java_class_from_object(), java_link_class_type(), java_print_value_fields(), java_value_print(), linespec_parse_variable(), list_arg_or_local(), lm32_push_dummy_call(), lval_func_check_synthetic_pointer(), lval_func_read(), lval_func_write(), m2_print_unbounded_array(), m32c_push_dummy_call(), m32r_push_dummy_call(), m68hc11_push_dummy_call(), m68k_push_dummy_call(), m88k_store_arguments(), maintenance_print_type(), make_array_descriptor(), make_cv_value(), mep_push_dummy_call(), mips_eabi_push_dummy_call(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_print_register(), mn10300_push_dummy_call(), msp430_push_dummy_call(), mt_push_dummy_call(), nios2_push_dummy_call(), opencl_component_ref(), opencl_logical_not(), opencl_relop(), opencl_value_cast(), output_command_const(), output_register(), parse_expression_for_completion(), parse_find_args(), pascal_object_print_static_field(), pascal_value_print(), pos_atr(), possible_user_operator_p(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_return_value(), ppc_sysv_abi_broken_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_abi_return_value(), print_command_1(), print_formatted(), print_frame_arg(), print_one_vtable(), print_value(), print_variable_or_computed(), printf_decfloat(), printf_wide_c_string(), push_large_arguments(), py_print_single_arg(), py_print_type(), py_print_value(), pyuw_sniffer(), pyuw_value_obj_to_pointer(), rank_function(), rank_one_type(), read_atcb(), read_fat_string_value(), read_frame_arg(), read_frame_register_value(), read_pieced_value(), regcache_cooked_read_value(), resolve_subexp(), result_type_of_xmethod(), return_command(), rl78_push_dummy_call(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), rx_push_dummy_call(), s390_handle_arg(), s390_push_dummy_call(), scalar_binop(), scan_discrim_bound(), score_push_dummy_call(), set_internalvar(), set_internalvar_component(), sh64_push_dummy_call(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_return_value_fpu(), sh_return_value_nofpu(), sh_stack_allocsize(), siginfo_value_read(), siginfo_value_write(), sparc32_store_arguments(), sparc64_store_arguments(), spu_push_dummy_call(), spu_return_value(), thin_data_pntr(), tic6x_push_dummy_call(), tlb_value_read(), to_fixed_variant_branch_type(), to_record_with_fixed_variant_part(), type_from_class(), typecmp(), ui_printf(), unop_promote(), unop_user_defined_p(), unpack_value_bitfield(), unwind_infopy_add_saved_register(), unwrap_value(), update_watchpoint(), v850_push_dummy_call(), val_print_packed_array_elements(), valpy_absolute(), valpy_binop(), valpy_call(), valpy_float(), valpy_get_dynamic_type(), valpy_get_type(), valpy_getitem(), valpy_int(), valpy_lazy_string(), valpy_long(), valpy_nonzero(), valpy_referenced_value(), value_actual_type(), value_addr(), value_arg_coerce(), value_args_as_decimal(), value_as_address(), value_as_double(), value_as_long(), value_assign(), value_assign_to_component(), value_binop(), value_cast(), value_cast_pointers(), value_cast_structs(), value_check_printable(), value_coerce_array(), value_coerce_function(), value_coerce_to_target(), value_complement(), value_concat(), value_dynamic_cast(), value_equal(), value_equal_contents(), value_f90_subarray(), value_fetch_lazy(), value_field(), value_find_oload_method_list(), value_fn_field(), value_force_lval(), value_full_object(), value_has_field(), value_in(), value_ind(), value_less(), value_logical_not(), value_must_coerce_to_target(), value_neg(), value_of_root(), value_pos(), value_print(), value_ptradd(), value_ptrdiff(), value_ref(), value_reinterpret_cast(), value_rtti_indirect_type(), value_slice(), value_strcmp(), value_struct_element_index(), value_struct_elt(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), value_subscript(), value_subscript_packed(), value_subscripted_rvalue(), value_val_atr(), value_vector_widen(), value_x_binop(), value_x_unop(), varobj_create(), varobj_get_value_type(), varobj_value_get_print_value(), VEC(), vector_binop(), vector_relop(), vlscm_binop(), vlscm_unop(), watch_command_1(), whatis_exp(), write_pieced_value(), x_command(), xtensa_push_dummy_call(), and yyparse().
VEC | ( | char_ptr | ) |
Definition at line 2052 of file value.c.
References len, internalvar::name, internalvar::next, and VEC_safe_push.
|
static |
Definition at line 906 of file value.c.
Referenced by allocate_value_lazy(), and value_mark().
|
static |
|
static |
Definition at line 1994 of file value.c.
Referenced by create_internalvar().
|
static |
Definition at line 897 of file value.c.
Referenced by access_value_history(), and record_latest_value().
|
static |
Definition at line 899 of file value.c.
Referenced by access_value_history(), record_latest_value(), and show_values().