diff options
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r-- | gdb/gnu-v2-abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index f545ac1..4d932c4 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); |