Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding test for SURF concurrency feature
[simgrid.git] / src / mc / mc_unw_vmread.cpp
index fa1c2d2..45e767b 100644 (file)
@@ -10,7 +10,7 @@
 #include <libunwind.h>
 #include <libunwind-ptrace.h>
 
-#include "mc_unw.h"
+#include "src/mc/mc_unw.h"
 
 extern "C" {
 
@@ -74,7 +74,7 @@ static int access_mem(const unw_addr_space_t as,
   size_t count = size;
   off_t off = (off_t) addr;
   char* buf = (char*) valp;
-  int fd = MC_process_vm_open(pid, O_RDONLY);
+  int fd = simgrid::mc::open_vm(pid, O_RDONLY);
   if (fd < 0)
     return - UNW_EINVAL;
   while (1) {