From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FiIBN-00063j-Ar for qemu-devel@nongnu.org; Mon, 22 May 2006 17:43:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FiIBM-00063C-QL for qemu-devel@nongnu.org; Mon, 22 May 2006 17:43:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiIBM-000636-MF for qemu-devel@nongnu.org; Mon, 22 May 2006 17:43:20 -0400 Received: from [84.96.92.61] (helo=sMtp.neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FiIFR-0002tN-3J for qemu-devel@nongnu.org; Mon, 22 May 2006 17:47:33 -0400 Received: from [84.99.204.133] by sp604002mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0IZO00GPFS2X6Z50@sp604002mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Mon, 22 May 2006 23:37:46 +0200 (CEST) Date: Mon, 22 May 2006 23:37:14 +0200 From: Fabrice Bellard Subject: Re: [Qemu-devel] [PATCH 1/5] single step with no IRQs and timers In-reply-to: <446F8396.2000607@windriver.com> Message-id: <44722F0A.8070303@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <446F8396.2000607@windriver.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I agree that the feature is useful, but I am not sure yet if I will apply as is. I am adding support in QEMU for deterministic execution and your patch won't be needed once this new feature is released. BTW, why do you stop real time timers ? These timers are only used for things which do not interfere with the VM (such as VGA refresh). Fabrice. Jason Wessel wrote: > > This patch adds the functionality to the gdb-stub to single step with > the IRQs and timers disabled. It greatly improves gdb's ability to > perform run control while running a linux kernel and stepping off of > breakpoints or stepping into certain types of functions. I have also > included individual controls for IRQs and timers to restore the original > behavior, since it is useful as well. > > signed-off-by: jason.wessel@windriver.com > > Jason.