From 545a561a260e33971f76f9ded7f9ad7f73af5c36 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Wed, 24 Aug 2022 19:03:30 -0600 Subject: [PATCH] Set ptrace regs for aarch64 --- src/arch/aarch64/interrupt/handler.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/arch/aarch64/interrupt/handler.rs b/src/arch/aarch64/interrupt/handler.rs index 7adcd80d..ca9ff907 100644 --- a/src/arch/aarch64/interrupt/handler.rs +++ b/src/arch/aarch64/interrupt/handler.rs @@ -348,6 +348,8 @@ macro_rules! exception_stack { // https://github.com/dtolnay/paste/issues/7 #[inline(always)] unsafe fn inner($stack: &mut $crate::arch::aarch64::interrupt::InterruptStack) { + let _guard = $crate::ptrace::set_process_regs($stack); + $code } inner(&mut *stack); -- GitLab