Bug 429419

Summary: GDB version check fails for "GNU gdb (Gentoo 10.1 vanilla) 10.1 "
Product: [Applications] kdevelop Reporter: Freddie Witherden <freddie>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: freddie, mail, niko.sams
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Freddie Witherden 2020-11-20 22:21:05 UTC
Running KDevelop on a Gentoo ~AMD64 system when I attempt to debug an executable I get a warning box saying:

"You need gdb 7.0.0 or higher.
You are using: GNU gdb (Gentoo 10.1 vanilla) 10.1 "

This indicates that there may be a problem with the version check code as 10.1 should pass.  Running gdb on the terminal I find:

$ gdb
GNU gdb (Gentoo 10.1 vanilla) 10.1
Copyright (C) 2020 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb)
Comment 1 Francis Herne 2020-11-20 22:34:31 UTC
Thank you for the report. This is fixed in git, and will be in 5.6.1.

*** This bug has been marked as a duplicate of bug 428688 ***