# HG changeset patch # User fturovic # Date 1249676712 18000 # Node ID 6b88a951e72a171672421868ef10621dfd35364f # Parent b3f29999f4f8da96f7e4ffaecccd6c75c030c602# Parent 6c8acd0bb50d24c857483a76375f78686f812172 merge diff -r b3f29999f4f8 -r 6b88a951e72a debuggercdi/com.nokia.carbide.cpp.debug.capabilities/plugin.xml --- a/debuggercdi/com.nokia.carbide.cpp.debug.capabilities/plugin.xml Fri Aug 07 15:24:40 2009 -0500 +++ b/debuggercdi/com.nokia.carbide.cpp.debug.capabilities/plugin.xml Fri Aug 07 15:25:12 2009 -0500 @@ -25,24 +25,65 @@ --> + + + + + isEqualityPattern="true" + pattern="org.eclipse.cdt.dsf.gdb/org.eclipse.cdt.dsf.gdb.launch.localCLaunch"> + + + + + + + isEqualityPattern="true" + pattern="org.eclipse.cdt.debug.core/org.eclipse.cdt.launch.attachLaunchType"> + + + + + + - + - + + + + diff -r b3f29999f4f8 -r 6b88a951e72a debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/ui/executables/SymbianSourceFileRemapping.java --- a/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/ui/executables/SymbianSourceFileRemapping.java Fri Aug 07 15:24:40 2009 -0500 +++ b/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/ui/executables/SymbianSourceFileRemapping.java Fri Aug 07 15:25:12 2009 -0500 @@ -16,7 +16,6 @@ */ package com.nokia.cdt.debug.cw.symbian.ui.executables; -import org.eclipse.cdt.debug.core.executables.Executable; import org.eclipse.cdt.debug.core.executables.ISourceFileRemapping; import org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocator; import org.eclipse.cdt.debug.internal.core.sourcelookup.CSourceLookupDirector; @@ -34,13 +33,13 @@ public class SymbianSourceFileRemapping implements ISourceFileRemapping { - public String remapSourceFile(Executable executable, String filePath) { + public String remapSourceFile(IPath executable, String filePath) { String epocRoot = ""; - String[] segs = executable.getPath().segments(); + String[] segs = executable.segments(); for (int i = 0; i < segs.length; i++) { if (segs[i].equalsIgnoreCase("epoc32")) - epocRoot = executable.getPath().removeLastSegments(segs.length - i).toOSString(); + epocRoot = executable.removeLastSegments(segs.length - i).toOSString(); } if (epocRoot.length() > 0) {