This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: struct/class members using mi interface


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]