I use print (CEthPacket*) 0xeb609a0 to examine an object at the given address and get A syntax error in expression, near \') 0xeb609a0\'.
print (CEthPacket*) 0xeb609a0
A syntax error in expression, near \') 0xeb609a0\'.
W
I just ran in to similar issue, and, from a colleague of mine, I learnt that you need to provide the namespace that the class belongs to within a single quotes as following:
(gdb) p ('MyScope::MyClass'*) ptr;