X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bbf8aab8704722fb68397b9b1c15251e79efac6a..ca8bea85e8ccf52bdc546bc83ecd27a6671f95ee:/src/mc/mc_global.cpp diff --git a/src/mc/mc_global.cpp b/src/mc/mc_global.cpp index 8cd7f9f7a5..d6d0b5102d 100644 --- a/src/mc/mc_global.cpp +++ b/src/mc/mc_global.cpp @@ -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);