fix OSX complaints.

This commit is contained in:
Vitor Santos Costa 2011-03-07 22:10:55 +00:00
parent 098e051e46
commit 1d87674cfe

View File

@ -1491,6 +1491,7 @@ static RETSIGTYPE
HandleSIGSEGV(int sig) HandleSIGSEGV(int sig)
{ {
if (Yap_PrologMode & ExtendStackMode) { if (Yap_PrologMode & ExtendStackMode) {
CACHE_REGS
Yap_Error(FATAL_ERROR, TermNil, "OS memory allocation crashed at address %p, bailing out\n",Yap_TrailTop); Yap_Error(FATAL_ERROR, TermNil, "OS memory allocation crashed at address %p, bailing out\n",Yap_TrailTop);
} }
SearchForTrailFault(); SearchForTrailFault();