I have the class XObject defined globally and application is built with the debug info. However, attempting to cast some hex value to the pointer to this class gives me an error: (gdb) p (XObject*)0x848cdd420 A syntax error in expression, near `)0x848cdd420'. For some weird reason, casting to some subclass of XObject works fine. gdb-7.3.1 on FreeBSD-8.2 (build from the source) but this error was observed on several previous versions as well.
Same happens when 0x848cdd420 is replaced with just 0.
I would also like to point out that this error doesn't mean that the class isn't known, in case of unknown class the error says this explicitly: (gdb) p (XObject1*)0 No symbol "XObject1" in current context.
A test case would be helpful.
My attempt at a simple test case didn't show the problem.
I am going to guess this is a dup of PR 8888. *** This bug has been marked as a duplicate of bug 8888 ***