From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75603 invoked by alias); 6 Nov 2017 16:38:32 -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 75584 invoked by uid 89); 6 Nov 2017 16:38:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=cli, worries X-HELO: gateway22.websitewelcome.com Received: from gateway22.websitewelcome.com (HELO gateway22.websitewelcome.com) (192.185.47.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Nov 2017 16:38:30 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 1D098138C4 for ; Mon, 6 Nov 2017 10:38:29 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id BkPteWxn2HEImBkPtec8qe; Mon, 06 Nov 2017 10:38:29 -0600 Received: from 71-218-90-63.hlrn.qwest.net ([71.218.90.63]:51740 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eBkPs-003SeV-Sp; Mon, 06 Nov 2017 10:38:29 -0600 From: Tom Tromey To: Tom Tromey Cc: Yao Qi , gdb-patches@sourceware.org Subject: Re: [RFA 7/8] Add truncate_repeat_arguments function References: <20171013205950.22943-1-tom@tromey.com> <20171013205950.22943-8-tom@tromey.com> <87vajitjuv.fsf@tromey.com> <87h8uzu6xw.fsf@tromey.com> <86fuajwh8w.fsf@gmail.com> <87k1ztruap.fsf@tromey.com> Date: Mon, 06 Nov 2017 16:38:00 -0000 In-Reply-To: <87k1ztruap.fsf@tromey.com> (Tom Tromey's message of "Tue, 17 Oct 2017 21:47:42 -0600") Message-ID: <877ev31hx8.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1eBkPs-003SeV-Sp X-Source-Sender: 71-218-90-63.hlrn.qwest.net (pokyo) [71.218.90.63]:51740 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2017-11/txt/msg00116.txt.bz2 Yao> This global variable worries me a little bit. Is it possible that Yao> different part of GDB request to execute the repeatable commands? For Yao> example, CLI and MI issues command, or different UIs issue command. Tom> It's hard to reason about, I agree. [...] I think this is the last remaining constification patch of mine that requires approval. There weren't any concrete suggestions coming from this exchange; but if you have one I am happy to try to implement it. thanks, Tom