[ECOS] is it successful
zhang
lczhang@csrd.org
Thu Apr 27 19:41:00 GMT 2000
Hi,to verify both that a hardware target is properly set
up,and that the GDB commands used to connect to the target work properly
onÃÂ my system, connect to the target by issuing the following commands in
GDB console mode:(asÃÂ the doc ument
says) (gdb) set remotebaud 38400ÃÂ ÃÂ ÃÂ (gdb) set
mips-force-32bit-saved-gpregs (gdb) target remote /dev/ttyS0
but I am not sure which target argument I must choose(my
target is pc ),so I ignore the second line ,just using :
ÃÂ ÃÂ (gdb) set remotebaud 38400ÃÂ ÃÂ ÃÂ
ÃÂ ÃÂ (gdb) target remote /dev/ttyS0
ÃÂ
then :
ÃÂ ÃÂ ÃÂ ÃÂ $ gdb -nw thread_gdb
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ (gdb) load
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ (gdb) continue
ÃÂ
however ,on the target ,only lots of odd characters scroll ,so
I do not know whether it is successful or not .
ÃÂ ÃÂ ÃÂ if it is successful ,what will I do
next?
ÃÂ
ÃÂ ÃÂ ÃÂ And I also want to know whether the program
result will be print on the host screen or the target screen ,and the above
debug can tell us ?
ÃÂ ÃÂ ÃÂ thanks alot
ÃÂ
ÃÂ ÃÂ ÃÂ olease mails back to
lczhang@csrd.org
ÃÂ
ÃÂ
ÃÂ
More information about the Ecos-discuss
mailing list