Article View: gnu.g++.bug
Article #393GDB and GNU C++
From: Michael Tiemann
Date: Thu, 07 Sep 1989 03:40
Date: Thu, 07 Sep 1989 03:40
16 lines
968 bytes
968 bytes
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
Technical Details
Message-ID:
<8909070340.AA07126@teacake.sun.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!SUN.COM!tiemannShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!SUN.COM!tiemann From: tiemann@SUN.COM (Michael Tiemann) Newsgroups: gnu.g++.bug Subject: GDB and GNU C++ Message-ID: <8909070340.AA07126@teacake.sun.com> Date: 7 Sep 89 03:40:25 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@lurch.stanford.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16