From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38594 invoked by alias); 7 Nov 2019 10:22:23 -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 38586 invoked by uid 89); 7 Nov 2019 10:22:22 -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,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:570 X-HELO: mail-wr1-f65.google.com Received: from mail-wr1-f65.google.com (HELO mail-wr1-f65.google.com) (209.85.221.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Nov 2019 10:22:21 +0000 Received: by mail-wr1-f65.google.com with SMTP id b3so2301772wrs.13 for ; Thu, 07 Nov 2019 02:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=undo-io.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tdR1NOu1WLoGFFVCDIuS9a1CehKp4oV94tammSSbjfA=; b=X2YzWdBSM99PIOaqY18dQKQUHJCH6B7SnerZbaL3hL4nlPzloLqXhwYKsRPiXOYKGs ED2rc3KyvDfYMj6DjR+lrenm7KXB25Q3InUyTGTaumvo6i3GPf2XiHtR73WbmeuAKDAw jIMDN/xMIKL4iSIDPLUGg+DAGx/Myq+FhkBJflDIiN16z6saWJrj1cMW4yvjca0yqK3s 23u4PCLJ/XPQ8KuQCFVzWJMtlV8UJdChKKaxkfMSNZW+hWFu2mstPIH4seFcchbs8psB X6zO8ZuEK4nw0ev4Kr8QkDZ5l8RC+CEE44JXj/OiTyL3wW7R5WxqsWeXWpaGdZXPhBJJ D6fw== Return-Path: Received: from [172.20.10.2] ([82.132.225.55]) by smtp.gmail.com with ESMTPSA id g11sm1513706wmh.27.2019.11.07.02.22.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Nov 2019 02:22:18 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: [PATCH v2] Add a way to preserve overridden GDB commands for later invocation From: Marco Barisione In-Reply-To: <82352974-6E4A-4711-9911-172F04F2CE14@undo.io> Date: Thu, 07 Nov 2019 10:22:00 -0000 Cc: Tom Tromey , gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20191028133234.319-1-mbarisione@undo.io> <20191101085449.28493-1-mbarisione@undo.io> <87wocj1k3y.fsf@tromey.com> <2E9BBFD2-6643-4958-AF6B-FFC974FFF479@undo.io> <20191105101745.GC11037@embecosm.com> <82352974-6E4A-4711-9911-172F04F2CE14@undo.io> To: Andrew Burgess X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00207.txt.bz2 On 6 Nov 2019, at 08:42, Marco Barisione wrote: >> I wonder, instead of having 'invoke_overridden' and/or >> 'invoke_original', if we could/should look to TCL for inspiration, >> specifically it's uplevel command[1]. >=20 > Hm, I think this is potentially a very good idea. I thought more about this and I=E2=80=99m not sure that uplevel would be clear to somebody who never touched TCL before. I don=E2=80=99t have any better suggestion at the moment. Ideas? --=20 Marco Barisione