diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-18 20:56:59 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-18 20:56:59 +0000 |
commit | 2dc9f4117c90c799bcdaacb3d29d2f0625bcc81c (patch) | |
tree | eee47d274cb48314d218cf2137b282906be71c9d /cpu-all.h | |
parent | dde2367e209681cb606e137d15e10f976a6e2787 (diff) | |
download | qemu-2dc9f4117c90c799bcdaacb3d29d2f0625bcc81c.tar.gz qemu-2dc9f4117c90c799bcdaacb3d29d2f0625bcc81c.tar.bz2 qemu-2dc9f4117c90c799bcdaacb3d29d2f0625bcc81c.zip |
Introduce BP_CPU as a breakpoint type (Jan Kiszka)
Add another breakpoint/watchpoint type to BP_GDB: BP_CPU. This type is
intended for hardware-assisted break/watchpoint emulations like the x86
architecture requires.
To keep the highest priority for BP_GDB breakpoints, this type is
always inserted at the head of break/watchpoint lists, thus is found
first when looking up the origin of a debug interruption.
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@5746 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -768,6 +768,7 @@ void cpu_reset_interrupt(CPUState *env, int mask); #define BP_STOP_BEFORE_ACCESS 0x04 #define BP_WATCHPOINT_HIT 0x08 #define BP_GDB 0x10 +#define BP_CPU 0x20 int cpu_breakpoint_insert(CPUState *env, target_ulong pc, int flags, CPUBreakpoint **breakpoint); |