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

of missing LDT sharing between threads (untested).
This commit is contained in:
Alexandre Julliard 1999-05-15 10:52:56 +00:00
parent 43c190e7ba
commit 897fd119f6
1 changed files with 2 additions and 0 deletions

View File

@ -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 */
}