Commit 4eee57f57e8dc534c1a21181e01c3fb928873a5e

Authored by balrog
1 parent 57d69a91

Fix signal handler compilation on __arm__.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4359 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
cpu-exec.c
@@ -1432,7 +1432,7 @@ int cpu_signal_handler(int host_signum, void *pinfo, @@ -1432,7 +1432,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
1432 unsigned long pc; 1432 unsigned long pc;
1433 int is_write; 1433 int is_write;
1434 1434
1435 - pc = uc->uc_mcontext.gregs[R15]; 1435 + pc = uc->uc_mcontext.arm_pc;
1436 /* XXX: compute is_write */ 1436 /* XXX: compute is_write */
1437 is_write = 0; 1437 is_write = 0;
1438 return handle_cpu_signal(pc, (unsigned long)info->si_addr, 1438 return handle_cpu_signal(pc, (unsigned long)info->si_addr,