[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-mips strange jump !!!
From: |
Laurent Desnogues |
Subject: |
Re: [Qemu-devel] qemu-mips strange jump !!! |
Date: |
Sat, 27 Dec 2008 09:24:35 +0100 |
On Fri, Dec 26, 2008 at 7:36 PM, Alessandro Montano <address@hidden> wrote:
> This is my first post, so sorry for any error ...
> I'm developing a DVB-S emulator based on qemu-mips.
> I'm adding all the device, once a time, but I notice a strange problem that
> crashes my emulator.
>
> It seems to do bad jumps!
>
> In brief ... I run this command
> *./bin/-qemu-system-mips -L . mips_bios.bin -d int,exec,op,in_asm
> *and it genereates this log
>
> IN:
> 0x80071fc4: lui at,0x8007
> 0x80071fc8: lw a1,0xC094(at)
> 0x80071fcc: lui a0,0x8007
> 0x80071fd0: addiu a0,a0,0xD060
> 0x80071fd4: jal 0x8006d76c <- this is the right address
> 0x80071fd8: nop
[...]
> IN:
> 0x8006d968: andi t9,t9,0xdf <- but this is a wrong jump !!!
> 0x8006d96c: j 0x8006d90c
> 0x8006d970: ori t9,t9,0x20
You can't rely on logs to see the flow of a program. What may
happen in the logs you're showing is that the code @0x8006d76c
may have been previously translated and so it isn't shown in the
logs.
I don't think what you're showing us is the real problem :)
Laurent