Received: from eggs.gnu.org ([2001:4830:134:3::10]:58036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEIvF-0001Cd-K7 for qemu-devel@nongnu.org; Tue, 06 Dec 2016 11:48:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEIvC-0001nX-JY for qemu-devel@nongnu.org; Tue, 06 Dec 2016 11:48:53 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34495) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cEIvC-0001nT-Eu for qemu-devel@nongnu.org; Tue, 06 Dec 2016 11:48:50 -0500 Received: by mail-qt0-f195.google.com with SMTP id l20so40965985qta.1 for ; Tue, 06 Dec 2016 08:48:50 -0800 (PST) Sender: Richard Henderson References: <20161206150004.19758-1-alex.bennee@linaro.org> From: Richard Henderson Message-ID: <33aef752-f067-e8e7-aa7f-81db44f9518f@twiddle.net> Date: Tue, 6 Dec 2016 08:47:46 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH for 2.9] gdbstub: remove spurious tb_flush() calls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: QEMU Developers , Paolo Bonzini On 12/06/2016 07:42 AM, Peter Maydell wrote: > I also think that cpu_single_step() doing a flush is wrong: > we should have the singlestep flag in the tbflags instead. Yes. And the parallel_cpus flag, so we don't have to keep re-translating an instruction that cannot be handled by the host natively. Indeed, it occurs to me that we could steal some bits out of cflags to represent both of these, and then include cflags in the hash. r~