bug-gdb
[Top][All Lists]
Advanced

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

Re: mips64 simulator fails internal consistency check


From: Andrew Cagney
Subject: Re: mips64 simulator fails internal consistency check
Date: Thu, 10 May 2001 01:43:33 -0400
User-agent: Mozilla/5.0 (X11; U; NetBSD 1.5V macppc; en-US; 0.8.1) Gecko/20010502

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





reply via email to

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