Commit 66da242b authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent db4eaf5e
......@@ -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__ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment