OSDN Git Service

* ada-lang.c (assign_component): Use platform-specific integer type
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Jul 2009 12:20:17 +0000 (12:20 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Jul 2009 12:20:17 +0000 (12:20 +0000)
commitf180cb84a0e1abdecca7c32bcc355cb2216259ea
tree84fb4612b439a598c177945b109305e852e5ed33
parentd4f37f6eb75cf17b55f9db361e3b36f2a7faf369
* ada-lang.c (assign_component): Use platform-specific integer type
instead of builtin_type_int32 type.
(ada_evaluate_subexp) [OP_ATR_SIZE]: Likewise.

* ax-gdb.c (gen_expr) [UNOP_NEG]: Use platform-specific integer type
instead of builtin_type_int8 type.
* valarith.c (value_x_unop): Likewise.
* python/python-value.c (valpy_absolute): Avoid reference to
builtin_type_int8 type.

* eval.c (evaluate_subexp_standard): Use platform-specific integer
type instead of builtin_type_int8 as EVAL_SKIP return value type.
* ada-lang.c (ada_evaluate_subexp): Likewise.
* jv-lang.c (evaluate_subexp_java): Likewise.
* m2-lang.c (evaluate_subexp_modula2): Likewise.
* scm-lang.c (evaluate_exp): Likewise.

* value.h (value_bitstring): Add INDEX_TYPE argument.
* valops.c (value_bitstring): Add INDEX_TYPE argument, use it instead
of builtin_type_int32 as base range type.
* eval.c (evaluate_subexp_standard): Update value_bitstring call.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ax-gdb.c
gdb/eval.c
gdb/jv-lang.c
gdb/m2-lang.c
gdb/python/python-value.c
gdb/scm-lang.c
gdb/valarith.c
gdb/valops.c
gdb/value.h