Clion with an old GDB

I am forced to develop on Redhat 5.4  I was able to get Clion running with some help here and an old version of Cmake.

I am unable to debug with gdb with that version.  Is there any workaround for this?  Here is the session.

GNU gdb Fedora (6.8-37.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
python
Undefined command: "python".  Try "help".
import sys
Undefined command: "import".  Try "help".
sys.path.insert(0, '/home/user/clion/bin/gdb/share/gdb/stl_printers')
Undefined command: "sys".  Try "help".
sys.path.insert(1, '/home/user/clion/bin/gdb/share/gdb/stl_printers/libstdcxx/v6')
Undefined command: "sys".  Try "help".
from libstdcxx.v6.printers import register_libstdcxx_printers
Undefined command: "from".  Try "help".
end
This command cannot be used at the top level.
[Thread debugging using libthread_db enabled]
[New Thread 0x2b62d5c0d970 (LWP 23907)]
1 comment

Rich, I'm afraid CLion doesn't support GDB older than 7.8 (officially. technically, older than 7)

0

Please sign in to leave a comment.