> Hi,
> 
> I'm trying to get the built-in mips simulator to work for the mips64
> target.
> 
> Build appears ok, but when run (even without any target program)
> it says:
> 
>    interp.c:338: assertion failed - STATE_MAGIC (sd) == SIM_MAGIC_NUMBER
> 
> Delving into interp.c I discover that this message is produced by
> sim_open following a call of sim_state_alloc. Looking into sim_state_alloc
> I discover that STATE_MAGIC(sd) is correctly assigned SIM_MAGIC_NUMBER,
> but apparently, a few lines later, STATE_MAGIC(sd) has changed. 
> 
> What have I done wrong ?
> 
> Additional info:
>  - The gdb/simulator works fine for 32 bit mips (mips1, mips target).
>  - It fails as described above for both mips3 and mips64 targets. Builds
>    fine, though.
>  - ./configure got option --prefix=<myOwnTargetDir> --target=mips3
>    and deduced host=sparc-sun-solaris2.7
>    (It is really running SunOS 5.7, but is that important ??)
> 
> Thanks in advance for any help.
> Finn

Try make clean, make.  This often occures because of a make file 
dependency bug - the struct changed size but something didn't get rebuilt.

        Andrew



_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to