diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:10:24 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:10:24 +0000 |
commit | 41c05b9ac26553d99a21e39ca38d62933b76562c (patch) | |
tree | a0d169b76d1ef9f4cc6629777d791bf46b09d5f4 /gdb/value.h | |
parent | 5d9f1db38ec5d9ca173fec9e8015a2361cdacddc (diff) | |
download | gdb-41c05b9ac26553d99a21e39ca38d62933b76562c.tar.gz |
* value.h (value_bitstring_subscript): New prototype.
* valarith.h (value_bitstring_subscript): New function.
(value_subscript): No longer handle TYPE_CODE_BITSTRING.
* eval.c (evaluate_subexp_standard): Call value_bitstring_subscript
instead of value_subscript to handle TYPE_CODE_BITSTRING.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h index 2aac9b2d76c..77de9814ece 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -405,6 +405,10 @@ extern struct value *value_repeat (struct value *arg1, int count); extern struct value *value_subscript (struct value *array, struct value *idx); +extern struct value *value_bitstring_subscript (struct type *type, + struct value *bitstring, + struct value *idx); + extern struct value *register_value_being_returned (struct type *valtype, struct regcache *retbuf); |