MIPS/NEC VR4181 issues..

mike stump mrs@windriver.com
Fri Aug 24 13:36:00 GMT 2001


> Date: Fri, 24 Aug 2001 17:13:35 +0300 (EET DST)
> From: Kaj Wiik <kwi@cc.hut.fi>
> To: gcc@gcc.gnu.org

> If I ignore the mismatch:
> $CC -Wa,-m4100 -Wl,-no-warn-mismatch -o test test.c
> I get 

> /mnt/algol/asm$ ./test
> Illegal Instruction

> when I run it in the target.

It would be helpful if you run the program in a debugger and single
steped it by machine instruction to find out on which instruction it
died.

I'd recommend gdb a.out; b main; run; si; si; si.... until you find
it.  Once you know which instruction it is, you can then check out
your chip documentation, and the like.  Maybe the chip is in mips1
mode?



More information about the Gcc mailing list