aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-06 14:47:19 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-06 14:47:19 +0000
commit4eee57f57e8dc534c1a21181e01c3fb928873a5e (patch)
tree1267a419ded8c003a995cc9bf25a3c9060b5a2f8 /cpu-exec.c
parent57d69a91c41e71ae5f5181c6dedd62dc866234b5 (diff)
Fix signal handler compilation on __arm__.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4359 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index bbe1102fad..fea47cb7db 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -1432,7 +1432,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
unsigned long pc;
int is_write;
- pc = uc->uc_mcontext.gregs[R15];
+ pc = uc->uc_mcontext.arm_pc;
/* XXX: compute is_write */
is_write = 0;
return handle_cpu_signal(pc, (unsigned long)info->si_addr,