From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30829 invoked by alias); 20 Feb 2005 20:37:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30792 invoked from network); 20 Feb 2005 20:36:52 -0000 Received: from unknown (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org with SMTP; 20 Feb 2005 20:36:52 -0000 Received: from farnswood.snap.net.nz (p252-tnt1.snap.net.nz [202.124.110.252]) by viper.snap.net.nz (Postfix) with ESMTP id 721B4409A1C; Mon, 21 Feb 2005 09:36:50 +1300 (NZDT) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id EA69F62FBE; Sun, 20 Feb 2005 20:35:19 +0000 (GMT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16920.62599.166899.125474@farnswood.snap.net.nz> Date: Mon, 21 Feb 2005 03:28:00 -0000 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH: gdb/mi + doco] -var-update In-Reply-To: <4218ACB1.6010508@gnu.org> References: <16919.7660.144228.334687@farnswood.snap.net.nz> <4218ACB1.6010508@gnu.org> X-SW-Source: 2005-02/txt/msg00214.txt.bz2 > it should use mi-getopt (which correctly [?] implements the MI input > syntax). If you find doing this alters the commands semantics (quoting > of parameters might be affected) then we'll need to introduce a new > ``fixed'' command. Hmm. I'm not very happy with adding another level of abstraction, at the moment. I can see that it might force the command to have the right syntax but, at least for me, it also makes the code quite unreadable. This patch uses the same methods as applied to my previous ones for -var-list-children and -stack-list-locals which, in fact, you guided me through. mi-getopt was also available at that time. Are you saying that you won't accept the current patch, with Eli's concerns addressed, or is it possible to adapt for mi-getopt at a later stage, when MI is more stable? Nick