#include <libunwind.h>
-#include "src/mc/Process.hpp"
-#include "src/mc/mc_unw.h"
#include "src/mc/Frame.hpp"
+#include "src/mc/mc_unw.h"
+#include "src/mc/remote/RemoteClient.hpp"
using simgrid::mc::remote;
if (write)
return -UNW_EREADONLYREG;
greg_t* preg = (greg_t*) get_reg(context, regnum);
- if (!preg)
+ if (not preg)
return -UNW_EBADREG;
*valp = *preg;
return 0;
{
simgrid::mc::UnwindContext* context = (simgrid::mc::UnwindContext*) arg;
simgrid::mc::Frame* frame = context->process_->find_function(remote(addr));
- if (!frame)
+ if (not frame)
return - UNW_ENOINFO;
*offp = (unw_word_t) frame->range.begin() - addr;
process_ = nullptr;
}
-void UnwindContext::initialize(simgrid::mc::Process* process, unw_context_t* c)
+void UnwindContext::initialize(simgrid::mc::RemoteClient* process, unw_context_t* c)
{
clear();