Index: qemu/cpu-exec.c =================================================================== --- qemu.orig/cpu-exec.c 2008-05-30 19:02:55.000000000 +0000 +++ qemu/cpu-exec.c 2008-05-30 19:19:54.000000000 +0000 @@ -1320,7 +1320,11 @@ unsigned long pc; int is_write; +#if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 3) + pc = uc->uc_mcontext.gregs[R15]; +#else pc = uc->uc_mcontext.arm_pc; +#endif /* XXX: compute is_write */ is_write = 0; return handle_cpu_signal(pc, (unsigned long)info->si_addr,