From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18137 invoked by alias); 26 Jan 2006 16:41:35 -0000 Received: (qmail 18126 invoked by uid 22791); 26 Jan 2006 16:41:35 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 26 Jan 2006 16:41:32 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F2ABa-00020z-IQ for gdb@sourceware.org; Thu, 26 Jan 2006 11:41:26 -0500 Date: Thu, 26 Jan 2006 17:22:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: MI equivalent for "whatis" Message-ID: <20060126164126.GB7113@nevyn.them.org> Mail-Followup-To: gdb@sourceware.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00268.txt.bz2 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 * -var-info-type OBJ -var-delete OBJ -- Daniel Jacobowitz CodeSourcery