On Monday 07 May 2007, Daniel Jacobowitz wrote: > On Sun, May 06, 2007 at 09:04:52PM +0100, Thiemo Seufer wrote: > > This looks like another instance of "Qemu/MIPS doesn't handle > > self-modifying code correctly" (the break instructions inserted > > by gdb are exactly this). > > > > A gross workaround is > > http://lists.nongnu.org/archive/html/qemu-devel/2007-05/msg00037.html > > Someone might want to try: > http://lists.nongnu.org/archive/html/qemu-devel/2007-04/msg00514.html
I think breakpoints and FPU are separate bugs. I notice that the FPU enable bit (CP0C1_FP) is not included in the TB flags. My guess is you need to modify exec.c:tb_find_fast to include this. Paul