gdb cannot find symbol for parent class?

Francisco Moraes <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
I am having this strange issue. gdb clearly knows about the parent class 
but it shows no fields from the parent and claims it doesn't know about it:

(gdb) p *xxMgmtStore::sObject
$3 = (xxMgmtStore) {
   <yyMgmtStore> = {<No data fields>},
   members of xxMgmtStore:
   static sObject = 0x7f89d2290c48,

(gdb) p *(yyMgmtStore*)xxMgmtStore::sObject
No symbol "yyMgmtStore" in current context.

If I try to complete for members of the yyMgmtStore class, I can see gdb 
clearly knows about them. Any suggestions on what may be wrong? This was 
tested with gdb 7.12.1

Francisco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.