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 76d5f13..771cc2b 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -151,7 +151,7 @@ gnuv2_virtual_fn_field (struct value **arg1p, struct fn_field * f, int j, else { /* Handle the case where the vtbl field points directly to a structure. */ - vtbl = value_add (vtbl, vi); + vtbl = value_ptradd (vtbl, vi); entry = value_ind (vtbl); } |