Merge "sm-common: add support for arm64"

This commit is contained in:
Zuul 2024-01-17 16:02:51 +00:00 committed by Gerrit Code Review
commit 2fd5ebc6e6
1 changed files with 5 additions and 0 deletions

View File

@ -385,6 +385,11 @@ static void sm_trap_thread_log( SmTrapThreadMsgT* msg )
#elif __PPC__
fprintf( _trap_log, "NIP = %08lX (instruction-pointer)\n",
(long) ucontext->uc_mcontext.regs->nip );
#elif __aarch64__
fprintf( _trap_log, "PC = %08lX (instruction-pointer)\n",
(long) ucontext->uc_mcontext.pc );
#endif
fprintf( _trap_log, "traceback: \n" );