|[cdt-dev] 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. :)
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.
RHEL 7 - Red Hat Enterprise Linux Workstation release 7.3 (Maipo)
No sudo access.
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?
Back to the top