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.ui
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 Remove unnecessary .api_filters 2015-02-11 15:48:32 -05:00
icons Bug 478740: Attempt to make reverse icons more informative 2016-02-26 08:27:51 -05:00
META-INF Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
schema [bug 417138] Various extension point schema cleanups 2013-09-12 22:56:47 -04: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 Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
.cvsignore ignore bin 2002-08-06 19:19:42 +00:00
.project Bug 265796 2009-02-25 20:06:32 +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 Missing about.html files in various source plugins. 2010-06-14 20:34:48 +00:00
ChangeLog Bug 155826: Duplicate addListener call in Signals view. 2006-08-31 14:42:37 +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 Update 2005-06-10 14:30:44 +00:00
plugin.properties Bug 489455 - Add new breakpoint action to run arbitrary debugger command 2016-03-16 11:24:20 -04:00
plugin.xml Bug 489455 - Add new breakpoint action to run arbitrary debugger command 2016-03-16 11:24:20 -04:00
pom.xml Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00