Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : get instruction pointer and frame name with libunwind for the compari...
[simgrid.git] / src / mc / mc_checkpoint.c
index a8591ee..f4ec6ef 100644 (file)
@@ -463,7 +463,10 @@ static xbt_strbuff_t get_local_variables_values(void *stack_context, void *heap)
       return variables;
     }
 
-    to_append = bprintf("ip=%s\n", frame_name);
+    to_append = bprintf("ip=%lx\n", ip);
+    xbt_strbuff_append(variables, to_append);
+    xbt_free(to_append);
+    to_append = bprintf("frame_name=%s\n", frame_name);
     xbt_strbuff_append(variables, to_append);
     xbt_free(to_append);