diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-16 23:58:11 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-16 23:58:11 +0000 |
commit | 6658ffb81ee56a510d7d77025872a508a9adce3a (patch) | |
tree | 6cd595ce75c8cf82c7d38e997fdfd09de4fafefb /cpu-all.h | |
parent | b35d7448b1d27a77bc6f59acc697710d5bd3823c (diff) | |
download | qemu-6658ffb81ee56a510d7d77025872a508a9adce3a.tar.gz qemu-6658ffb81ee56a510d7d77025872a508a9adce3a.tar.bz2 qemu-6658ffb81ee56a510d7d77025872a508a9adce3a.zip |
Watchpoint support (previous commit got eaten by Savannah server crash).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2479 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -775,10 +775,13 @@ extern int code_copy_enabled; #define CPU_INTERRUPT_FIQ 0x10 /* Fast interrupt pending. */ #define CPU_INTERRUPT_HALT 0x20 /* CPU halt wanted */ #define CPU_INTERRUPT_SMI 0x40 /* (x86 only) SMI interrupt pending */ +#define CPU_INTERRUPT_DEBUG 0x80 /* Debug event occured. */ void cpu_interrupt(CPUState *s, int mask); void cpu_reset_interrupt(CPUState *env, int mask); +int cpu_watchpoint_insert(CPUState *env, target_ulong addr); +int cpu_watchpoint_remove(CPUState *env, target_ulong addr); int cpu_breakpoint_insert(CPUState *env, target_ulong pc); int cpu_breakpoint_remove(CPUState *env, target_ulong pc); void cpu_single_step(CPUState *env, int enabled); |