X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6c686f5c734739033f848b8009c9b825b7aa9c1d..2e501076bf39bf43b598954f040b453fedf49f4c:/src/mc/mc_unw.cpp diff --git a/src/mc/mc_unw.cpp b/src/mc/mc_unw.cpp index 899b4039e2..8879bde493 100644 --- a/src/mc/mc_unw.cpp +++ b/src/mc/mc_unw.cpp @@ -19,9 +19,9 @@ #include #include "mc_object_info.h" -#include "mc_process.h" +#include "src/mc/Process.hpp" #include "mc_unw.h" -#include "mc/Frame.hpp" +#include "src/mc/Frame.hpp" using simgrid::mc::remote; @@ -224,12 +224,6 @@ int mc_unw_init_cursor(unw_cursor_t *cursor, mc_unw_context_t context) { if (!context->process || !context->address_space) return -UNW_EUNSPEC; - simgrid::mc::AddressSpace* as = context->address_space; - - simgrid::mc::Process* process = dynamic_cast(as); - if (process && process->is_self()) - return unw_init_local(cursor, &context->context); - return unw_init_remote(cursor, context->process->unw_addr_space, context); }