diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-11-02 14:18:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-11-02 14:18:14 +0000 |
commit | 182e9e3b54ad3afc06beeee8f625bb14759c98c9 (patch) | |
tree | 751ee54d51a5c2c6311406d87b94d3dcfff09937 /gdb/valops.c | |
parent | e75023fc46563ef0f28b32b9315678577083feba (diff) | |
download | gdb-182e9e3b54ad3afc06beeee8f625bb14759c98c9.tar.gz |
2004-11-02 Andrew Cagney <cagney@gnu.org>
* value.h (COERCE_VARYING_ARRAY): Delete.
* valops.c (value_cast, value_slice): Delete use.
* valarith.c (value_subscript, value_concat): Delete use.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 575c9a335ea..de92457b467 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -253,7 +253,6 @@ value_cast (struct type *type, struct value *arg2) arg2 = value_coerce_function (arg2); type2 = check_typedef (VALUE_TYPE (arg2)); - COERCE_VARYING_ARRAY (arg2, type2); code2 = TYPE_CODE (type2); if (code1 == TYPE_CODE_COMPLEX) @@ -2731,7 +2730,6 @@ value_slice (struct value *array, int lowbound, int length) struct value *slice; struct type *array_type; array_type = check_typedef (VALUE_TYPE (array)); - COERCE_VARYING_ARRAY (array, array_type); if (TYPE_CODE (array_type) != TYPE_CODE_ARRAY && TYPE_CODE (array_type) != TYPE_CODE_STRING && TYPE_CODE (array_type) != TYPE_CODE_BITSTRING) |