[NTVDM]: it is always interesting to dump the full CPU state when an exception occurs.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 13 Oct 2014 18:51:40 +0000 (18:51 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 13 Oct 2014 18:51:40 +0000 (18:51 +0000)
svn path=/trunk/; revision=64737

reactos/subsystems/ntvdm/emulator.c

index 84e41bd..22eb25e 100644 (file)
@@ -167,6 +167,8 @@ VOID EmulatorException(BYTE ExceptionNumber, LPWORD Stack)
                    Opcode[8],
                    Opcode[9]);
 
+    Fast486DumpState(&EmulatorContext);
+
     /* Stop the VDM */
     EmulatorTerminate();
     return;