Module: wine Branch: master Commit: fc5316760b98abacd680b98b6633b20ce0ed0260 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc5316760b98abacd680b98b66...
Author: Peter Beutner p.beutner@gmx.net Date: Fri Nov 9 17:47:01 2007 +0100
ntdll: Don't try to handle kill(SIGTRAP).
---
dlls/ntdll/signal_i386.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c index a6f6ed5..793b22e 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 */ } }