diff --git a/backward.hpp b/backward.hpp index 1d2e4b9..989cca8 100644 --- a/backward.hpp +++ b/backward.hpp @@ -1934,6 +1934,8 @@ private: error_addr = reinterpret_cast(uctx->uc_mcontext.gregs[REG_RIP]); #elif defined(REG_EIP) // x86_32 error_addr = reinterpret_cast(uctx->uc_mcontext.gregs[REG_EIP]); +#elif defined(__arm__) + error_addr = reinterpret_cast(uctx->uc_mcontext.arm_pc); #else # warning ":/ sorry, ain't know no nothing none not of your architecture!" #endif