Skip to contentSkip to conversation

[4359] Fix signal handler compilation on __arm__.

Qemu-devel Andrzej Zaborowski 1 participant 1 message May 6, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4359

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4359
Author:   balrog
Date:     2008-05-06 14:47:19 +0000 (Tue, 06 May 2008)

Log Message:
-----------
Fix signal handler compilation on __arm__.

Modified Paths:
--------------
trunk/cpu-exec.c

Modified: trunk/cpu-exec.c
===================================================================

cpu-exec.c +1 -1
@@ -1432,7 +1432,7 @@
     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,