Cygwin-gdb can't find linker symbol for virtual table

Julin, Joshua joshua.julin@lmco.com
Mon May 5 18:03:00 GMT 2003


I tried running gdb with "set language c++" and "set print vtbl" and still
got the same old warning.
Josh


//--------------------------------------------------
(gdb) set language c++
(gdb) set print vtbl
(gdb) file josh
Reading symbols from josh...done.
(gdb) set language c++
(gdb) set print vtbl
(gdb) b main
Breakpoint 1 at 0x4010ae: file josh.cpp, line 17.
(gdb) r
Starting program: /home/josh/rearch/tryAgain/josh.exe 

Breakpoint 1, main () at josh.cpp:17
17          Object3 * ptr3 = new Object3;
(gdb) n
18          Object4 * ptr4 = new Object4;
(gdb) n
19      }
(gdb) p ptr4->x
warning: can't find linker symbol for virtual table for `Object4' value
$1 = 0
(gdb) 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list