aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-11-02 14:18:14 +0000
committerAndrew Cagney <cagney@redhat.com>2004-11-02 14:18:14 +0000
commit9f2feefc7a78826e5c4e90e528a372696d38da91 (patch)
tree29d3ad2a4984c2d08024d3a7f93314c8cf1a59bb /gdb/valops.c
parent58852c27692e29c5e94038a6a0dc1023b7da239c (diff)
downloadfsf-binutils-gdb-9f2feefc7a78826e5c4e90e528a372696d38da91.zip
fsf-binutils-gdb-9f2feefc7a78826e5c4e90e528a372696d38da91.tar.gz
fsf-binutils-gdb-9f2feefc7a78826e5c4e90e528a372696d38da91.tar.bz2
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 575c9a3..de92457 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)