diff --git a/C/exec.c b/C/exec.c index 4e2e37b85..764f81a4a 100644 --- a/C/exec.c +++ b/C/exec.c @@ -1803,6 +1803,7 @@ Yap_InitYaamRegs(void) WPP = NULL; PREG_ADDR = NULL; #endif + Yap_PreAllocCodeSpace(); #ifdef CUT_C cut_c_initialize(); #endif diff --git a/C/tracer.c b/C/tracer.c index 4073d0486..acd131f7d 100644 --- a/C/tracer.c +++ b/C/tracer.c @@ -162,6 +162,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args) sc = Yap_heap_regs; vsc_count++; #ifdef COMMENTED + if (worker_id != 04 || worker_id != 03) return; // if (vsc_count == 218280) // vsc_xstop = 1; if (vsc_count < 1468068888) { @@ -239,7 +240,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args) printf("\n"); } #endif - fprintf(Yap_stderr,"%lld %x ", vsc_count,ActiveSignals); + fprintf(Yap_stderr,"%lld ",vsc_count); #if defined(THREADS) || defined(YAPOR) fprintf(Yap_stderr,"(%d)", worker_id); #endif @@ -322,6 +323,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args) } break; } + fflush(NULL); UNLOCK(Yap_heap_regs->low_level_trace_lock); } diff --git a/changes-5.1.html b/changes-5.1.html index 55da93146..d908d2c6d 100644 --- a/changes-5.1.html +++ b/changes-5.1.html @@ -16,6 +16,7 @@