Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : improve debug message if different global variable
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 6 Dec 2012 09:16:53 +0000 (10:16 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 6 Dec 2012 09:32:05 +0000 (10:32 +0100)
src/mc/mc_compare.c

index 2174d45..e27511e 100644 (file)
@@ -67,7 +67,7 @@ static int compare_global_variables(int region_type, void *d1, void *d2){
             continue;
           }else{
             if(XBT_LOG_ISENABLED(mc_compare, xbt_log_priority_verbose)){
-              XBT_VERB("Different global variable in libsimgrid : %s", current_var->name);
+              XBT_VERB("Different global variable in libsimgrid : %s at addresses %p - %p (size = %zu)", current_var->name, (char *)d1+offset, (char *)d2+offset, current_var->size);
             }
             return 1;
           }