1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-29 19:23:38 +02:00
cdt/qt/org.eclipse.cdt.qt.core
Jonah Graham 6283890715 Bug 472765: Use gdb's "set substitute-path from to"
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>
2016-03-16 22:30:51 -04:00
..
.settings Starting to put Qt onto the new build system and launch. 2015-09-28 13:24:41 -04:00
acorn-qml Bug 481126 - Walk QML Types AST 2015-12-22 15:04:28 -05:00
META-INF New Qt templates using new templates framework. Arduino fixes. 2016-02-22 22:55:06 -05:00
schema Bug 481978 - Big overhaul of new build system to work with Qt. 2015-11-24 22:11:33 -05:00
src/org/eclipse/cdt Bug 472765: Use gdb's "set substitute-path from to" 2016-03-16 22:30:51 -04:00
templates New Qt templates using new templates framework. Arduino fixes. 2016-02-22 22:55:06 -05:00
tern-qml Qt - Include tern deps in build. Clean up some old files. 2016-01-27 12:41:56 -05:00
.classpath Remove the ANTLR based QML parser. We're planning on tern.js instead. 2015-11-06 15:26:37 -05:00
.project Remove the ANTLR based QML parser. We're planning on tern.js instead. 2015-11-06 15:26:37 -05:00
about.html
build.properties Qt - more missing things from the build.properties file. 2016-01-28 18:55:16 -05:00
plugin.properties Bug 478231 - Hook up .qrc files to the XML Editor 2015-09-23 20:39:38 -04:00
plugin.xml Qt - cleanup build cases. Add method to GDBLaunch. 2016-02-08 14:05:06 -05:00
pom.xml Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00