首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GDB远程调试

GDB远程调试
EN

Stack Overflow用户
提问于 2011-11-22 01:01:40
回答 1查看 3.1K关注 0票数 1

我设法为一个Qt应用程序设置了一个gdbserver,并在一台64位的Ubuntu计算机上运行它,使用:

代码语言:javascript
复制
gdbserver <ip>:20000 ./sampleQtApp

我尝试使用GDB将其连接到同一网络的远程计算机,如下所示:

代码语言:javascript
复制
set architecture i386:x86-64:intel
target remote <ip>:20000

它给出了以下输出,但我不知道为什么。

代码语言:javascript
复制
(gdb) target remote 10.9.5.79:20000
warning: A handler for the OS ABI "GNU/Linux" is not built into this configuration
of GDB.  Attempting to continue with the default i386:x86-64 settings.

Remote debugging using 10.9.5.79:20000
Remote register badly formatted:      T0506:0000000000000000;07:a080c7ceff7f0000;10:f0fae7b0107f0000;thread:7c0;core:0;
here: 00000000;07:a080c7ceff7f0000;10:f0fae7b0107f0000;thread:7c0;core:0;
(gdb)

我在这里做错了什么?

EN

回答 1

Stack Overflow用户

发布于 2011-11-22 02:52:45

您的gdb/gdbserver版本是什么?试试最近的那个。另请看this问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8215538

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档