CVSROOT: /sources/qemu Module name: qemu Changes by: Paul Brook <pbrook> 06/06/17 18:48:31
Modified files: target-sh4 : translate.c Log message: SH4 rts fix. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/translate.c?cvsroot=qemu&r1=1.2&r2=1.3 Patches: Index: translate.c =================================================================== RCS file: /sources/qemu/qemu/target-sh4/translate.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- translate.c 14 Jun 2006 15:02:05 -0000 1.2 +++ translate.c 17 Jun 2006 18:48:31 -0000 1.3 @@ -1120,7 +1120,9 @@ ctx.sr = env->sr; ctx.fpscr = env->fpscr; ctx.memidx = (env->sr & SR_MD) ? 1 : 0; - ctx.delayed_pc = env->delayed_pc; + /* We don't know if the delayed pc came from a dynamic or static branch, + so assume it is a dynamic branch. */ + ctx.delayed_pc = -1; ctx.tb = tb; ctx.singlestep_enabled = env->singlestep_enabled; nb_gen_labels = 0; _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel