Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-08 Thread Stefan Weil
This won't help for the problems with MIPS FPU emulation, will it? Both breakpoints and the FPU emulation in the Linux kernel use self-modifying code, so there should be a general solution for both (and more related) problems. As long as this general solution is missing, the published code

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-08 Thread John Reiser
qemu-0.9.0 ... emulating Debian 2.6.18-4-qemu mipsel ... errs when gdb 6.4.90-debian (running on the emulated mipsel) single-steps the user-mode instruction ... This looks like another instance of Qemu/MIPS doesn't handle self-modifying code correctly (the break instructions inserted by gdb

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-08 Thread Thiemo Seufer
John Reiser wrote: qemu-0.9.0 ... emulating Debian 2.6.18-4-qemu mipsel ... errs when gdb 6.4.90-debian (running on the emulated mipsel) single-steps the user-mode instruction ... This looks like another instance of Qemu/MIPS doesn't handle self-modifying code correctly (the break

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-07 Thread Daniel Jacobowitz
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

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-07 Thread Paul Brook
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

[Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-06 Thread John Reiser
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

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-06 Thread Thiemo Seufer
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)

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-06 Thread Thiemo Seufer
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