CentOS 6.4和Eclipse Juno CDT(4.2.2)的bug

來源:互聯網
上載者:User

環境:

$ lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    CentOS
Description:    CentOS release 6.4 (Final)
Release:    6.4
Codename:    Final

$ rpm -qa | grep -i gdb
gdb-7.2-60.el6.x86_64
gdbm-1.8.0-36.el6.x86_64
eggdbus-0.6-3.el6.x86_64

 

CentOS 6.4下使用Eclipse Juno CDT(4.2.2)的項目在編譯點調試後會彈出如下錯誤:

其中Details內容為:

Error in final launch sequence
Failed to execute MI command:
maintenance set python print-stack off
Error message from debugger back end:
Undefined maintenance set python command: "print-stack off".  Try "help maintenance set python".
Undefined maintenance set python command: "print-stack off".  Try "help maintenance set python".

後來經過google,大致是因為CentOS 6.4的gdb有升級,新版的gdb內刪掉了一下命令,而Eclipse Juno CDT又剛好使用了這些命令。

http://www.eclipse.org/forums/index.php/m/1019746/

 

解決辦法:

降級gdb,降為CentOS 6.3使用的版本

# yum downgrade http://mirrors.163.com/centos/6.3/os/x86_64/Packages/gdb-7.2-56.el6.x86_64.rpm

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.