This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI equivalent for "whatis"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]