CentOS 6.4 and Eclipse Juno CDT (4.2.2) bugs

Source: Internet
Author: User

Environment:

$ Lsb_release-
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

In CentOS 6.4, the following error will pop up after debugging the project using Eclipse Juno CDT (4.2.2) at the compilation point:

The Details are as follows:

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 ".

Later, google deleted the commands in the new version of gdb because of the upgrade of gdb in CentOS 6.4, and Eclipse Juno CDT just used these commands.

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

Solution:

Downgrade gdb to CentOS 6.3

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

Recommended reading:

Import Maven project to Eclipse4.2 from GitHub

Eclipse SDK 4.2.2/Equinox 3.8.2 released

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.