From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItR2K-0003Eh-B2 for qemu-devel@nongnu.org; Sat, 17 Nov 2007 12:00:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItR2I-0003DV-J4 for qemu-devel@nongnu.org; Sat, 17 Nov 2007 12:00:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItR2I-0003DQ-8j for qemu-devel@nongnu.org; Sat, 17 Nov 2007 12:00:50 -0500 Received: from rv-out-0910.google.com ([209.85.198.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItR2H-00028E-Ep for qemu-devel@nongnu.org; Sat, 17 Nov 2007 12:00:49 -0500 Received: by rv-out-0910.google.com with SMTP id g11so3745079rvb for ; Sat, 17 Nov 2007 09:00:46 -0800 (PST) Message-ID: <19f34abd0711170900p52f8cd91sc4e8db5b56bed339@mail.gmail.com> Date: Sat, 17 Nov 2007 18:00:46 +0100 From: "Vegard Nossum" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] i386 debug exception should set BS of DR6 when single-stepping 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 experience the following problem: Setting the trap flag (TF) of the EFLAGS register correctly calls the debug exception DE. However, the DR6 register does not have the single step (BS) flag set. This patch fixes things for me, and I think it deserves some more attention given that it had no replies at that time and it's not in the latest release. http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00126.html Vegard