This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
I cant use gdb stubs to load hello
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] I cant use gdb stubs to load hello
- From: niky <b4506051 at csie dot ntu dot edu dot tw>
- Date: Wed, 6 Dec 2000 17:29:04 +0800 (CST)
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?