All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] debug register implementation of x86?
@ 2007-08-07  4:37 shizheng
  2007-08-07  5:35 ` Vincent Palatin
  0 siblings, 1 reply; 2+ messages in thread
From: shizheng @ 2007-08-07  4:37 UTC (permalink / raw)
  To: qemu-devel

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?

best wishes, shizheng

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] debug register implementation of x86?
  2007-08-07  4:37 [Qemu-devel] debug register implementation of x86? shizheng
@ 2007-08-07  5:35 ` Vincent Palatin
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Palatin @ 2007-08-07  5:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: neversetsun

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-07  5:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-07  4:37 [Qemu-devel] debug register implementation of x86? shizheng
2007-08-07  5:35 ` Vincent Palatin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.