2004-11-10 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Wed, 10 Nov 2004 18:52:25 +0000 (18:52 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 10 Nov 2004 18:52:25 +0000 (18:52 +0000)
commit994b921186a7275b71c4462dbbb8895072fcbc64
treed744788e3d80537d7c7cdd49d13e542ca7a3c146
parent06987e6431adee88dcffb552d01162668efbf9f4
2004-11-10  Andrew Cagney  <cagney@gnu.org>

* value.h (COERCE_REF, COERCE_ARRAY, COERCE_NUMBER, COERCE_ENUM)
(coerce_ref, coerce_array, coerce_number, coerce_enum): Replace
macros with function declarations.
* value.c (coerce_ref, coerce_array, coerce_number)
(coerce_enum): New functions.
(value_as_long, value_as_address): Update.
* ada-lang.c (ada_coerce_ref, ada_value_binop)
(ada_evaluate_subexp, ada_value_assign, ada_value_struct_elt): Update.
* jv-lang.c (evaluate_subexp_java): Update.
* valarith.c (value_less, value_neg, value_complement)
(value_binop, value_add, value_subscript, value_x_binop)
(value_logical_not, value_sub): Update.
* valops.c (check_field, value_struct_elt, value_ind)
(value_find_oload_method_list, value_cast, value_assign): Update.
* eval.c (evaluate_subexp_standard): Update.
gdb/ChangeLog
gdb/ada-lang.c
gdb/eval.c
gdb/jv-lang.c
gdb/valarith.c
gdb/valops.c
gdb/value.c
gdb/value.h