From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123112 invoked by alias); 24 Apr 2018 23:24:55 -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 123058 invoked by uid 89); 24 Apr 2018 23:24:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway21.websitewelcome.com Received: from gateway21.websitewelcome.com (HELO gateway21.websitewelcome.com) (192.185.45.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 24 Apr 2018 23:24:50 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 4B5B2400CD1BC for ; Tue, 24 Apr 2018 18:24:49 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id B7Infr1XqlAdrB7InfR15h; Tue, 24 Apr 2018 18:24:49 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:36660 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fB7In-003X8X-0r; Tue, 24 Apr 2018 18:24:49 -0500 From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA 5/8] Allow defining a user command inside a user command References: <20180419191539.661-1-tom@tromey.com> <20180419191539.661-6-tom@tromey.com> Date: Tue, 24 Apr 2018 23:24:00 -0000 In-Reply-To: (Pedro Alves's message of "Tue, 24 Apr 2018 17:43:38 +0100") Message-ID: <87604g89xh.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fB7In-003X8X-0r X-Source-Sender: 97-122-176-117.hlrn.qwest.net (bapiya) [97.122.176.117]:36660 X-Source-Auth: tom+tromey.com X-Email-Count: 9 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-04/txt/msg00495.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> I'd vote for splitting those up: I agree, I did this. Pedro> Isn't this conflating top-level "define" command, with interactive Pedro> input? I imagine that a top-level "define" command in e.g., gdbinit will Pedro> considered "interactive call" according to the above, while in truth, Pedro> it's not really interactive, according to FROM_TTY. Yes, I've re-worded this. Tom