aboutsummaryrefslogtreecommitdiff
path: root/gdb/valarith.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/valarith.c
parent58852c27692e29c5e94038a6a0dc1023b7da239c (diff)
downloadgdb-9f2feefc7a78826e5c4e90e528a372696d38da91.zip
gdb-9f2feefc7a78826e5c4e90e528a372696d38da91.tar.gz
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/valarith.c')
-rw-r--r--gdb/valarith.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index f88701f..54f332a 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -185,7 +185,6 @@ value_subscript (struct value *array, struct value *idx)
COERCE_REF (array);
tarray = check_typedef (VALUE_TYPE (array));
- COERCE_VARYING_ARRAY (array, tarray);
if (TYPE_CODE (tarray) == TYPE_CODE_ARRAY
|| TYPE_CODE (tarray) == TYPE_CODE_STRING)
@@ -624,9 +623,6 @@ value_concat (struct value *arg1, struct value *arg2)
struct type *type1 = check_typedef (VALUE_TYPE (arg1));
struct type *type2 = check_typedef (VALUE_TYPE (arg2));
- COERCE_VARYING_ARRAY (arg1, type1);
- COERCE_VARYING_ARRAY (arg2, type2);
-
/* First figure out if we are dealing with two values to be concatenated
or a repeat count and a value to be repeated. INVAL1 is set to the
first of two concatenated values, or the repeat count. INVAL2 is set