【发布时间】:2019-04-16 17:08:35
【问题描述】:
我有一个使用 -p 2000:2000 运行的 docker 容器,它在端口 2000 上运行一个 gdbserver。
当尝试通过 gdb 从我的主机连接时,我得到以下信息:
(gdb) target remote localhost:2000
Remote debugging using localhost:2000
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Remote replied unexpectedly to 'vMustReplyEmpty': timeout
在 docker 容器中运行的应用程序是用 C++ 编写的,在 fcgi (gdbserver :2000 spawn-fcgi -p 8000 -n ./myBinary) 后面
主持人
- 操作系统:osx
- gdb 版本:8.0.1(与 --with-all-targets 一起安装)
容器
- 操作系统:ubuntu 14.04
- gdb 版本:7.7.1
任何帮助将不胜感激。
【问题讨论】:
标签: c++ docker gdb fastcgi gdbserver