Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Baron2010-07-27 04:23:33 +0000
committerElliott Baron2010-07-27 04:23:33 +0000
commita38c074bbd423ffdd9333b061cd07f9b38fb946d (patch)
tree014144f05bbc408a0cc5b3cbbdf2aebaa2b301d6 /valgrind/org.eclipse.linuxtools.valgrind.memcheck
parentfa48f8744bb5c61b125f8f1d85bb3b1857daeb18 (diff)
downloadorg.eclipse.linuxtools-a38c074bbd423ffdd9333b061cd07f9b38fb946d.tar.gz
org.eclipse.linuxtools-a38c074bbd423ffdd9333b061cd07f9b38fb946d.tar.xz
org.eclipse.linuxtools-a38c074bbd423ffdd9333b061cd07f9b38fb946d.zip
Initial remote profiling work.
Diffstat (limited to 'valgrind/org.eclipse.linuxtools.valgrind.memcheck')
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.memcheck/ChangeLog6
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.memcheck/META-INF/MANIFEST.MF2
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.memcheck/src/org/eclipse/linuxtools/internal/valgrind/memcheck/MemcheckLaunchDelegate.java12
3 files changed, 15 insertions, 5 deletions
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.memcheck/ChangeLog b/valgrind/org.eclipse.linuxtools.valgrind.memcheck/ChangeLog
index de01486091..58b486fbc9 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.memcheck/ChangeLog
+++ b/valgrind/org.eclipse.linuxtools.valgrind.memcheck/ChangeLog
@@ -1,3 +1,9 @@
+2010-07-26 Elliott Baron <ebaron@fedoraproject.org>
+
+ * META-INF/MANIFEST.MF: Bump version to 0.7.0.
+ * src/org/eclipse/linuxtools/internal/valgrind/memcheck/MemcheckLaunchDelegate.java: Remove dependence on
+ internal Valgrind launch delegate.
+
2009-09-28 Elliott Baron <ebaron@fedoraproject.org>
#290597
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.memcheck/META-INF/MANIFEST.MF b/valgrind/org.eclipse.linuxtools.valgrind.memcheck/META-INF/MANIFEST.MF
index 88b3900564..02c1cf8149 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.memcheck/META-INF/MANIFEST.MF
+++ b/valgrind/org.eclipse.linuxtools.valgrind.memcheck/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.eclipse.linuxtools.valgrind.memcheck;singleton:=true
-Bundle-Version: 0.4.0.qualifier
+Bundle-Version: 0.7.0.qualifier
Bundle-Activator: org.eclipse.linuxtools.internal.valgrind.memcheck.MemcheckPlugin
Bundle-Vendor: %Bundle-Vendor.0
Require-Bundle: org.eclipse.ui,
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.memcheck/src/org/eclipse/linuxtools/internal/valgrind/memcheck/MemcheckLaunchDelegate.java b/valgrind/org.eclipse.linuxtools.valgrind.memcheck/src/org/eclipse/linuxtools/internal/valgrind/memcheck/MemcheckLaunchDelegate.java
index 57881e2f89..443624c436 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.memcheck/src/org/eclipse/linuxtools/internal/valgrind/memcheck/MemcheckLaunchDelegate.java
+++ b/valgrind/org.eclipse.linuxtools.valgrind.memcheck/src/org/eclipse/linuxtools/internal/valgrind/memcheck/MemcheckLaunchDelegate.java
@@ -13,20 +13,24 @@ package org.eclipse.linuxtools.internal.valgrind.memcheck;
import java.util.ArrayList;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.linuxtools.internal.valgrind.launch.ValgrindLaunchConfigurationDelegate;
import org.eclipse.linuxtools.internal.valgrind.launch.ValgrindLaunchPlugin;
import org.eclipse.linuxtools.valgrind.launch.IValgrindLaunchDelegate;
import org.osgi.framework.Version;
-public class MemcheckLaunchDelegate extends ValgrindLaunchConfigurationDelegate implements IValgrindLaunchDelegate {
+public class MemcheckLaunchDelegate implements IValgrindLaunchDelegate {
+
+ private static final String EQUALS = "="; //$NON-NLS-1$
+ private static final String NO = "no"; //$NON-NLS-1$
+ private static final String YES = "yes"; //$NON-NLS-1$
- public void handleLaunch(ILaunchConfiguration config, ILaunch launch, IProgressMonitor monitor) throws CoreException {
+ public void handleLaunch(ILaunchConfiguration config, ILaunch launch, IPath outDir, IProgressMonitor monitor) throws CoreException {
}
- public String[] getCommandArray(ILaunchConfiguration config) throws CoreException {
+ public String[] getCommandArray(ILaunchConfiguration config, IPath outDir) throws CoreException {
ArrayList<String> opts = new ArrayList<String>();
opts.add(MemcheckCommandConstants.OPT_LEAKCHECK + EQUALS + (config.getAttribute(MemcheckLaunchConstants.ATTR_MEMCHECK_LEAKCHECK, MemcheckLaunchConstants.DEFAULT_MEMCHECK_LEAKCHECK) ? YES : NO));

Back to the top