diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-05-25 17:09:48 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-05-25 17:09:48 +0000 |
commit | 24aa2d9df3ca526cbc775433fe2e8ea03c7a6b2e (patch) | |
tree | 9e273f54c41e0a00446c4416f93e80f7009a571a /gdb/gnu-v2-abi.c | |
parent | 9f200203e783531e448d3f768b759d5700e8854d (diff) | |
download | gdb-24aa2d9df3ca526cbc775433fe2e8ea03c7a6b2e.tar.gz |
* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
useful value, then we should fix that instead.
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r-- | gdb/gnu-v2-abi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index fd9aad5fdc7..8c46219971e 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -111,7 +111,6 @@ gnuv2_virtual_fn_field (value_ptr * arg1p, struct fn_field * f, int j, if (TYPE_TARGET_TYPE (context) != type1) { value_ptr tmp = value_cast (context, value_addr (arg1)); - VALUE_POINTED_TO_OFFSET (tmp) = 0; arg1 = value_ind (tmp); type1 = check_typedef (VALUE_TYPE (arg1)); } |