[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] debug register implementation of x86?
From: |
Vincent Palatin |
Subject: |
Re: [Qemu-devel] debug register implementation of x86? |
Date: |
Tue, 7 Aug 2007 07:35:58 +0200 |
User-agent: |
KMail/1.8.1 |
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