Created
June 9, 2011 01:46
-
-
Save kumpera/1015868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mono/utils/mach-support-arm.c b/mono/utils/mach-support-arm.c | |
index 51a07bd..f5824be 100644 | |
--- a/mono/utils/mach-support-arm.c | |
+++ b/mono/utils/mach-support-arm.c | |
@@ -21,7 +21,7 @@ mono_mach_arch_get_ip (thread_state_t state) | |
{ | |
arm_thread_state_t *arch_state = (arm_thread_state_t *) state; | |
- return (void *) arch_state->__eip; | |
+ return (void *) arch_state->__pc; | |
} | |
void * | |
@@ -29,7 +29,7 @@ mono_mach_arch_get_sp (thread_state_t state) | |
{ | |
arm_thread_state_t *arch_state = (arm_thread_state_t *) state; | |
- return (void *) arch_state->__esp; | |
+ return (void *) arch_state->__sp; | |
} | |
int |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment