Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: rename remote/RemoteClient -> remote/RemoteClientMemory and remove networking...
[simgrid.git] / src / mc / inspect / mc_unw.hpp
index 8c40bd2..2f0bd18 100644 (file)
@@ -44,11 +44,11 @@ namespace mc {
 
 class UnwindContext {
   simgrid::mc::AddressSpace* address_space_ = nullptr;
-  simgrid::mc::RemoteClient* process_      = nullptr;
+  simgrid::mc::RemoteClientMemory* process_ = nullptr;
   unw_context_t unwind_context_;
 
 public:
-  void initialize(simgrid::mc::RemoteClient* process, unw_context_t* c);
+  void initialize(simgrid::mc::RemoteClientMemory* process, unw_context_t* c);
   unw_cursor_t cursor();
 
 private: // Methods and virtual table for libunwind
@@ -68,8 +68,7 @@ public:
   static unw_addr_space_t createUnwindAddressSpace();
 };
 
-void dumpStack(FILE* file, unw_cursor_t&& cursor);
-void dumpStack(FILE* file, pid_t pid);
+void dumpStack(FILE* file, unw_cursor_t* cursor);
 } // namespace mc
 } // namespace simgrid