'GDB, No symbol "something" in current context

I have read all cases related to this question, none match may case. Compiler is g++, no optimization. I ask to print a class, gdb does that. Next is a pointer member of the class, which gdb shows as hex. So now I ask: "print *member" and I get no such sumbol. If I try "print *class_name.member", it will say syntax error near ".member". Basically the question is: how do I get gdb to print the dereference of a pointer member of a class?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source