diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-11-09 14:43:27 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-11-09 14:43:27 +0000 |
commit | 00a4c844d2c851177adf911848689e99db9a2cdb (patch) | |
tree | d89ce410c9918e83cb853d27c5a443a39a10f46e /gdb/value.h | |
parent | 5cb2fe259cab194fd68b4d1e6736f7054b15790c (diff) | |
download | gdb-00a4c844d2c851177adf911848689e99db9a2cdb.zip gdb-00a4c844d2c851177adf911848689e99db9a2cdb.tar.gz gdb-00a4c844d2c851177adf911848689e99db9a2cdb.tar.bz2 |
2004-11-09 Andrew Cagney <cagney@gnu.org>
* value.h (struct value): Delete field bfd_section.
(VALUE_BFD_SECTION): Delete macro.
(COERCE_REF): Update.
(value_at, value_at_lazy): Delete asection parameter.
* printcmd.c (print_formatted, x_command): Update.
(do_examine): Delete asection parameter.
(next_section): Delete variable.
* valops.c (value_cast, value_at, value_at_lazy)
(value_coerce_function, value_addr, value_ind, value_string)
(find_rt_vbase_offset, value_full_object): Update.
* hpacc-abi.c (hpacc_virtual_fn_field)
(hpacc_value_rtti_type): Update.
* gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_virtual_fn_field)
(gnuv3_baseclass_offset): Update.
* f-valprint.c (f_val_print): Update.
* c-valprint.c (c_val_print): Update.
* p-valprint.c (pascal_val_print): Update.
* jv-valprint.c (java_value_print): Update.
* jv-lang.c (java_class_from_object, evaluate_subexp_java): Update.
* ada-lang.c (ada_value_primitive_packed_val)
(ada_evaluate_subexp): Update.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Update.
* expprint.c (print_subexp_standard): Update.
* infcall.c (call_function_by_hand): Update.
* valarith.c (value_add): Update.
* eval.c (evaluate_subexp_standard): Update.
* values.c (allocate_value, value_copy, value_static_field): Update.
* findvar.c (read_var_value, locate_var_value): Update.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gdb/value.h b/gdb/value.h index 6a3814c..3a44e68 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -162,9 +162,6 @@ struct value actually exist in the program. */ char optimized_out; - /* The BFD section associated with this value. */ - asection *bfd_section; - /* Actual contents of the value. For use of this value; setting it uses the stuff above. Not valid if lazy is nonzero. Target byte-order. We force it to be aligned properly for any @@ -226,7 +223,6 @@ extern int value_fetch_lazy (struct value *val); #define VALUE_OPTIMIZED_OUT(val) ((val)->optimized_out) #define VALUE_EMBEDDED_OFFSET(val) ((val)->embedded_offset) #define VALUE_POINTED_TO_OFFSET(val) ((val)->pointed_to_offset) -#define VALUE_BFD_SECTION(val) ((val)->bfd_section) /* Convert a REF to the object referenced. */ @@ -236,8 +232,7 @@ extern int value_fetch_lazy (struct value *val); if (TYPE_CODE (value_type_arg_tmp) == TYPE_CODE_REF) \ arg = value_at_lazy (TYPE_TARGET_TYPE (value_type_arg_tmp), \ unpack_pointer (VALUE_TYPE (arg), \ - VALUE_CONTENTS (arg)), \ - VALUE_BFD_SECTION (arg)); \ + VALUE_CONTENTS (arg))); \ } while (0) /* If ARG is an array, convert it to a pointer. @@ -309,10 +304,8 @@ extern struct value *value_from_pointer (struct type *type, CORE_ADDR addr); extern struct value *value_from_double (struct type *type, DOUBLEST num); extern struct value *value_from_string (char *string); -extern struct value *value_at (struct type *type, CORE_ADDR addr, - asection * sect); -extern struct value *value_at_lazy (struct type *type, CORE_ADDR addr, - asection * sect); +extern struct value *value_at (struct type *type, CORE_ADDR addr); +extern struct value *value_at_lazy (struct type *type, CORE_ADDR addr); extern struct value *value_from_register (struct type *type, int regnum, struct frame_info *frame); |