diff options
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index 293dbe36e..f239eea5a 100644 --- a/src/debug.c +++ b/src/debug.c @@ -688,6 +688,8 @@ static void *getMcontextEip(ucontext_t *uc) { return (void*) uc->uc_mcontext.sc_ip; #elif defined(__arm__) /* Linux ARM */ return (void*) uc->uc_mcontext.arm_pc; + #elif defined(__aarch64__) /* Linux AArch64 */ + return (void*) uc->uc_mcontext.pc; #endif #else return NULL; |