mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
![]() Add support for gdb's "set substitute-path from to" by adding a new service called GDBSourceLookup that uses GDB to perform the path mapping. The new GDBSourceLookup service uses the new GdbSourceLookupDirector to get the set of paths that need mapping using GDB's "set substitute-path" and the director resolves compilation path differently so as to leave the GDB backend to handle the local path to compile path resolution. The MappingSourceContainer has been enhanced to allow a per mapping container override of the new behaviour. This is a fallback as the default behaviour when using GDB is to use "set substitute-path". The MappingSourceContainerDialog exposes the new option in MappingSourceContainer as a checkbox at the bottom of the path mapping dialog in a backend agnostic way. The new code is tested in methods called "sourceSubstitute*" and mirror the same tests for the now non-backend handled version which are "sourceMapping*". Note that doMappingAndLaunch/doSubstituteAndLaunch have been updated to explicitly check or uncheck the setIsMappingWithBackendEnabled setting Change-Id: I122d7c597cd461d8e38c4f82522ccfdf9e51a5ba Signed-off-by: Jonah Graham <jonah@kichwacoders.com> |
||
---|---|---|
.. | ||
.settings | ||
icons | ||
META-INF | ||
schema | ||
src/org/eclipse/cdt/debug | ||
.classpath | ||
.cvsignore | ||
.project | ||
about.html | ||
build.properties | ||
ChangeLog | ||
ChangeLog-2003 | ||
NEWS | ||
plugin.properties | ||
plugin.xml | ||
pom.xml |