From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98861 invoked by alias); 3 Jul 2019 12:49:12 -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 98848 invoked by uid 89); 3 Jul 2019 12:49:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=unlimited, H*Ad:U*palves X-HELO: mail-wr1-f53.google.com Received: from mail-wr1-f53.google.com (HELO mail-wr1-f53.google.com) (209.85.221.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Jul 2019 12:49:10 +0000 Received: by mail-wr1-f53.google.com with SMTP id p11so2650540wre.7 for ; Wed, 03 Jul 2019 05:49:10 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id y6sm2344632wrp.12.2019.07.03.05.49.08 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jul 2019 05:49:08 -0700 (PDT) Subject: Re: [PATCH v2 0/4] Introduce the "with" command To: gdb-patches@sourceware.org References: <20190618003902.19805-1-palves@redhat.com> Cc: Philippe Waroquiers From: Pedro Alves Message-ID: <8e2afe6f-a568-3b05-503c-368d574adb5f@redhat.com> Date: Wed, 03 Jul 2019 12:49:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190618003902.19805-1-palves@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-07/txt/msg00066.txt.bz2 On 6/18/19 1:38 AM, Pedro Alves wrote: > > (gdb) help with > Temporarily set SETTING to VALUE, run COMMAND, and restore SETTING. > Usage: with SETTING [VALUE] [-- COMMAND] > Usage: w SETTING [VALUE] [-- COMMAND] > With no COMMAND, repeats the last executed command. > SETTING is any setting settable with the "set" command. > E.g.: > with language pascal -- print obj > with print elements unlimited -- print obj > I've merged this in now. Thanks, Pedro Alves