I am debugging a c++ program with gdb in eclipse. How can I now the exact class of an object? Let's say I am debugging a method
void foo(Instruction *I){
I->bar();
}
Let's say also that Instruction
has a lot of subclasses. how can I know which subclass of Instruction
instantiates object I
?