This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: struct/class members using mi interface
- From: Tom Tromey <tromey at redhat dot com>
- To: Alistair Leslie-Hughes <leslie_alistair at hotmail dot com>
- Cc: <gdb at sourceware dot org>
- Date: Thu, 21 Jul 2011 07:55:31 -0600
- Subject: Re: struct/class members using mi interface
- References: <SNT105-DS1110B4AACA27BE5D418168934C0@phx.gbl>
>>>>> "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