Skip to content

Commit 603ebb2

Browse files
michael-grunderJohnSully
authored andcommitted
I think we want ARM's program counter here.
Fixes #797
1 parent 0731a05 commit 603ebb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ static void *getMcontextEip(ucontext_t *uc) {
11351135
#elif defined(__i386__)
11361136
return (void*) uc->uc_mcontext->__ss.__eip;
11371137
#else
1138-
return (void*) uc->uc_mcontext->__ss.__srr0;
1138+
return (void*) uc->uc_mcontext->__ss.__pc;
11391139
#endif
11401140
#elif defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_6)
11411141
/* OSX >= 10.6 */

0 commit comments

Comments
 (0)