From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2WtZ-0005SY-8I for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:09:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2WtY-0005SC-Gf for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:09:56 -0500 Received: from [199.232.76.173] (port=51434 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2WtY-0005S5-5X for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:09:56 -0500 Received: from savannah.gnu.org ([199.232.41.3]:49617 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L2WtX-0006Wb-HW for qemu-devel@nongnu.org; Tue, 18 Nov 2008 15:09:56 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L2WtL-0008H0-M8 for qemu-devel@nongnu.org; Tue, 18 Nov 2008 20:09:43 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L2WtL-0008Gw-Fp for qemu-devel@nongnu.org; Tue, 18 Nov 2008 20:09:43 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Tue, 18 Nov 2008 20:09:43 +0000 Subject: [Qemu-devel] [5739] Set mem_io_vaddr on io_read (Jan Kiszka) 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 Revision: 5739 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5739 Author: aliguori Date: 2008-11-18 20:09:43 +0000 (Tue, 18 Nov 2008) Log Message: ----------- Set mem_io_vaddr on io_read (Jan Kiszka) Analogously to write accesses, we have to save the memory address also on read accesses in order to support read watchpoints. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/softmmu_template.h Modified: trunk/softmmu_template.h =================================================================== --- trunk/softmmu_template.h 2008-11-18 20:07:32 UTC (rev 5738) +++ trunk/softmmu_template.h 2008-11-18 20:09:43 UTC (rev 5739) @@ -64,6 +64,7 @@ cpu_io_recompile(env, retaddr); } + env->mem_io_vaddr = addr; #if SHIFT <= 2 res = io_mem_read[index][SHIFT](io_mem_opaque[index], physaddr); #else