X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3b53885f888f2539a533797e76a3f3ff84cdfe0c..756df47074b2d7b0721f234077f5ef8d75e13932:/src/mc/mc_unw.cpp diff --git a/src/mc/mc_unw.cpp b/src/mc/mc_unw.cpp index 899b4039e2..aab93dd702 100644 --- a/src/mc/mc_unw.cpp +++ b/src/mc/mc_unw.cpp @@ -18,10 +18,10 @@ #include -#include "mc_object_info.h" -#include "mc_process.h" -#include "mc_unw.h" -#include "mc/Frame.hpp" +#include "src/mc/mc_object_info.h" +#include "src/mc/Process.hpp" +#include "src/mc/mc_unw.h" +#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); }