Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Make C++ classes out of addres_space, process, snapshot
[simgrid.git] / teshsuite / mc / dwarf / dwarf.cpp
index adbe05d..36e6a7e 100644 (file)
@@ -125,9 +125,8 @@ int main(int argc, char** argv)
   dw_variable_t var;
   dw_type_t type;
 
-  s_mc_process_t p;
+  s_mc_process_t p(getpid(), -1);
   mc_process_t process = &p;
-  MC_process_init(&p, getpid(), -1);
 
   test_global_variable(process, process->binary_info, "some_local_variable", &some_local_variable, sizeof(int));