This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: MIPS/NEC VR4181 issues..
- To: gcc at gcc dot gnu dot org, kaj dot wiik at iki dot fi
- Subject: Re: MIPS/NEC VR4181 issues..
- From: mike stump <mrs at windriver dot com>
- Date: Fri, 24 Aug 2001 13:35:59 -0700 (PDT)
> 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?