ths wrote: > John Reiser wrote: > > Hi, > > > > qemu-0.9.0 compiled and running on Debian 2.6.18-4-amd64, > > [compiled by gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)], > > emulating Debian 2.6.18-4-qemu mipsel (32-bit MIPS R3000 little endian), > > errs when gdb 6.4.90-debian (running on the emulated mipsel) > > single-steps the user-mode instruction: > > lw a2,-44(s7) > > After single-stepping the 'lw', then register a2 contains garbage > > instead of the memory contents at address -44(s7). > > 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
That is, that's a workaround for another instance of the problem. Thiemo