Bug 140889 - automatically detect the gdb version
Summary: automatically detect the gdb version
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: 3.4.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 14:11 UTC by Frederic Heem
Modified: 2009-05-13 14:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Heem 2007-01-30 14:11:50 UTC
Version:           3.4.0 (using KDE 3.5.5-3.el4, CentOS release 4.4 (Final))
Compiler:          gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
OS:                Linux (i686) release 2.6.9-42.0.4.EL

In case of an imcompatible gdb version, kdevelop shall advice the user to upgrade gdb
Comment 1 Andreas Pakulat 2007-01-30 14:52:29 UTC
This is not a bug, but a wishlist item. We do state our dependecies quite clearly, if your favourite packaging software doesn't support versioned dependecies thats not our problem.
Comment 2 Frederic Heem 2007-01-30 16:06:51 UTC
kdevelop was compiled from source because no rpm was found.
The configure script shall be able to detect the gdb version and abort if the version is not correct. It's the purpose of the configure script, isn't it ?



Comment 3 Andreas Pakulat 2007-01-30 16:58:11 UTC
No thats not the purpose of the configure script. That script only detects compile time dependecies. However gdb is not a compile time dependecy, people using KDevelop for Python, PHP, Ruby or whatever never need gdb and thus shouldn't be forced to install it to build kdevelop.

The only thing that could possibly be done is running gdb --version before starting the integrated debugger and issue a message box.
Comment 4 Vladimir Prus 2007-01-30 18:23:34 UTC
I'm gonna wait a little bit, and then add a check for gdb 6.6.
Comment 5 Matt Rogers 2007-01-31 01:47:05 UTC
Please don't use the word "shall" when reporting wishlist bugs. We generally don't do well with bugs that sound like requirements. :)
Comment 6 Andreas Pakulat 2008-07-01 00:22:41 UTC
vladimir what about this one?
Comment 7 Niko Sams 2009-05-13 14:45:15 UTC
I added this functionality some time ago.