From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlU9f-0007Bu-Qi for qemu-devel@nongnu.org; Tue, 08 May 2007 14:11:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlU9e-0007As-5b for qemu-devel@nongnu.org; Tue, 08 May 2007 14:11:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlU9e-0007Ap-2j for qemu-devel@nongnu.org; Tue, 08 May 2007 14:11:18 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HlU2W-0001Y7-JU for qemu-devel@nongnu.org; Tue, 08 May 2007 14:03:56 -0400 Message-ID: <4640BB85.60402@mail.berlios.de> Date: Tue, 08 May 2007 20:03:49 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64 References: <463E2234.3040508@BitWagon.com> <20070506200452.GA32686@networkno.de> <20070507121310.GA18535@caradoc.them.org> In-Reply-To: <20070507121310.GA18535@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 patches help. Stefan Daniel Jacobowitz schrieb: > 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