diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-26 18:23:18 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 19:20:47 +0100 |
commit | ff4700b05cfb305a880762c288b88ca01c782352 (patch) | |
tree | 52b073985fe082c98a9eb42c628810f588da0fc1 /cpu-exec.c | |
parent | 0429a9719551a4aa794051aeb8c7b42658902c27 (diff) | |
download | qemu-ff4700b05cfb305a880762c288b88ca01c782352.zip qemu-ff4700b05cfb305a880762c288b88ca01c782352.tar.gz qemu-ff4700b05cfb305a880762c288b88ca01c782352.tar.bz2 |
cpu: Move watchpoint fields from CPU_COMMON to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -200,10 +200,11 @@ void cpu_set_debug_excp_handler(CPUDebugExcpHandler *handler) static void cpu_handle_debug_exception(CPUArchState *env) { + CPUState *cpu = ENV_GET_CPU(env); CPUWatchpoint *wp; - if (!env->watchpoint_hit) { - QTAILQ_FOREACH(wp, &env->watchpoints, entry) { + if (!cpu->watchpoint_hit) { + QTAILQ_FOREACH(wp, &cpu->watchpoints, entry) { wp->flags &= ~BP_WATCHPOINT_HIT; } } |