summaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-02 22:34:36 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-02 22:34:36 +0000
commit7dd837ca83704c757ae2515b2e29577350861adc (patch)
tree010f0f1b9615bf3d6b1b546b4ee931ce6d7d52bf /gdb/gnu-v2-abi.c
parent284785e3eb2369516f2a4c02ab476b024c87faea (diff)
downloadgdb-7dd837ca83704c757ae2515b2e29577350861adc.tar.gz
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.h (value_lazy): Declare. * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update. * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r--gdb/gnu-v2-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c
index f545ac180c4..4d932c465ac 100644
--- a/gdb/gnu-v2-abi.c
+++ b/gdb/gnu-v2-abi.c
@@ -164,7 +164,7 @@ gnuv2_virtual_fn_field (struct value **arg1p, struct fn_field * f, int j,
/* Move the `this' pointer according to the virtual function table. */
arg1->offset += value_as_long (value_field (entry, 0));
- if (!VALUE_LAZY (arg1))
+ if (!value_lazy (arg1))
{
VALUE_LAZY (arg1) = 1;
value_fetch_lazy (arg1);