【问题标题】:GDB remote debuggingGDB 远程调试
【发布时间】:2012-01-03 04:07:32
【问题描述】:

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

gdbserver <ip>:20000 ./sampleQtApp

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

set architecture i386:x86-64:intel
target remote <ip>:20000

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

(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)

我在这里做错了什么?

【问题讨论】:

    标签: gdb remote-debugging


    【解决方案1】:

    您的 gdb/gdbserver 版本是多少?尝试一个更新的。另请参阅this 问题。

    【讨论】:

      猜你喜欢
      • 2010-10-16
      • 2023-03-29
      • 2011-11-29
      • 2020-09-21
      • 2013-09-22
      • 2015-04-29
      • 1970-01-01
      • 2017-06-28
      • 2013-02-22
      相关资源
      最近更新 更多