From: Tom Tromey <tromey@redhat.com>
To: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Cc: <gdb@sourceware.org>
Subject: Re: struct/class members using mi interface
Date: Thu, 21 Jul 2011 13:55:00 -0000 [thread overview]
Message-ID: <m3fwlzybzg.fsf@fleche.redhat.com> (raw)
In-Reply-To: <SNT105-DS1110B4AACA27BE5D418168934C0@phx.gbl> (Alistair Leslie-Hughes's message of "Wed, 20 Jul 2011 16:24:45 +1000")
>>>>> "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
prev parent reply other threads:[~2011-07-21 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 10:13 Alistair Leslie-Hughes
2011-07-21 4:36 ` Jan Kratochvil
2011-07-21 13:55 ` Tom Tromey [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3fwlzybzg.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb@sourceware.org \
--cc=leslie_alistair@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox