[gnu.g++.bug] GDB and GNU C++

tiemann@SUN.COM (Michael Tiemann) (09/07/89)

In the file values.c, function value_virtual_fn_field:

  /* The virtual function table is now an array of structures
     which have the form { int16 offset, delta; void *pfn; }.  */
  vtbl = value_ind (value_field (arg1, TYPE_VPTR_FIELDNO (type)));
#if 0
  WRONG! WRONG! WRONG!
  VALUE_TYPE (vtbl) = lookup_pointer_type (builtin_type_int);
#endif

gdb 3.2.xxx is missing the #if 0/#endif pair. :-)

It appears that the other GNU C++/GDB problems were GNU C++'s fault.
The two should work hand-in-hand again soon (with release 1.36.0).

Michael