From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7610 invoked by alias); 13 Nov 2013 03:03:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7596 invoked by uid 89); 13 Nov 2013 03:03:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from Unknown (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 13 Nov 2013 03:03:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 54C671166CD; Tue, 12 Nov 2013 22:04:05 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rszcpe5RMM8Y; Tue, 12 Nov 2013 22:04:05 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DB6BD1166C5; Tue, 12 Nov 2013 22:04:04 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 20B07E0735; Wed, 13 Nov 2013 07:03:30 +0400 (RET) Date: Wed, 13 Nov 2013 03:19:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: tromey@redhat.com, gdb-patches@sourceware.org Subject: Re: [RFC] New GDB/MI command "-info-gdb-mi-command" Message-ID: <20131113030330.GJ3481@adacore.com> References: <8761rzknb4.fsf@fleche.redhat.com> <1384255504-28444-1-git-send-email-brobecker@adacore.com> <83siv11soi.fsf@gnu.org> <20131112174319.GE3481@adacore.com> <83li0t1ob1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83li0t1ob1.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-11/txt/msg00336.txt.bz2 > > Can you give some ideas as to how it would be used. > > Like this perhaps: > > if ($_featurep(FOO)) > lets-use-FOO > end > > > Remember also that you can always execute a GDB/MI command from CLI > > using "interpreter-exec". > > But their output is not easily caught and used like above. This is true. But I have to say that I am still a little unsure whether this CLI feature will actually be used, should we implement it. Can we wait for an actual request before we do so, especially for a query about GDB/MI when in CLI mode? That way, we then know that we provide something people actually need. If you know you would use that feature now, then of course that qualifies... I think this feature can also be treated independently from the new GDB/MI command. Adding this new feature wouldn't affect this patch, I would think. -- Joel