Bug 473168 - KDevelop fails to debug a project because it doesn't detect correctly the gdb debugger version
Summary: KDevelop fails to debug a project because it doesn't detect correctly the gdb...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (other bugs)
Version First Reported In: 5.5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-08 19:39 UTC by Leonardo Berti
Modified: 2023-08-10 08:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.6.1
Sentry Crash Report:


Attachments
error screenshot (130.12 KB, image/png)
2023-08-08 19:39 UTC, Leonardo Berti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Berti 2023-08-08 19:39:54 UTC
Created attachment 160841 [details]
error screenshot

SUMMARY
When I try to debug a project I get a misleading error message:
You need gdb 7.0.0 or higher.
You are using: GNU gdb (Ubuntu 10.2-0ubuntu1~20.04~1) 10.2 

It tells me that I need gdb 7.0.0 or higher but I have the gdb 10.2

STEPS TO REPRODUCE
1. Create a new C++ project
2. Create a new launch configuration with the default profile
3. Build the project
4. Click the Debug button

OBSERVED RESULT
The debugger fails to start and the above message is shown

SOFTWARE/OS VERSIONS

OS:
NAME="Linux Mint"
VERSION="20.1 (Ulyssa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.1"
VERSION_ID="20.1"

ADDITIONAL INFORMATION
KDevelop version 5.5.0
KDE Frameworks 5.68.0
Qt 5.12.8 (compiled with5.12.8)
windows system xcb