Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : fix debug message
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 21 Jun 2012 12:40:04 +0000 (14:40 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 21 Jun 2012 12:40:10 +0000 (14:40 +0200)
src/mc/mc_dpor.c

index a15b0a3..dd0aba3 100644 (file)
@@ -194,7 +194,7 @@ void MC_dpor(void)
               }
               MC_restore_snapshot(restore_state->system_state);
               xbt_fifo_unshift(mc_stack_safety, state);
               }
               MC_restore_snapshot(restore_state->system_state);
               xbt_fifo_unshift(mc_stack_safety, state);
-              XBT_DEBUG("Back-tracking to depth %d", pos);
+              XBT_DEBUG("Back-tracking to depth %d", xbt_fifo_size(mc_stack_safety));
               MC_UNSET_RAW_MEM;
               MC_replay(mc_stack_safety, pos);
             }
               MC_UNSET_RAW_MEM;
               MC_replay(mc_stack_safety, pos);
             }