1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Replaced the decprecated target factory methods.

This commit is contained in:
Mikhail Khodjaiants 2004-07-21 20:06:41 +00:00
parent 5ddf5b1eb3
commit b0444239f0
3 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2004-07-21 Mikhail Khodjaiants
Replaced the decprecated target factory methods.
* CoreFileLaunchDelegate.java
* LocalCLaunchConfigurationDelegate.java
2004-07-14 Mikhail Khodjaiants
Fix for bug 69977: TVT3.0: Non-externalized strings in Launching Debug.
Applied patch from Tanya Wollf.

View file

@ -11,7 +11,7 @@
package org.eclipse.cdt.launch.internal;
import org.eclipse.cdt.core.model.ICProject;
import org.eclipse.cdt.debug.core.CDebugModel;
import org.eclipse.cdt.debug.core.CDIDebugModel;
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
import org.eclipse.cdt.debug.core.cdi.CDIException;
@ -78,7 +78,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
// set the source locator
setSourceLocator(launch, config);
CDebugModel.newCoreFileDebugTarget(
CDIDebugModel.newCoreFileDebugTarget(
launch,
dsession.getCurrentTarget(),
renderTargetLabel(debugConfig),

View file

@ -16,11 +16,10 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Properties;
import org.eclipse.cdt.core.CCorePlugin;
import org.eclipse.cdt.core.IProcessInfo;
import org.eclipse.cdt.core.IProcessList;
import org.eclipse.cdt.debug.core.CDebugModel;
import org.eclipse.cdt.debug.core.CDIDebugModel;
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
import org.eclipse.cdt.debug.core.cdi.CDIException;
@ -103,7 +102,7 @@ public class LocalCLaunchConfigurationDelegate extends AbstractCLaunchDelegate {
debuggerProcess = DebugPlugin.newProcess(launch, debugger, renderDebuggerProcessLabel());
}
boolean stopInMain = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, false);
CDebugModel.newDebugTarget(
CDIDebugModel.newDebugTarget(
launch,
dsession.getCurrentTarget(),
renderTargetLabel(debugConfig),
@ -125,7 +124,7 @@ public class LocalCLaunchConfigurationDelegate extends AbstractCLaunchDelegate {
debuggerProcess = DebugPlugin.newProcess(launch, debugger, renderDebuggerProcessLabel());
launch.removeProcess(debuggerProcess);
}
CDebugModel.newAttachDebugTarget(
CDIDebugModel.newAttachDebugTarget(
launch,
dsession.getCurrentTarget(),
renderTargetLabel(debugConfig),