From 66da242bfe6186dd75757f03f05aa4ee161ae4d7 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 3 Oct 2006 18:10:13 +0900 Subject: [PATCH] ntdll: Make test_debug_regs() print the actual Dr7 value it got. --- dlls/ntdll/tests/exception.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c index 1d00816a0a7..0639e74010c 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__ */ -- 2.11.4.GIT