Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhujI-0006nj-Ue for qemu-devel@nongnu.org; Wed, 08 Nov 2006 16:13:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhujH-0006mV-64 for qemu-devel@nongnu.org; Wed, 08 Nov 2006 16:13:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhujH-0006mI-3H for qemu-devel@nongnu.org; Wed, 08 Nov 2006 16:13:03 -0500 Received: from [212.227.126.177] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GhujG-0008Jl-Oy for qemu-devel@nongnu.org; Wed, 08 Nov 2006 16:13:03 -0500 Date: Wed, 8 Nov 2006 22:13:03 +0100 From: Marcel Kilgus Message-ID: <6310169804.20061108221303@kilgus.net> In-Reply-To: <1583108256.20061108033019@kilgus.net> References: <1583108256.20061108033019@kilgus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Debugging with paging enabled 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 /me wrote: > Having to always set them both in the high and low area is a bit > cumbersome to say the least. Any suggestion on what I'm missing or can > do to get breakpoints working properly again? Okay, the QEMU source code was a lot more readable than I expected it to be, so I had a look myself. For the record, my solution to my problem is thus: /tmptmp/qemu-0.8.2/target-i386 $ diff translate.bak translate.c 6425c6425 < if (env->breakpoints[j] == pc_ptr) { --- > if (env->breakpoints[j] == pc_ptr - dc->cs_base) { Now everything works as expected. Don't know if this breaks any other scenarios, though. All the best, Marcel