Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <ghost@cs.msu.su>
To: gdb@sources.redhat.com
Subject: Re: MI equivalent for "whatis"
Date: Fri, 27 Jan 2006 16:11:00 -0000	[thread overview]
Message-ID: <drdfe6$lke$1@sea.gmane.org> (raw)
In-Reply-To: <20060126164126.GB7113@nevyn.them.org>

Daniel Jacobowitz wrote:

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

No, exactly "-symbol-type" which is documented as equivalent to "ptype".

> 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

Thanks, that worked.

- Volodya






  reply	other threads:[~2006-01-27 16:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-26 16:38 Vladimir Prus
2006-01-26 17:22 ` Daniel Jacobowitz
2006-01-27 16:11   ` Vladimir Prus [this message]
2006-01-27 16:13     ` Daniel Jacobowitz

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='drdfe6$lke$1@sea.gmane.org' \
    --to=ghost@cs.msu.su \
    --cc=gdb@sources.redhat.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