[requote] How to solve - gdbserver readchar: Got EOF

When running gdbserver on the embedded board, use gdb on host PC to connect with the board, maybe some infos on the board will be displayed as follows.

Listening on port 2345
Remote debugging from host 192.168.1.1
readchar: Got EOF
Remote side has terminated connection.  GDBserver will reopen the connection.
Listening on port 2345
Remote debugging from host 192.168.1.1
readchar: Got EOF
Remote side has terminated connection.  GDBserver will reopen the connection.
Listening on port 2345
Remote debugging from host 192.168.1.1

Solution:

After opening the xxx-gdb.exe on host,  use "set remote debug on "  before "target remote xxxx...."

 

URL:  

http://sourceware.org/bugzilla/show_bug.cgi?id=12865

 

posted on 2013-12-17 13:17  Shawn X.Y. Bai  阅读(2374)  评论(0编辑  收藏  举报

导航