[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] workaround: qemu-0.9.0 emulating mipsel (32-bit R3000)
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] workaround: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64 |
Date: |
Tue, 8 May 2007 00:08:07 +0100 |
User-agent: |
KMail/1.9.6 |
> > --- a/qemu-0.9.0/target-mips/helper.c 2007-05-05 15:39:21.000000000
> > -0700 +++ b/qemu-0.9.0/target-mips/helper.c 2007-05-07
> > 13:24:50.000000000 -0700 @@ -358,6 +358,7 @@
> > goto set_EPC;
> > case EXCP_BREAK:
> > cause = 9;
> > + tlb_flush_page(env, env->PC);
> > goto set_EPC;
> > case EXCP_RI:
> > cause = 10;
>
> I think this is still broken if the breakpoint is the first instruction on
> a page. The changes Daniel mentioned should make this sort of flushing
> unnecessary.
On second thoughts it probably does work, but I think it is the wrong way to
fix this problem.
Paul