ntdll: Fix a test that fails in win2k3.
This commit is contained in:
parent
cfce5be4ce
commit
2470b0b316
|
@ -215,8 +215,10 @@ LONG CALLBACK rtlraiseexception_vectored_handler(EXCEPTION_POINTERS *ExceptionIn
|
||||||
*/
|
*/
|
||||||
if(rec->ExceptionCode == EXCEPTION_BREAKPOINT)
|
if(rec->ExceptionCode == EXCEPTION_BREAKPOINT)
|
||||||
{
|
{
|
||||||
ok(context->Eip == (DWORD)code_mem + 0xa, "Eip at %x instead of %x\n",
|
ok(context->Eip == (DWORD)code_mem + 0xa ||
|
||||||
context->Eip, (DWORD)code_mem + 0xa);
|
context->Eip == (DWORD)code_mem + 0xb, /* win2k3 */
|
||||||
|
"Eip at %x instead of %x or %x\n", context->Eip,
|
||||||
|
(DWORD)code_mem + 0xa, (DWORD)code_mem + 0xb);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -245,8 +247,10 @@ static DWORD rtlraiseexception_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTR
|
||||||
*/
|
*/
|
||||||
if(rec->ExceptionCode == EXCEPTION_BREAKPOINT)
|
if(rec->ExceptionCode == EXCEPTION_BREAKPOINT)
|
||||||
{
|
{
|
||||||
ok(context->Eip == (DWORD)code_mem + 0xa, "Eip at %x instead of %x\n",
|
ok(context->Eip == (DWORD)code_mem + 0xa ||
|
||||||
context->Eip, (DWORD)code_mem + 0xa);
|
context->Eip == (DWORD)code_mem + 0xb, /* win2k3 */
|
||||||
|
"Eip at %x instead of %x or %x\n", context->Eip,
|
||||||
|
(DWORD)code_mem + 0xa, (DWORD)code_mem + 0xb);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue