[PATCH] ntdll: remove one exception test
Peter Beutner
p.beutner at gmx.net
Sat Mar 31 14:13:25 CDT 2007
As test.winehq.com shows it isn't true on certain windows versions.
---
dlls/ntdll/tests/exception.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 90aa3b6..2fa17ac 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -494,7 +494,8 @@ static DWORD bpx_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTRATION_RECORD *
ok( context->Eip == (DWORD)code_mem + 1, "eip is wrong: %x instead of %x\n",
context->Eip, (DWORD)code_mem + 1);
todo_wine{ ok( (context->Dr6 & 0x4000), "BS flag is not set in Dr6\n"); };
- ok( (context->Dr6 & 0xf) == 0, "B0...3 flags in Dr6 shouldn't be set\n");
+ /* depending on the win version the B0 bit is already set here as well */
+
context->EFlags |= 0x100;
} else if( got_exception == 3) {
/* hw bp exception on second nop */
--
1.5.0.6
More information about the wine-patches
mailing list