Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT support for GDB 10.1 - Issue with gdb --version on Eclipse
  • From: Sai Krishna Tati Pati <ksai@xxxxxxxxxxx>
  • Date: Wed, 3 Mar 2021 11:30:24 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cadence.com; dmarc=pass action=none header.from=cadence.com; dkim=pass header.d=cadence.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T54eLx8ZyxGvhQl0Sf8th42ry0o6vsdVNm6v3vtWsXU=; b=izZqYllhqZO5FHJkPGNK2b5yMythSqZ78fYV2P7QunURiyTUWrqTNOvGfMZQd9wPj2uMs9/fTvfIjGnfOTZWBOWaoNi4IDHAPJx/XJob9agAKd5Ae2hBseJ0uQegEBg4kiNkVbmX0iC5fmsDvaNOrcuYrHEnxPKyxKp9va2tS/Bk0sRvI+RXL9ERk15nHIyhMPtf4L+n/p0E81h1QLKy23DHmqD3ENeuaayJuN9O9jtcCOEKwPjPDBXmRM6SxWC3y7UGv5XiwvU/SDSPuW3Y/DsyYg0YBseLirXkpXYYzW1EwbEBmkvHoMLLYxXH/++qaV/oQ8KFChCJ0wzSBt9VxQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cAUXb0udhw4HWKIKjaGGCt/eXPK8Ft83geCCnOvpscuMhujvThqx3ih3hIB909j1xN7VyTFD3jYkjWMM3G2yc+yWsmFrH/9g4aanlWxoqBt5nsILCe4Q7N/fca2BlAeVsVX4KjW7OwrbJxAmytJ3dvGIcbij6FJfyO4HtrHnJ7X2tfvXQlgq+qflnLVMs+0ClTl16a2Ps04sbJaiWXRsWN9SsmcTYi1SyFI3PejHAo70hI6vwy4if0bmNnAelJ7o6yrCZKT4nP+2BnbxnhUJ/Br9AladfXjf/+IZcEgQEghjcefo7gAfUO6FFgMGd5t3diNFQnqm6d4rjT2QFWXmkg==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev/>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdcQIJUZxLGTg8IcQz6ghhQlE/rMdA==
  • Thread-topic: CDT support for GDB 10.1 - Issue with gdb --version on Eclipse

Hi CDT devs,

 

I was experimenting with a combination of CDT 9.10, Eclipse 4.14 and gdb 10.1.

 

I am seeing some issues with this combination. It will be great if someone can help me out here. :)

 

Pre-requesities

               1) I downloaded the package at https://www.eclipse.org/downloads/packages/release/2019-12/r/eclipse-ide-cc-developers with CDT 9.10.

               2) Downloaded the source of gdb 10.1 from https://ftp.gnu.org/gnu/gdb/

               3) I followed the steps mentioned in http://www.gdbtutorial.com/tutorial/how-install-gdb to install gdb.

               4) I installed gdb at other location than the default "/usr/local/bin" using "./configure --prefix=/my/custom/location" during the configure step in point 3.

              

Configuration

               RHEL 7 - Red Hat Enterprise Linux Workstation release 7.3 (Maipo)

               No sudo access.

 

On eclipse

               1) I created a "c managedbuild project"

               2) In the source file, just added some integers and initialized them with some values.

               3) Built the project.

               4) Created a new debug configuration and changed the gdb to use using the Debugger tab of the debug configurations dialog.

               5) Clicking on "Debug" is giving me the following error.

              

               Could not determine GDB version using command: /somepath/bin/gdb --version

               /somepath/bin/gdb: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /somepath/bin/gdb)

               /somepath/bin/gdb: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /somepath/bin/gdb)

               /somepath/bin/gdb: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /somepath/bin/gdb)

              

Now, this is not seen when I am running gdb on the terminal.

 

I have two questions..

               Does this have anything to do with the earlier CDT and Eclipse that I am using?

               Is gdb10.1 support added in CDT? If yes, what is the earliest CDT where it is supported?

              

Thanks

Sai Krishna.

 

 

 

 

 

 


Back to the top