This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MIPS/NEC VR4181 issues..


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]