From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2UVz-0006EP-Mb for qemu-devel@nongnu.org; Sat, 31 May 2008 13:05:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2UVx-0006CS-V9 for qemu-devel@nongnu.org; Sat, 31 May 2008 13:05:11 -0400 Received: from [199.232.76.173] (port=38094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2UVx-0006CJ-Lg for qemu-devel@nongnu.org; Sat, 31 May 2008 13:05:09 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:41277) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K2UVx-0000m9-0W for qemu-devel@nongnu.org; Sat, 31 May 2008 13:05:09 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 0/5] Debugger enhancements Date: Sat, 31 May 2008 18:05:03 +0100 References: <48414AC8.7080206@web.de> <484181C4.6080002@bellard.org> In-Reply-To: <484181C4.6080002@bellard.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805311805.03739.paul@codesourcery.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 > 2) The current watchpoint code is not implemented correctly so it is not > safe to improve it using the same system (IMHO it should not have been > commited in its current state). A correct implementation should not > delay the DEBUG exception. It should be implemented like the "normal" > MMU exceptions. On most targets watchpoint traps occur after the instruction completes, so you have to defer the DEBUG exception. Normal MMU faults occur before the instruction completes. Paul