This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Cygwin-gdb can't find linker symbol for virtual table
- From: "Julin, Joshua" <joshua dot julin at lmco dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Mon, 05 May 2003 14:03:10 -0400
- Subject: RE: Cygwin-gdb can't find linker symbol for virtual table
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/