Bug 368293

Summary: gdb: speed up by index files
Product: [Applications] kdevelop Reporter: Gregor Mi <codestruct>
Component: generalAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: normal CC: aleixpol
Priority: NOR    
Version First Reported In: 5.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gregor Mi 2016-09-05 19:44:41 UTC
It is said that for large programs the startup time of gdb can be improved by indexing symbol files, see for example here: https://sourceware.org/gdb/onlinedocs/gdb/Index-Files.html

It would be nice if this there would be a short description how this can be used from within kdevelop.
Comment 1 Aleix Pol 2016-09-06 21:44:36 UTC
Could be interesting, some ideas on how to integrate it are welcome.
Comment 2 Milian Wolff 2016-09-07 00:24:29 UTC
One way would be by creating indexes for system libraries automatically, and then reusing that info. Doing it for the project binary you are working on is not that good (but may still be required), as it will be invalidated once you change something.