Fix program counter name in aarch64
This commit is contained in:
parent
8fb0a0673e
commit
f592ba6969
@ -560,7 +560,7 @@ void DeathHandler::HandleSignal(int sig, void * /* info */, void *secret) {
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#if defined(__arm__) || defined(__aarch64__)
|
#if defined(__arm__) || defined(__aarch64__)
|
||||||
#if defined(__aarch64__)
|
#if defined(__aarch64__)
|
||||||
trace[1] = reinterpret_cast<void *>(uc->uc_mcontext.arm_pc);
|
trace[1] = reinterpret_cast<void *>(uc->uc_mcontext.pc);
|
||||||
#else
|
#else
|
||||||
trace[1] = reinterpret_cast<void *>(uc->uc_mcontext.arm_pc);
|
trace[1] = reinterpret_cast<void *>(uc->uc_mcontext.arm_pc);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user