GDB远程调试

GDB远程调试,gdb,remote-debugging,Gdb,Remote Debugging,我成功地为应用程序设置了gdbserver,并在64位Ubuntu计算机上运行它,使用: gdbserver <ip>:20000 ./sampleQtApp 我做错了什么?您的gdb/gdbserver版本是什么?试试最近的。再看看这个问题 set architecture i386:x86-64:intel target remote <ip>:20000 (gdb) target remote 10.9.5.79:20000 warning: A handler

我成功地为应用程序设置了gdbserver,并在64位Ubuntu计算机上运行它,使用:

gdbserver <ip>:20000 ./sampleQtApp

我做错了什么?

您的gdb/gdbserver版本是什么?试试最近的。再看看这个问题

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)