[ECOS] I cant use gdb stubs to load hello

niky b4506051@csie.ntu.edu.tw
Wed Dec 6 01:29:00 GMT 2000


Hi,

    I make stubs for pc

    ecosconfig new pc stubs
    ecosconfig tree
    make

    I can execute the version 1.3 prebuild text thread_gdb.exe

    i386-elf-gdb -nw thread_gdb.exe
    (gdb)set remotebaud 38400
    (gdb)target remote /dev/ttyS0
    (gdb)load
    (gdb)continue

    I see

    PASS:<GDB Thread test OK>
    EXIT:<done>

    but I try to execute hello (I make from the version 1.3 example,
    XCC=i386-elf-gcc)

    i386-elf-gdb -nw hello
    (gdb)set remotebaud 38400
    (gdb)target remote /dev/ttyS0
    (gdb)load

    then the pc reboot and does not complete the load.
    What is wrong?


More information about the Ecos-discuss mailing list