[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd6
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64 |
Date: |
Sun, 6 May 2007 21:04:52 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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
Thiemo