Bug 368293 - gdb: speed up by index files
Summary: gdb: speed up by index files
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-05 19:44 UTC by Gregor Mi
Modified: 2016-09-07 00:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.