This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
When I try to print an instance of an object from the library, gdb thinks it is a struct:
#10 0x000000000040825c in main (argc=1, argv=0x7fffffffe748) at test.cxx:60
60 Renderer->Delete();
(gdb) print Renderer
$1 = (struct vtkRenderer *) 0x52d5b0
(gdb) print *Renderer
$2 = <incomplete type>
I've tried compiling my test.cxx program with '-g' and later '- gdwarf-2
-g3' after reading through some archives.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |