#pragma once

#include <libunwind.h>

#include <l4/libunwind/backtrace_util.h>

typedef struct l4_unw_data
{
  l4_exc_regs_t *regs;
  l4_cap_idx_t rm;
  libunwind_access_remote_mem_f remote_mem;
  void *remote_mem_arg;
} l4_unw_data_t;

extern unw_accessors_t l4_unw_accessors;
