[PATCH] added debugregisters testcase

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


"Marcus Meissner" <marcus at jet.franken.de> wrote:

> +    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");

This test fails for me under XP SP2 with all updates:

exception.c:281: Test failed: failed to set debugregister 7 to 0x155, got 555


-- 
Dmitry.



More information about the wine-devel mailing list