This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]