summaryrefslogtreecommitdiff
path: root/gdb/valarith.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-07 15:04:43 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-07 15:04:43 +0000
commit5b4842f5d3484afbf01eedf2a370551fb6ff500b (patch)
tree304dbf12e2dd4380bdce8bc2e939faa33b975880 /gdb/valarith.c
parent53f2d01a7f7d6bed0cd0d62fc961ff79106bd6d1 (diff)
downloadgdb-5b4842f5d3484afbf01eedf2a370551fb6ff500b.tar.gz
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_LAZY): Delete (set_value_lazy): Declare. * value.c (set_value_lazy): Define. * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update. * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r--gdb/valarith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 59dde3eef5a..9bfe26b530d 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -269,7 +269,7 @@ value_subscripted_rvalue (struct value *array, struct value *idx, int lowerbound
v = allocate_value (elt_type);
if (value_lazy (array))
- VALUE_LAZY (v) = 1;
+ set_value_lazy (v, 1);
else
memcpy (value_contents_writeable (v),
value_contents (array) + elt_offs, elt_size);