struct/class members using mi interface

Tom Tromey tromey@redhat.com
Thu Jul 21 13:55:00 GMT 2011


>>>>> "Alistair" == Alistair Leslie-Hughes <leslie_alistair@hotmail.com> writes:

Alistair> Using the mi interface, is there a way to retrieve all the member
Alistair> variables of a class/struct?

You can see all the members of an instance using varobj.

I don't think there is a way to query types and get a structured result.
I think it would be a good addition.

Tom



More information about the Gdb mailing list