X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54dc4437fa893572ced42c3e9174f4a9888b0258..7f7d497f79d58024cf0ce2b918b1f8f87a830ebf:/src/mc/mc_unw.cpp diff --git a/src/mc/mc_unw.cpp b/src/mc/mc_unw.cpp index cb213124e7..c408e2a50f 100644 --- a/src/mc/mc_unw.cpp +++ b/src/mc/mc_unw.cpp @@ -164,7 +164,7 @@ static int get_proc_name(unw_addr_space_t as, void* arg) { mc_unw_context_t context = (mc_unw_context_t) arg; - dw_frame_t frame = MC_process_find_function(context->process, (void*) addr); + dw_frame_t frame = context->process->find_function(remote(addr)); if (!frame) return - UNW_ENOINFO; *offp = (unw_word_t) frame->low_pc - addr; @@ -217,13 +217,6 @@ int mc_unw_init_context( return 0; } -int mc_unw_destroy_context(mc_unw_context_t context) -{ - context->address_space = NULL; - context->process = NULL; - return 0; -} - // ***** Cursor management int mc_unw_init_cursor(unw_cursor_t *cursor, mc_unw_context_t context)