aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Fraxino Araujo2013-09-24 17:19:20 (EDT)
committerRoland Grunberg2013-09-26 14:03:12 (EDT)
commit724bb1b4f2cb8f31a26b85f13a28f289e1e5c62d (patch)
tree6e5c9b6e461612f1c7a5c071bc0ddff4f832de55
parentb3bf49cc96222dea9a74ada71600181c43889a40 (diff)
downloadorg.eclipse.linuxtools-724bb1b4f2cb8f31a26b85f13a28f289e1e5c62d.zip
org.eclipse.linuxtools-724bb1b4f2cb8f31a26b85f13a28f289e1e5c62d.tar.gz
org.eclipse.linuxtools-724bb1b4f2cb8f31a26b85f13a28f289e1e5c62d.tar.bz2
valgrind: Fix project dir when verifying bin for sync projectsrefs/changes/39/16739/2
Change-Id: Ic7dbfeb26d1b2fdcfddae52b4b93e50289d869b2 Reviewed-on: https://git.eclipse.org/r/16739 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.launch/src/org/eclipse/linuxtools/internal/valgrind/launch/ValgrindOptionsTab.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.launch/src/org/eclipse/linuxtools/internal/valgrind/launch/ValgrindOptionsTab.java b/valgrind/org.eclipse.linuxtools.valgrind.launch/src/org/eclipse/linuxtools/internal/valgrind/launch/ValgrindOptionsTab.java
index ddb6aa8..4741fda 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.launch/src/org/eclipse/linuxtools/internal/valgrind/launch/ValgrindOptionsTab.java
+++ b/valgrind/org.eclipse.linuxtools.valgrind.launch/src/org/eclipse/linuxtools/internal/valgrind/launch/ValgrindOptionsTab.java
@@ -13,7 +13,6 @@ package org.eclipse.linuxtools.internal.valgrind.launch;
import java.util.Arrays;
-import org.eclipse.cdt.debug.core.CDebugUtils;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
@@ -26,6 +25,7 @@ import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.linuxtools.profiling.launch.ConfigUtils;
import org.eclipse.linuxtools.valgrind.launch.IValgrindToolPage;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.SWT;
@@ -513,7 +513,7 @@ public class ValgrindOptionsTab extends AbstractLaunchConfigurationTab {
try {
IProject project;
try {
- project = CDebugUtils.verifyCProject(configuration).getProject();
+ project = ConfigUtils.getProject(ConfigUtils.getProjectName(configuration));
} catch (Exception e1) {
// no project is still a possibility the validator handles
project = null;