Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2005-07-18 20:30:24 -0400
committerAlain Magloire2005-07-18 20:30:24 -0400
commitda7592b337f96b0b23eeeb30565696113720df1d (patch)
tree5baadbd633603ef3884e0ac50662627ac418abfa
parent8ca570cd07810603ebf65859539f31751c77f21e (diff)
downloadorg.eclipse.cdt-da7592b337f96b0b23eeeb30565696113720df1d.tar.gz
org.eclipse.cdt-da7592b337f96b0b23eeeb30565696113720df1d.tar.xz
org.eclipse.cdt-da7592b337f96b0b23eeeb30565696113720df1d.zip
fixing change in the method
-rw-r--r--debug/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/CDebugHelper.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/CDebugHelper.java b/debug/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/CDebugHelper.java
index 78c33de4fa..2863d639df 100644
--- a/debug/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/CDebugHelper.java
+++ b/debug/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/CDebugHelper.java
@@ -19,6 +19,7 @@ import org.eclipse.cdt.core.model.ICProject;
import org.eclipse.cdt.debug.core.cdi.ICDISession;
import org.eclipse.cdt.debug.mi.core.MIException;
import org.eclipse.cdt.debug.mi.core.MIPlugin;
+import org.eclipse.cdt.debug.mi.core.command.MIVersion;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
@@ -55,7 +56,7 @@ public class CDebugHelper {
exename+="sol/" + exe;
else
return(null);
- session=mi.createCSession(null, new File(exename), new File("."), null, null);
+ session=mi.createCSession(null, MIVersion.MI1, new File(exename), new File("."), null, null);
return(session);
}
/**
@@ -73,7 +74,7 @@ public class CDebugHelper {
return(null);
}
- session=mi.createCSession(null, new File(workspacePath +bins[0].getPath().toOSString()), new File("."), null, null);
+ session=mi.createCSession(null, MIVersion.MI1, new File(workspacePath +bins[0].getPath().toOSString()), new File("."), null, null);
return(session);
}

Back to the top