aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-07-02 12:20:18 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-07-02 12:20:18 +0000
commit22601c155deb926f6bd8ffa2faa04f80b52fc676 (patch)
tree786f00798ca1ac784e97db558a5ed426d211a9a6 /gdb/value.h
parente3506a9f27bb02c48fad7978a446777b047efe51 (diff)
downloadgdb-22601c155deb926f6bd8ffa2faa04f80b52fc676.zip
gdb-22601c155deb926f6bd8ffa2faa04f80b52fc676.tar.gz
gdb-22601c155deb926f6bd8ffa2faa04f80b52fc676.tar.bz2
* 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.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index e3574c1..6258d9f 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -384,7 +384,8 @@ extern struct value *value_cstring (char *ptr, int len,
struct type *char_type);
extern struct value *value_string (char *ptr, int len,
struct type *char_type);
-extern struct value *value_bitstring (char *ptr, int len);
+extern struct value *value_bitstring (char *ptr, int len,
+ struct type *index_type);
extern struct value *value_array (int lowbound, int highbound,
struct value **elemvec);