From fc5316760b98abacd680b98b6633b20ce0ed0260 Mon Sep 17 00:00:00 2001
From: Peter Beutner
Date: Fri, 9 Nov 2007 17:47:01 +0100
Subject: [PATCH] ntdll: Don't try to handle kill(SIGTRAP).
---
dlls/ntdll/signal_i386.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index a6f6ed57fcf..793b22ecd8c 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -1048,15 +1048,6 @@ static void WINAPI raise_trap_exception( EXCEPTION_RECORD *rec, CONTEXT *context
{
context->ContextFlags = CONTEXT_DEBUG_REGISTERS;
NtGetContextThread(GetCurrentThread(), context);
- /* we have either:
- * - a bp from a debug register
- * - a single step interrupt at popf instruction, which just has
- * removed the TF.
- * - someone did a kill(SIGTRAP) on us, and we shall return
- * a breakpoint, not a single step exception
- */
- if ( !(context->Dr6 & 0xf) && !(context->Dr6 & 0x4000) )
- rec->ExceptionCode = EXCEPTION_BREAKPOINT;
context->ContextFlags |= CONTEXT_FULL; /* restore flags */
}
}