mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (set_value_offset): Declare. * value.c (set_value_offset): Declare. * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update. * findvar.c: Update.
This commit is contained in:
@ -162,7 +162,7 @@ gnuv2_virtual_fn_field (struct value **arg1p, struct fn_field * f, int j,
|
||||
if (TYPE_CODE (entry_type) == TYPE_CODE_STRUCT)
|
||||
{
|
||||
/* Move the `this' pointer according to the virtual function table. */
|
||||
arg1->offset += value_as_long (value_field (entry, 0));
|
||||
set_value_offset (arg1, value_offset (arg1) + value_as_long (value_field (entry, 0)));
|
||||
|
||||
if (!value_lazy (arg1))
|
||||
{
|
||||
|
Reference in New Issue
Block a user