mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 01:35:39 +02:00
Removed the support of debugger process.
This commit is contained in:
parent
f522b709fd
commit
0e140bfac8
3 changed files with 10 additions and 31 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-04-07 Mikhail Khodjaiants
|
||||
Removed the support of debugger process.
|
||||
* ICDebugTarget.java
|
||||
* CDebugTarget.java
|
||||
|
||||
2004-04-02 Mikhail Khodjaiants
|
||||
Removed dependency to xerces.
|
||||
* CDebugUtils.java
|
||||
|
|
|
@ -19,7 +19,6 @@ import org.eclipse.debug.core.model.IDebugTarget;
|
|||
public interface ICDebugTarget extends IDebugTarget,
|
||||
ICDebugTargetType,
|
||||
ICExpressionEvaluator,
|
||||
IDebuggerProcessSupport,
|
||||
IExecFileInfo,
|
||||
IRestart,
|
||||
IRunToLine,
|
||||
|
|
|
@ -162,7 +162,7 @@ public class CDebugTarget extends CDebugElement
|
|||
/**
|
||||
* Associated debugger process, or <code>null</code> if not available.
|
||||
*/
|
||||
private IProcess fDebuggerProcess = null;
|
||||
// private IProcess fDebuggerProcess = null;
|
||||
|
||||
/**
|
||||
* The underlying CDI target.
|
||||
|
@ -252,7 +252,7 @@ public class CDebugTarget extends CDebugElement
|
|||
/**
|
||||
* Whether the debugger process is default.
|
||||
*/
|
||||
private boolean fIsDebuggerProcessDefault = false;
|
||||
// private boolean fIsDebuggerProcessDefault = false;
|
||||
|
||||
/**
|
||||
* The suspension thread.
|
||||
|
@ -290,7 +290,7 @@ public class CDebugTarget extends CDebugElement
|
|||
setTargetType( targetType );
|
||||
setDebugTarget( this );
|
||||
setName( name );
|
||||
setProcesses( debuggeeProcess, debuggerProcess );
|
||||
setProcess( debuggeeProcess );
|
||||
setCDITarget( cdiTarget );
|
||||
setExecFile( file );
|
||||
setConfiguration( cdiTarget.getSession().getConfiguration() );
|
||||
|
@ -420,7 +420,7 @@ public class CDebugTarget extends CDebugElement
|
|||
*/
|
||||
public IProcess getProcess()
|
||||
{
|
||||
return ( fIsDebuggerProcessDefault ) ? fDebuggerProcess : fDebuggeeProcess;
|
||||
return fDebuggeeProcess;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -431,10 +431,9 @@ public class CDebugTarget extends CDebugElement
|
|||
* underlying CDI target, or <code>null</code> if no process is
|
||||
* associated with this debug target (for example, a core dump debugging).
|
||||
*/
|
||||
protected void setProcesses( IProcess debuggeeProcess, IProcess debuggerProcess )
|
||||
protected void setProcess( IProcess debuggeeProcess )
|
||||
{
|
||||
fDebuggeeProcess = debuggeeProcess;
|
||||
fDebuggerProcess = debuggerProcess;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -1969,30 +1968,6 @@ public class CDebugTarget extends CDebugElement
|
|||
getMemoryManager().dispose();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.IDebuggerProcessSupport#isDefault()
|
||||
*/
|
||||
public boolean isDebuggerProcessDefault()
|
||||
{
|
||||
return fIsDebuggerProcessDefault;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.IDebuggerProcessSupport#setDefault(boolean)
|
||||
*/
|
||||
public void setDebuggerProcessDefault( boolean value )
|
||||
{
|
||||
fIsDebuggerProcessDefault = value;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.IDebuggerProcessSupport#supportsDebuggerProcess()
|
||||
*/
|
||||
public boolean supportsDebuggerProcess()
|
||||
{
|
||||
return ( fDebuggerProcess != null );
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.IExecFileInfo#isLittleEndian()
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue