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

--
Inside every man a human is fighting to get out!    -- me.
--
_    _ ____  ___    Finn Andersen      Mailto:[EMAIL PROTECTED]
|\  /|||___)(___    MIPS Denmark       Direct: +45 44 86 55 51
| \/ |||    ____)   Lautrupvang 4 B    Switch: +45 44 86 55 55
  TECHNOLOGIES      DK-2750 Ballerup   Fax...: +45 44 86 55 56
                    Denmark            http://www.mips.com/


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

Reply via email to