2011-11-21 157 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的問題。