[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