Commit db8886d3fd83361fb376a387d1413d35404c8421

Authored by aliguori
1 parent a1d1bb31

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 <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5739 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
softmmu_template.h
... ... @@ -64,6 +64,7 @@ static inline DATA_TYPE glue(io_read, SUFFIX)(target_phys_addr_t physaddr,
64 64 cpu_io_recompile(env, retaddr);
65 65 }
66 66  
  67 + env->mem_io_vaddr = addr;
67 68 #if SHIFT <= 2
68 69 res = io_mem_read[index][SHIFT](io_mem_opaque[index], physaddr);
69 70 #else
... ...