Commit d1836e22 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Avoid calling DbgBreakPoint() in process_breakpoint().

parent f704b80a
......@@ -1381,16 +1381,7 @@ static void test_debug_children(const char *name, DWORD flag, BOOL debug_child,
/* Except for wxppro and w2008, the initial breakpoint is now somewhere else, possibly within LdrInitShimEngineDynamic,
* It's also catching exceptions and ContinueDebugEvent(DBG_EXCEPTION_NOT_HANDLED) should not crash the child now */
if (broken(ctx.ev.u.Exception.ExceptionRecord.ExceptionAddress == pDbgBreakPoint))
{
win_skip("Ignoring initial breakpoint address check\n");
pass_exception = FALSE;
}
else
{
todo_wine
ok(ctx.ev.u.Exception.ExceptionRecord.ExceptionAddress != pDbgBreakPoint, "ExceptionAddress == pDbgBreakPoint\n");
}
ok(ctx.ev.u.Exception.ExceptionRecord.ExceptionAddress != pDbgBreakPoint, "ExceptionAddress == pDbgBreakPoint\n");
if (pass_exception)
{
......
......@@ -636,7 +636,7 @@ void WINAPI process_breakpoint(void)
{
__TRY
{
DbgBreakPoint();
__asm__ volatile("int $3");
}
__EXCEPT_ALL
{
......
......@@ -1734,7 +1734,7 @@ void WINAPI process_breakpoint(void)
{
__TRY
{
DbgBreakPoint();
__asm__ volatile("int $3");
}
__EXCEPT_ALL
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment