GDB 5.1.0.1 and GCC 3.0.4 derived classes

Smith, Jonathan C5 SmithJC5@navair.navy.mil
Wed Apr 3 04:21:00 GMT 2002


I've noticed a bizarre error when using GDB 5.1.0.1 with a C++ binary
compiled using GCC 3.0.4.  When attempting to display objects, I found two
of our derived classes could not be printed.  The error was, "Value cannot
be converted to an integer."  These include virtual pointers and they are
printed out when the binary is compiled under GCC 2.94.

Is this a known issue?  If so, when will a fix be available?

Thanks,

Jonathan Smith



More information about the Gdb mailing list