fix ^c abort for PCs: registers were not being reset properly.
fix error message in abort. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@628 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -30,13 +30,9 @@ static char SccsId[] = "%W% %G%";
|
||||
#if _MSC_VER || defined(__MINGW32__)
|
||||
#define _WIN32_WINNT 0x0400
|
||||
#endif
|
||||
#include "Yap.h"
|
||||
#include "absmi.h"
|
||||
#include "yapio.h"
|
||||
#include "eval.h"
|
||||
#include "Yatom.h"
|
||||
#include "Heap.h"
|
||||
#include "alloc.h"
|
||||
#include "tracer.h"
|
||||
#include <math.h>
|
||||
#if STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
@@ -1089,6 +1085,9 @@ InteractSIGINT(int ch) {
|
||||
#if _MSC_VER || defined(__MINGW32__)
|
||||
/* don't even think about trying this */
|
||||
#else
|
||||
#if PUSH_REGS
|
||||
restore_absmi_regs(&standard_regs);
|
||||
#endif
|
||||
siglongjmp (RestartEnv, 1);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user