Commit 897fd119 authored by Alexandre Julliard's avatar Alexandre Julliard

Tried to add an error message when crashing on a selector load because

of missing LDT sharing between threads (untested).
parent 43c190e7
......@@ -79,6 +79,8 @@ static BOOL INSTR_ReplaceSelector( SIGCONTEXT *context, WORD *sel )
*sel = DOSMEM_BiosDataSeg;
return TRUE;
}
if (!IS_SELECTOR_SYSTEM(*sel) && !IS_SELECTOR_FREE(*sel))
ERR_(int)("Got protection fault on valid selector, maybe your kernel is too old?\n" );
return FALSE; /* Can't replace selector, crashdump */
}
......
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