]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/inspect/mc_unw.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix conflict detection between configs + history
[simgrid.git] / src / mc / inspect / mc_unw.cpp
index 1b66c85ac158e4f1376067b123a93a075ee93ea2..d9882f0157fbb2afa23254dfd352bbd52fd76f4f 100644 (file)
@@ -216,10 +216,10 @@ unw_addr_space_t UnwindContext::createUnwindAddressSpace()
   return unw_create_addr_space(&accessors, BYTE_ORDER);
 }
 
-void UnwindContext::initialize(simgrid::mc::RemoteProcessMemory* process, unw_context_t* c)
+void UnwindContext::initialize(simgrid::mc::RemoteProcessMemory& process_memory, unw_context_t* c)
 {
-  this->address_space_ = process;
-  this->process_      = process;
+  this->address_space_ = &process_memory;
+  this->process_       = &process_memory;
 
   // Take a copy of the context for our own purpose:
   this->unwind_context_ = *c;