From 46046fc64bc17d49c906d986ade64d11b30829ef Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Thu, 21 Jan 2016 11:52:53 -0800 Subject: [PATCH] Halt on all SS faults in the Debugger (for now) --- modules/pcjs/lib/x86func.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/pcjs/lib/x86func.js b/modules/pcjs/lib/x86func.js index 041a74859..959d9421d 100644 --- a/modules/pcjs/lib/x86func.js +++ b/modules/pcjs/lib/x86func.js @@ -4107,11 +4107,9 @@ X86.fnFaultMessage = function(nFault, nError, fHalt) fHalt = false; } } - /* - if (nFault == X86.EXCEPTION.GP_FAULT) { + if (nFault == X86.EXCEPTION.SS_FAULT) { fHalt = true; } - */ /* * If fHalt has been explicitly set to false, we also take that as a cue to disable fault messages