The spurious debug exception sometimes comes very often in QEMU - it's now only
printed when tracing is turned on. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14634 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -442,7 +442,6 @@ i386_handle_debug_exception(struct iframe *frame)
|
|||||||
user_debug_watchpoint_hit();
|
user_debug_watchpoint_hit();
|
||||||
else
|
else
|
||||||
user_debug_breakpoint_hit(false);
|
user_debug_breakpoint_hit(false);
|
||||||
|
|
||||||
} else if (dr6 & (1 << X86_DR6_BD)) {
|
} else if (dr6 & (1 << X86_DR6_BD)) {
|
||||||
// general detect exception
|
// general detect exception
|
||||||
// Occurs only, if GD in DR7 is set (which we don't do) and someone
|
// Occurs only, if GD in DR7 is set (which we don't do) and someone
|
||||||
@@ -451,7 +450,6 @@ i386_handle_debug_exception(struct iframe *frame)
|
|||||||
"detect exception\n");
|
"detect exception\n");
|
||||||
|
|
||||||
enable_interrupts();
|
enable_interrupts();
|
||||||
|
|
||||||
} else if ((dr6 & (1 << X86_DR6_BS)) || sQEmuSingleStepHack) {
|
} else if ((dr6 & (1 << X86_DR6_BS)) || sQEmuSingleStepHack) {
|
||||||
// single step
|
// single step
|
||||||
|
|
||||||
@@ -459,7 +457,6 @@ i386_handle_debug_exception(struct iframe *frame)
|
|||||||
enable_interrupts();
|
enable_interrupts();
|
||||||
|
|
||||||
user_debug_single_stepped();
|
user_debug_single_stepped();
|
||||||
|
|
||||||
} else if (dr6 & (1 << X86_DR6_BT)) {
|
} else if (dr6 & (1 << X86_DR6_BT)) {
|
||||||
// task switch
|
// task switch
|
||||||
// Occurs only, if T in EFLAGS is set (which we don't do).
|
// Occurs only, if T in EFLAGS is set (which we don't do).
|
||||||
@@ -467,10 +464,9 @@ i386_handle_debug_exception(struct iframe *frame)
|
|||||||
"exception\n");
|
"exception\n");
|
||||||
|
|
||||||
enable_interrupts();
|
enable_interrupts();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
dprintf("i386_handle_debug_exception(): ignoring spurious debug "
|
TRACE(("i386_handle_debug_exception(): ignoring spurious debug "
|
||||||
"exception (no condition recognized)\n");
|
"exception (no condition recognized)\n"));
|
||||||
|
|
||||||
enable_interrupts();
|
enable_interrupts();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user