aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:10:24 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:10:24 +0000
commitafc05acb8b7119cd458335298c75d1e6f3ebda7d (patch)
tree9fd116c63f0144bab48edfaa61dcf09022b7540c /gdb/value.h
parent3e79cecf024acb3f5739ec19d6ebd331f08e80e8 (diff)
downloadfsf-binutils-gdb-afc05acb8b7119cd458335298c75d1e6f3ebda7d.zip
fsf-binutils-gdb-afc05acb8b7119cd458335298c75d1e6f3ebda7d.tar.gz
fsf-binutils-gdb-afc05acb8b7119cd458335298c75d1e6f3ebda7d.tar.bz2
* 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 2aac9b2d..77de981 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);