From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61444 invoked by alias); 14 Apr 2019 18:20:38 -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 61164 invoked by uid 89); 14 Apr 2019 18:20:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1044 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 14 Apr 2019 18:20:37 +0000 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3656B59449; Sun, 14 Apr 2019 18:20:36 +0000 (UTC) Received: from f29-4.lan (ovpn-116-111.phx2.redhat.com [10.3.116.111]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0C8E71018A0C; Sun, 14 Apr 2019 18:20:35 +0000 (UTC) Date: Sun, 14 Apr 2019 18:20:00 -0000 From: Kevin Buettner To: Philippe Waroquiers Cc: gdb-patches@sourceware.org Subject: Re: [RFA 1/3] / command : fast way to change setting(s), run a command, reset settings(s). Message-ID: <20190414112035.64913f42@f29-4.lan> In-Reply-To: <20190413190016.11970-2-philippe.waroquiers@skynet.be> References: <20190413190016.11970-1-philippe.waroquiers@skynet.be> <20190413190016.11970-2-philippe.waroquiers@skynet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00255.txt.bz2 On Sat, 13 Apr 2019 21:00:14 +0200 Philippe Waroquiers wrote: > GDB has a lot of settings related to how commands behaves and/or print things. > > There is however currently no easy way to temporarily change a setting > for a command. > This patch implements a new command called /, that allows to temporarily > change the settings in order to execute another command. > The objective for this / command is to be fast to type, so it uses > 1 or 2 letters codes to identify which settings(s) to temporarily set. Hi Philippe, I'd like to see some discussion regarding your proposed changes to the command line interface first. (Though it is indeed useful to have a patch to try out your proposed changes.) I think it might be useful to post your examples along with a pointer to this patch set to gdb@sourceware.org. If this discussion has already occurred and I've somehow missed it, I'd appreciate a link... Kevin