2008-08-21 06:32:43     gdb debugging through uart

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-08-21 06:32:43     gdb debugging through uart

suresh kumar (INDIA)

Message: 60821   

 

HI

 

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.

QuoteReplyEditDelete

 

 

2008-08-21 06:46:42     Re: gdb debugging through uart

Yi Li (CHINA)

Message: 60823   

 

Please make sure you are using correct serial port. BTW, on target side, please check your serial devices is /dev/ttyBF* or /dev/ttyS*?

Attachments

    Outcomes