This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI equivalent for "whatis"
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb at sourceware dot org
- Date: Thu, 26 Jan 2006 11:41:26 -0500
- Subject: Re: MI equivalent for "whatis"
- References: <drasur$btb$1@sea.gmane.org>
On Thu, Jan 26, 2006 at 07:21:47PM +0300, Vladimir Prus wrote:
>
> Is there any MI command that does the same as "whatis".
What you see in the manual is what you get :-)
> The "-symbol-type" is not implemented and to use `-var-info-type' I need to
> use "variable-objects", which is too much of refactoring.
I assume you mean -symbol-list-types. Someone could implement that.
But varobj really is the way to go and it wouldn't be hard to do a
special-case of that:
-var-create OBJ * <symbolname>
-var-info-type OBJ
-var-delete OBJ
--
Daniel Jacobowitz
CodeSourcery