This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: <incomplete type> in a C++ program compiled with gcc 4.0.1
Daniel Jacobowitz escribió:
(gdb) p a_example
$1 = <incomplete type>
Unfortunately this is a GCC problem - I am not sure whether to call it
a bug or not. This might work if you had a debugging build of
libstdc++, but debug information about some classes is only emitted
with their key methods. You'll have to report this to the GCC
developers, probably via bugzilla.
Oh, I see. Thanks a lot. ;)