2011-11-21 334 views
1

我设法建立一个gdbserver的一个Qt应用和使用跑了一个64位的Ubuntu计算机上:GDB远程调试

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) 

我在做什么错在这里?

回答

0

什么是您的gdb/gdbserver版本?尝试更近一个。也请看this的问题。