diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-09 08:25:14 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-09 08:25:14 +0000 |
commit | 60897d369f10b464720d8a6de4553c47943ea927 (patch) | |
tree | 776af7d1e6636104314a1ef179ddd63ab89095fc /cpu-exec.c | |
parent | c58411661274631e2687deedd1597a34bfd38e2a (diff) |
Debugger single step without interrupts (Jason Wessel).
This patch allows the qemu backend debugger to single step an
instruction without running the hardware interrupts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4391 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index fb31b43861..5c64856586 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -421,7 +421,7 @@ int cpu_exec(CPUState *env1) #if defined(TARGET_I386) && env->hflags & HF_GIF_MASK #endif - ) { + && !(env->singlestep_enabled & SSTEP_NOIRQ)) { if (interrupt_request & CPU_INTERRUPT_DEBUG) { env->interrupt_request &= ~CPU_INTERRUPT_DEBUG; env->exception_index = EXCP_DEBUG; |