X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bbf8aab8704722fb68397b9b1c15251e79efac6a..a2a013c0e4ca407feeb7b3d0e85abba7acae2532:/src/mc/mc_global.cpp?ds=sidebyside diff --git a/src/mc/mc_global.cpp b/src/mc/mc_global.cpp index 8cd7f9f7a5..aaae1d47a1 100644 --- a/src/mc/mc_global.cpp +++ b/src/mc/mc_global.cpp @@ -27,7 +27,7 @@ #include #endif -#include "src/simix/smx_process_private.h" +#include "src/simix/ActorImpl.hpp" #if HAVE_MC #include @@ -48,8 +48,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_global, mc, "Logging specific to MC (global)"); -e_mc_mode_t mc_mode; - namespace simgrid { namespace mc { @@ -74,7 +72,7 @@ xbt_automaton_t property_automaton = nullptr; FILE *dot_output = nullptr; -/******************************* Initialisation of MC *******************************/ +/******************************* Initialization of MC *******************************/ /*********************************************************************************/ void MC_init_dot_output() @@ -139,7 +137,7 @@ void dumpStack(FILE* file, unw_cursor_t cursor) int status; - // Demangle C++ names: + // Unmangle C++ names: char* realname = abi::__cxa_demangle(name, 0, 0, &status); #if defined(__x86_64__) @@ -169,7 +167,7 @@ static void MC_dump_stacks(FILE* file) simgrid::mc::UnwindContext context; unw_context_t raw_context = - mc_model_checker->process().read( + (unw_context_t) mc_model_checker->process().read( simgrid::mc::remote((unw_context_t *)stack.context)); context.initialize(&mc_model_checker->process(), &raw_context);