1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/debug
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
..
org.eclipse.cdt.debug.application Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
org.eclipse.cdt.debug.application.doc Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.debug.application.product Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
org.eclipse.cdt.debug.application.tests Remove o.e.cdt.core.linux.ai64 and o.e.cdt.core.qnx 2016-03-16 13:13:33 -04:00
org.eclipse.cdt.debug.core Bug 472765: Use gdb's "set substitute-path from to" 2016-03-16 22:30:51 -04:00
org.eclipse.cdt.debug.core.tests Updated the about.html files. 2006-05-24 13:51:50 +00:00
org.eclipse.cdt.debug.standalone-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.debug.standalone.source-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.debug.ui Bug 472765: Use gdb's "set substitute-path from to" 2016-03-16 22:30:51 -04:00
org.eclipse.cdt.gdb Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
org.eclipse.cdt.gdb-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.gdb.source-feature Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.gdb.ui Incremented CDT features version to 9.0.0 2016-01-18 16:37:47 -05:00
org.eclipse.cdt.gnu.debug-feature Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
org.eclipse.cdt.gnu.debug.source-feature Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00