Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb@sourceware.org
Subject: Re: MI equivalent for "whatis"
Date: Thu, 26 Jan 2006 17:22:00 -0000	[thread overview]
Message-ID: <20060126164126.GB7113@nevyn.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2006-01-26 16:41 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 [this message]
2006-01-27 16:11   ` Vladimir Prus
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=20060126164126.GB7113@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    /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