ntdll: Make test_debug_regs() print an actual Dr7 value it got

Dmitry Timoshkov dmitry at codeweavers.com
Tue Oct 3 04:10:13 CDT 2006


Hello,

Changelog:
    ntdll: Make test_debug_regs() print an actual Dr7 value it got,
    add '\n' at the end of the ok messages.

--- cvs/hq/wine/dlls/ntdll/tests/exception.c	Tue Oct 03 03:24:12 2006
+++ wine/dlls/ntdll/tests/exception.c	Tue Oct 03 08:59:36 2006
@@ -277,8 +277,8 @@ static void test_debug_regs(void)
     pNtCurrentTeb()->Tib.ExceptionList = exc_frame.frame.Prev;
     ctx.ContextFlags = CONTEXT_DEBUG_REGISTERS;
     res = pNtGetContextThread(GetCurrentThread(), &ctx);
-    ok (res == STATUS_SUCCESS,"NtGetContextThread failed with %lx", res);
-    ok(ctx.Dr7 == 0x155,"failed to set debugregister 7 to 0x155");
+    ok(res == STATUS_SUCCESS,"NtGetContextThread failed with %lx\n", res);
+    ok(ctx.Dr7 == 0x155,"failed to set debugregister 7 to 0x155, got %lx\n", ctx.Dr7);
 }
 
 #endif  /* __i386__ */





More information about the wine-patches mailing list