I'm trying to print an object's vtable using gdb; I found the
show print vt bl on
setting, but I still don't actually know how to print the vtable - p *object still doesn't print it out.
How do I print the vtable?
A more compact solution:
p /a (*(void ***)obj)[0]@10
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With