Skip to content

Commit

Permalink
[launchd] Set ARM_THREAD_STATE For ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousTommy committed Nov 5, 2023
1 parent 1599f02 commit ea85f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/launchd/src/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ea85f89

Please sign in to comment.