fixes to garbage collector

fixes to debugger


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1558 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2006-03-06 14:04:57 +00:00
parent ae98f71fd9
commit cf669ee72b
10 changed files with 290 additions and 42 deletions

View File

@@ -423,6 +423,8 @@ save_regs(int mode)
putout(DEPTH);
#endif
putout(GcGeneration);
putout(GcPhase);
putout(GcCurrentPhase);
}
/* The operand base */
putcellptr(CellPtr(XREGS));
@@ -832,6 +834,12 @@ get_regs(int flag)
GcGeneration = get_cell();
if (Yap_ErrorMessage)
return -1;
GcPhase = get_cell();
if (Yap_ErrorMessage)
return -1;
GcCurrentPhase = get_cell();
if (Yap_ErrorMessage)
return -1;
}
/* Get the old bases */
OldXREGS = get_cellptr();