summaryrefslogtreecommitdiff
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
commit182e9e3b54ad3afc06beeee8f625bb14759c98c9 (patch)
tree751ee54d51a5c2c6311406d87b94d3dcfff09937 /gdb/valarith.c
parente75023fc46563ef0f28b32b9315678577083feba (diff)
downloadgdb-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/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 f88701faee8..54f332ad2e0 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