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:
parent
43c190e7ba
commit
897fd119f6
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue