Changed Debugger and diagnostic functions to call probeAddr() to safely probe linear addresses

This commit is contained in:
Jeff Parsons 2015-05-08 12:22:12 -07:00 committed by jeffpar
commit ab0399064e
4 changed files with 27 additions and 7 deletions

View file

@ -3666,7 +3666,8 @@ X86.fnPageFault = function(addr, fPresent, fWrite)
X86.fnFaultMessage = function(nFault, nError, fHalt)
{
var bitsMessage = Messages.FAULT;
var bOpcode = this.getByte(this.regLIP);
var bOpcode = this.probeAddr(this.regLIP);
/*
* OS/2 1.0 uses an INT3 (0xCC) opcode in conjunction with an invalid IDT to trigger a triple-fault