Subject: Re: Support for MIPS32 and MIPS64 CPUs.
To: Simon Burge <simonb@wasabisystems.com>
From: enami tsugutomo <enami@but-b.or.jp>
List: port-mips
Date: 02/26/2002 09:19:03
> @@ -133,7 +123,8 @@ MachEmulateLWC1(inst, frame, cause)
> if (mips_btop(frame->f_regs[PC]) != mips_btop(pc))
> return;
>
> - inst = fuiword((u_int32_t *)frame->f_regs[PC]);
> + vaddr = frame->f_regs[PC]; /* XXX truncates to 32 bits */
> + inst = fuiword(&vaddr);
I guess you are passing wrong value to fuiword() now.
enami.