[ECOS] remote debug error
zhang
lczhang@csrd.org
Fri Apr 28 20:28:00 GMT 2000
Hi,when we debug our remote target(PC),we use the given
example:hello.c,but after we execute the afterwards commands,a error come out:
receive SIGNILL,illegal instruction.
ÃÂ ÃÂ ÃÂ our commands list as follow:
ÃÂ
ÃÂ ÃÂ ÃÂ make hello
ÃÂ ÃÂ ÃÂ i386-elf-gdb -b 38400
ÃÂ ÃÂ ÃÂ target remote /dev/ttyS0
ÃÂ ÃÂ ÃÂ load hello.o
ÃÂ ÃÂ ÃÂ contine
ÃÂ
ÃÂ ÃÂ ÃÂ Then error occur and the "receive
SIGNILL,illegal instruction" message display on the screen.
ÃÂ ÃÂ ÃÂ And we also find that the size of file
hello.o is onlyÃÂ about 5K .
ÃÂ ÃÂ ÃÂ However if we use another method to
complile like this :
ÃÂ ÃÂ ÃÂ i386-elf-gcc -g -IBASEDIR/install/include
hello.c -o hello.o
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
-LBASEDIR/install/lib -Ttarget.ld -nostdlib
ÃÂ
the size of object file hello.o is about 500K,so I do not know
why this could occur,could anyone help me ?
ÃÂ ÃÂ ÃÂ Thanks
ÃÂ ÃÂ ÃÂ Please mail back to lczhang@csrd.org
ÃÂ ÃÂ ÃÂ
More information about the Ecos-discuss
mailing list