diff --git a/src/debug.cpp b/src/debug.cpp index f30d8f698..149a1e929 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -1135,7 +1135,7 @@ static void *getMcontextEip(ucontext_t *uc) { #elif defined(__i386__) return (void*) uc->uc_mcontext->__ss.__eip; #else - return (void*) uc->uc_mcontext->__ss.__srr0; + return (void*) uc->uc_mcontext->__ss.__pc; #endif #elif defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_6) /* OSX >= 10.6 */