From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HMJEn-0004vQ-MM for qemu-devel@nongnu.org; Wed, 28 Feb 2007 02:28:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HMJEm-0004vA-C9 for qemu-devel@nongnu.org; Wed, 28 Feb 2007 02:28:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMJEm-0004v7-6a for qemu-devel@nongnu.org; Wed, 28 Feb 2007 02:28:32 -0500 Received: from adsl-2-196.adsl.easynet.fr ([212.11.31.196] helo=athena.purplelabs.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HMJEl-0004hX-PQ for qemu-devel@nongnu.org; Wed, 28 Feb 2007 02:28:32 -0500 Received: from localhost (localhost [127.0.0.1]) by athena.purplelabs.com (Postfix) with ESMTP id 53B89188B0 for ; Wed, 28 Feb 2007 08:28:23 +0100 (CET) Received: from athena.purplelabs.com ([127.0.0.1]) by localhost (athena.purplelabs.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17264-10 for ; Wed, 28 Feb 2007 08:28:21 +0100 (CET) Received: from drivers_vpa_lin.purplelabs.com (drivers_vpa_lin.purplelabs.com [10.1.2.94]) by athena.purplelabs.com (Postfix) with ESMTP id A3A4C166E7 for ; Wed, 28 Feb 2007 08:28:21 +0100 (CET) From: Vincent Palatin Subject: Re: [Qemu-devel] QEMU and ddd Date: Wed, 28 Feb 2007 08:29:58 +0100 References: <20070228031108.a7fa8546.g_cavelier@yahoo.fr> In-Reply-To: <20070228031108.a7fa8546.g_cavelier@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702280829.58523.vincent.palatin_qemu@polytechnique.org> 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 On Wednesday 28 February 2007 03:11, Gregory Cavelier wrote: > I'm trying to use ddd (connected to QEMU) to debug my own kernel and it > works fine. > > The only problem I have is that I'm always interrupted by my IRQ handlers > (and especially the timer, IRQ 0). > > Is there a way to avoid ddd to jump to my irq handlers functions so I can > step into my code without being interrupted ? If you are trying to single-step, you should disable interrupts/timers when single stepping in Qemu GDB stub. Several patches already exist about this topic ... Check at the following thread : http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00374.html or this one : http://qemu-forum.ipi.fi/viewtopic.php?p=3281 -- Vincent