2008-08-21 06:32:43 gdb debugging through uart
suresh kumar (INDIA)
gdb debugging through Uart.i start gdbserver in host like
root:/> gdbserver /dev/ttyS1 ./loop
then i try to connect the target through gdb,i give the command in gdb prompt like this
(gdb) target remote /dev/ttyS1
it display this kind of error.
get_tty_state failed: Input/output error
set_tty_state failed: Input/output error
putpkt: write failed: Input/output error.
2008-08-21 06:46:42 Re: gdb debugging through uart
Yi Li (CHINA)
Please make sure you are using correct serial port. BTW, on target side, please check your serial devices is /dev/ttyBF* or /dev/ttyS*?