OSDN Git Service

* value.h (value_subscript, value_subscripted_rvalue,
authoruweigand <uweigand>
Mon, 29 Jun 2009 13:24:40 +0000 (13:24 +0000)
committeruweigand <uweigand>
Mon, 29 Jun 2009 13:24:40 +0000 (13:24 +0000)
commitb0d60754f8fcabcd8636e128e310d1754ece7e7e
tree6dbe0609e81891b4ec4c0d8cef02fec6815d7790
parent01b9629add10ff145c73b3e7d60d7746ba4a25fe
* value.h (value_subscript, value_subscripted_rvalue,
value_bitstring_subscript, value_ptradd): Use LONGEST instead
of value as type of the index argument.
(value_ptrsub): Remove.
* valarith.c (value_subscript, value_subscripted_rvalue,
value_bitstring_subscript, value_ptradd): Use LONGEST instead
of value as type of the index argument.
(value_ptrsub): Remove.

* wrapper.h (gdb_value_subscript): Use LONGEST instead of
value as type of the index argument.
* wrapper.c (gdb_value_subscript): Likewise.

Update calls to gdb_value_subscript, value_subscript,
value_subscripted_rvalue, value_bitstring_subscript and
value_ptradd to use LONGEST instead of value as index
argument type.  Use value_ptradd instead of value_ptrsub.
* ada-lang.c (ada_value_subscript, ada_value_ptr_subscript,
ada_tag_name_2): Update.
* ada-tasks.c (read_atcb): Update.
* eval.c (evaluate_subexp_standard): Update.
* valarith.c (value_subscript): Update.
* gnu-v2-abi.c (gnuv2_virtual_fn_field): Update.
* gnu-v3-abi.c (gnuv3_get_virtual_fn, gnuv3_baseclass_offset,
gnuv3_method_ptr_to_value): Update.
* jv-lang.c (evaluate_subexp_java): Update.
* m2-lang.c (evaluate_subexp_modula2): Update.
* python/python-value.c (valpy_getitem, valpy_binop): Update.
* wrapper.c (gdb_value_subscript): Update.
* varobj.c (c_describe_child): Update.
14 files changed:
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/eval.c
gdb/gnu-v2-abi.c
gdb/gnu-v3-abi.c
gdb/jv-lang.c
gdb/m2-lang.c
gdb/python/python-value.c
gdb/valarith.c
gdb/value.h
gdb/varobj.c
gdb/wrapper.c
gdb/wrapper.h