#include <libunwind.h>
-#include "mc_object_info.h"
#include "src/mc/Process.hpp"
-#include "mc_unw.h"
+#include "src/mc/mc_unw.h"
#include "src/mc/Frame.hpp"
using simgrid::mc::remote;
simgrid::mc::Frame* frame = context->process->find_function(remote(addr));
if (!frame)
return - UNW_ENOINFO;
- *offp = (unw_word_t) frame->low_pc - addr;
+ *offp = (unw_word_t) frame->range.begin() - addr;
strncpy(bufp, frame->name.c_str(), buf_len);
if (bufp[buf_len - 1]) {