From dfa52d88e70f7149def79ecf95faea9f87477df4 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 7 Feb 2005 15:04:43 +0000 Subject: 2005-02-07 Andrew Cagney * 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. --- gdb/ada-lang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/ada-lang.c') diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 799d01f..222ead4 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -420,7 +420,7 @@ value_from_contents_and_address (struct type *type, { struct value *v = allocate_value (type); if (valaddr == NULL) - VALUE_LAZY (v) = 1; + set_value_lazy (v, 1); else memcpy (value_contents_raw (v), valaddr, TYPE_LENGTH (type)); VALUE_ADDRESS (v) = address; @@ -453,7 +453,7 @@ coerce_unspec_val_to_type (struct value *val, struct type *type) VALUE_ADDRESS (result) = VALUE_ADDRESS (val) + value_offset (val); if (value_lazy (val) || TYPE_LENGTH (type) > TYPE_LENGTH (value_type (val))) - VALUE_LAZY (result) = 1; + set_value_lazy (result, 1); else memcpy (value_contents_raw (result), value_contents (val), TYPE_LENGTH (type)); -- cgit v1.1