summaryrefslogtreecommitdiffstats
path: root/gdb/gnu-v2-abi.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-05-25 17:09:48 +0000
committerJim Blandy <jimb@codesourcery.com>2001-05-25 17:09:48 +0000
commit4b1fedf1057b786a82bc42622d561fda8e977957 (patch)
tree59198e0909b29964308e3b0e92c6ca1efab733e9 /gdb/gnu-v2-abi.c
parent64e9ece0ca23e2d4bd03b323990421dc713828e0 (diff)
downloadppe42-binutils-4b1fedf1057b786a82bc42622d561fda8e977957.tar.gz
ppe42-binutils-4b1fedf1057b786a82bc42622d561fda8e977957.zip
* 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c
index fd9aad5fdc..8c46219971 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));
}
OpenPOWER on IntegriCloud