From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8228 invoked by alias); 7 Jul 2005 13:03:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8172 invoked by uid 22791); 7 Jul 2005 13:03:37 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 07 Jul 2005 13:03:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DqW2R-0000o9-K8; Thu, 07 Jul 2005 09:03:35 -0400 Date: Thu, 07 Jul 2005 13:03:00 -0000 From: Daniel Jacobowitz To: Karganov Konstantin Cc: gdb@sources.redhat.com Subject: Re: MI usage inside a user-defined commands Message-ID: <20050707130334.GA3033@nevyn.them.org> Mail-Followup-To: Karganov Konstantin , gdb@sources.redhat.com References: <20050706135004.GA25977@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00068.txt.bz2 On Thu, Jul 07, 2005 at 04:06:48PM +0400, Karganov Konstantin wrote: > > > The ability to use CLI syntax in MI mode is documented in the manual as > > an unsupported, transitional feature. > By the way, the -gdb-set command is described as "Set an internal GDB > variable. The corresponding GDB command is set". > From the description it is unclear - is "-gdb-set var" an ocasional > undocumented feature or the correct way of setting program variables. > > I suggest it's better for the docs to state this explicitly. I don't know the intention - but usually, to manipulate program variables in MI, one uses varobj. -- Daniel Jacobowitz CodeSourcery, LLC