bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mips64 simulator fails internal consistency check


From: Finn Andersen
Subject: mips64 simulator fails internal consistency check
Date: Mon, 5 Feb 2001 16:01:22 +0100 (MET)

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:address@hidden
|\  /|||___)(___    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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]