> __progname works for structs and not classes as per below url

The same should work with class objects too. I've used it many times and
still using. If the class object variable is not pointer just try
(gdb) p class_object_variable

if it is pointer try
(gdb) p *class_object_variable


Thanks & Regards,
Siva Chandran P

http://www.sivachandran.in/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to