We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0731a05 commit 603ebb2Copy full SHA for 603ebb2
src/debug.cpp
@@ -1135,7 +1135,7 @@ static void *getMcontextEip(ucontext_t *uc) {
1135
#elif defined(__i386__)
1136
return (void*) uc->uc_mcontext->__ss.__eip;
1137
#else
1138
- return (void*) uc->uc_mcontext->__ss.__srr0;
+ return (void*) uc->uc_mcontext->__ss.__pc;
1139
#endif
1140
#elif defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_6)
1141
/* OSX >= 10.6 */
0 commit comments