1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

fixing change in the method

This commit is contained in:
Alain Magloire 2005-07-19 00:30:24 +00:00
parent 8ca570cd07
commit da7592b337

View file

@ -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);
}