From ea85f8936a0681ad9641a3718e8a423dc7569bd4 Mon Sep 17 00:00:00 2001 From: Thomas A <curioustommy@protonmail.com> Date: Sun, 5 Nov 2023 08:48:00 -0800 Subject: [PATCH] [launchd] Set ARM_THREAD_STATE For ARM64 --- src/launchd/src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launchd/src/core.c b/src/launchd/src/core.c index a68739ff0..2879ee5a5 100644 --- a/src/launchd/src/core.c +++ b/src/launchd/src/core.c @@ -6448,7 +6448,7 @@ job_setup_exception_port(job_t j, task_t target_task) f = PPC_THREAD_STATE64; #elif defined(__i386__) || defined(__x86_64__) f = x86_THREAD_STATE; -#elif defined(__arm__) +#elif defined(__arm__) || defined(__arm64__) f = ARM_THREAD_STATE; #else #error "unknown architecture"