On Tuesday 07 August 2007 06:37, shizheng wrote: > Hi,all: > > I think memory access monitoring is useful in debugging a target > running in qemu. There are two ways to do this(or even more): > > 1.x86 specific. add debug register emulation in qemu. > 2.hardware independent. such as adding a command in qemu monitor. > > I would like to know if anybody has already done this? > Or is there any problem that prevents from doing so?
It is already implemented in the GDB stub of Qemu. Just add a watchpoint with a GDB connected to QEMU. -- Vincent