1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/debug/org.eclipse.cdt.debug.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 Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
META-INF Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
schema Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
src/org/eclipse/cdt/debug Bug 472765: Use gdb's "set substitute-path from to" 2016-03-16 22:30:51 -04:00
.classpath Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
.cvsignore ignore doc dir 2002-09-18 13:36:38 +00:00
.options Pattern for using DebugTrace within plug-ins. 2011-04-13 15:57:45 +00:00
.project Fix API tooling problems and first pass and cleanup of the Executables view sources. Does not yet include all changes from the patch in bug 265796 2009-02-25 15:24:14 +00:00
about.html Bug 189539 - Fix dates on about.html files to reflect projected release date. 2007-05-29 03:48:49 +00:00
build.properties Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
ChangeLog Bugzilla Bug 156707: A failed operation (e.g., resume) can leave the CDebugTarget in an invalid run state. 2006-09-11 17:22:22 +00:00
ChangeLog-2003 Removed dependencies on the compatibility plugin and replaced deprecated classes and methods. 2004-05-21 19:59:49 +00:00
NEWS Added NEWS file. 2005-01-13 18:51:12 +00:00
plugin.properties Bug 400628 - Support Dynamic Printf 2014-05-01 16:05:03 -04:00
plugin.xml Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
pom.xml Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00