X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ae701792ae00d4b822b890780619878e0a624980..5fd27b8ad8089c48410010f4a39f7fb4eb0ca4b5:/src/mc/mc_unw.h diff --git a/src/mc/mc_unw.h b/src/mc/mc_unw.h index 945fb4f657..6a6b861a17 100644 --- a/src/mc/mc_unw.h +++ b/src/mc/mc_unw.h @@ -25,13 +25,12 @@ * much here. */ -#include - -#include +#include "src/mc/mc_forward.hpp" +#include "xbt/base.h" #include - -#include "src/mc/mc_forward.hpp" +#include +#include namespace simgrid { namespace unw { @@ -47,12 +46,13 @@ namespace mc { class UnwindContext { simgrid::mc::AddressSpace* addressSpace_ = nullptr; - simgrid::mc::Process* process_ = nullptr; - unw_context_t unwindContext_; + simgrid::mc::RemoteClient* process_ = nullptr; + unw_context_t unwindContext_; + public: - UnwindContext() {} + UnwindContext() = default; ~UnwindContext() { clear(); } - void initialize(simgrid::mc::Process* process, unw_context_t* c); + void initialize(simgrid::mc::RemoteClient* process, unw_context_t* c); void clear(); unw_cursor_t cursor();