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

 

相关文章:

  • 2022-12-23
  • 2021-12-11
  • 2021-08-27
  • 2022-12-23
  • 2021-10-11
  • 2021-07-15
  • 2021-10-12
  • 2022-12-23
猜你喜欢
  • 2022-01-10
  • 2022-01-01
  • 2022-01-07
  • 2021-06-02
  • 2021-09-01
  • 2022-01-13
  • 2022-12-23
相关资源
相似解决方案