From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27404 invoked by alias); 15 Apr 2019 07:34:39 -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 27380 invoked by uid 89); 15 Apr 2019 07:34:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mailsec115.isp.belgacom.be Received: from mailsec115.isp.belgacom.be (HELO mailsec115.isp.belgacom.be) (195.238.20.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 Apr 2019 07:34:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1555313677; x=1586849677; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=YGJiNi32Rre6/EhdT7r88z1POpErafVghfmxsNIB2Pk=; b=NA+y+BwVbh6Rkf2qH7cEbRf5Hchl4djriV+08zWFmeIEUnRgnZJuSXEm I/N94dbgEg55DwpIbIVByQYNcMHNpQ==; Received: from 45.123-131-109.adsl-dyn.isp.belgacom.be (HELO md) ([109.131.123.45]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 15 Apr 2019 09:34:35 +0200 Message-ID: <1555313674.1473.4.camel@skynet.be> Subject: Re: [RFA 1/3] / command : fast way to change setting(s), run a command, reset settings(s). From: Philippe Waroquiers To: Kevin Buettner Cc: gdb-patches@sourceware.org Date: Mon, 15 Apr 2019 07:34:00 -0000 In-Reply-To: <20190414112035.64913f42@f29-4.lan> References: <20190413190016.11970-1-philippe.waroquiers@skynet.be> <20190413190016.11970-2-philippe.waroquiers@skynet.be> <20190414112035.64913f42@f29-4.lan> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00261.txt.bz2 On Sun, 2019-04-14 at 11:20 -0700, Kevin Buettner wrote: > 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... There was an RFC on gdb-patches but no previous discussion on gdb. So, here it is: https://sourceware.org/ml/gdb/2019-04/msg00006.html Thanks Philippe