]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
authorJim Blandy <jimb@codesourcery.com>
Fri, 25 May 2001 17:09:48 +0000 (17:09 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 25 May 2001 17:09:48 +0000 (17:09 +0000)
VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
useful value, then we should fix that instead.

gdb/ChangeLog
gdb/gnu-v2-abi.c

index 62b576e17bf28ecf08d8b1c059ea1dce0e11ef26..e04febf00aeec90971fa5484f687d2787159410a 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-25  Jim Blandy  <jimb@redhat.com>
+
+       * 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.
+
 2001-05-24  Nick Duffek  <nsd@redhat.com>
 
        * solist.h (struct so_list): Document the requirement that
index fd9aad5fdc774d72f569f82427357b7f4a58d1ef..8c46219971ebbb50fabb531f741be1e19fd978b8 100644 (file)
@@ -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));
     }