Skip to main content
summaryrefslogtreecommitdiffstats
path: root/cross
diff options
context:
space:
mode:
authorMarc Khouzam2011-04-26 15:29:56 -0400
committerMarc Khouzam2011-04-26 15:29:56 -0400
commit4239136a9514f154d94782c53d71980ffbe46acb (patch)
treef4519e927dc2b47c57fad099e1991770b4050981 /cross
parentd5d371784d5c6c849a84af800f0fdf93a607e43c (diff)
downloadorg.eclipse.cdt-4239136a9514f154d94782c53d71980ffbe46acb.tar.gz
org.eclipse.cdt-4239136a9514f154d94782c53d71980ffbe46acb.tar.xz
org.eclipse.cdt-4239136a9514f154d94782c53d71980ffbe46acb.zip
Bug 343861: Project should not be required to perform debugging
Diffstat (limited to 'cross')
-rw-r--r--cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/launching/RemoteGdbLaunchDelegate.java2
-rw-r--r--cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/launching/RemoteGdbLaunchDelegate.java b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/launching/RemoteGdbLaunchDelegate.java
index 85e8afb71e..029b478fc7 100644
--- a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/launching/RemoteGdbLaunchDelegate.java
+++ b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/launching/RemoteGdbLaunchDelegate.java
@@ -48,7 +48,7 @@ public class RemoteGdbLaunchDelegate extends GdbLaunchDelegate {
}
}
- IPath exePath = CDebugUtils.verifyProgramPath(config);
+ IPath exePath = checkBinaryDetails(config);
if (exePath != null) {
// 1.Download binary if needed
String remoteExePath = config.getAttribute(
diff --git a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java
index 1d26b14eb6..98ddacd165 100644
--- a/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java
+++ b/cross/org.eclipse.cdt.launch.remote/src/org/eclipse/cdt/launch/remote/tabs/RemoteCDSFMainTab.java
@@ -22,6 +22,7 @@
*******************************************************************************/
package org.eclipse.cdt.launch.remote.tabs;
+import org.eclipse.cdt.core.model.ICProject;
import org.eclipse.cdt.dsf.gdb.internal.ui.launching.CMainTab;
import org.eclipse.cdt.internal.launch.remote.Messages;
import org.eclipse.cdt.launch.remote.IRemoteConnectionConfigurationConstants;
@@ -506,9 +507,9 @@ public class RemoteCDSFMainTab extends CMainTab {
}
if (programName.length() != 0 && bUpdateRemote) {
- IProject project = getCProject().getProject();
IPath exePath = new Path(programName);
if (!exePath.isAbsolute()) {
+ IProject project = getCProject().getProject();
exePath = project.getFile(programName).getLocation();
IPath wsRoot = project.getWorkspace().getRoot().getLocation();

Back to the top