From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEsDT-0006vm-4Z for qemu-devel@nongnu.org; Fri, 04 Jul 2008 16:49:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEsDR-0006sw-Gt for qemu-devel@nongnu.org; Fri, 04 Jul 2008 16:49:14 -0400 Received: from [199.232.76.173] (port=51887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEsDR-0006sV-A2 for qemu-devel@nongnu.org; Fri, 04 Jul 2008 16:49:13 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:43168) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KEsDR-00024V-8o for qemu-devel@nongnu.org; Fri, 04 Jul 2008 16:49:13 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 7/13] Restore pc on watchpoint hits Date: Fri, 4 Jul 2008 21:49:07 +0100 References: <486CF559.5090805@siemens.com> <486CF79C.8080308@siemens.com> In-Reply-To: <486CF79C.8080308@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807042149.08008.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 Cc: Jan Kiszka On Thursday 03 July 2008, Jan Kiszka wrote: > In order to provide accurate information about the triggering > instruction, this patch adds the required bits to restore the pc if the > access happened inside a TB. With the BP_STOP_BEFORE_ACCESS flag, the > watchpoint user can control if the debug trap should be issued on or > after the accessing instruction. I'm fairly sure this won't work. What happens when an interrupt occurs? Paul