Dmitry Timoshkov : ntdll: Make test_debug_regs() print the actual Dr7 value it got.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 3 10:04:42 CDT 2006


Module: wine
Branch: master
Commit: 66da242bfe6186dd75757f03f05aa4ee161ae4d7
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=66da242bfe6186dd75757f03f05aa4ee161ae4d7

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Tue Oct  3 18:10:13 2006 +0900

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

---

 dlls/ntdll/tests/exception.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 1d00816..0639e74 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -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-cvs mailing list