mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 10:15: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
|
2004-04-02 Mikhail Khodjaiants
|
||||||
Removed dependency to xerces.
|
Removed dependency to xerces.
|
||||||
* CDebugUtils.java
|
* CDebugUtils.java
|
||||||
|
|
|
@ -19,7 +19,6 @@ import org.eclipse.debug.core.model.IDebugTarget;
|
||||||
public interface ICDebugTarget extends IDebugTarget,
|
public interface ICDebugTarget extends IDebugTarget,
|
||||||
ICDebugTargetType,
|
ICDebugTargetType,
|
||||||
ICExpressionEvaluator,
|
ICExpressionEvaluator,
|
||||||
IDebuggerProcessSupport,
|
|
||||||
IExecFileInfo,
|
IExecFileInfo,
|
||||||
IRestart,
|
IRestart,
|
||||||
IRunToLine,
|
IRunToLine,
|
||||||
|
|
|
@ -162,7 +162,7 @@ public class CDebugTarget extends CDebugElement
|
||||||
/**
|
/**
|
||||||
* Associated debugger process, or <code>null</code> if not available.
|
* Associated debugger process, or <code>null</code> if not available.
|
||||||
*/
|
*/
|
||||||
private IProcess fDebuggerProcess = null;
|
// private IProcess fDebuggerProcess = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The underlying CDI target.
|
* The underlying CDI target.
|
||||||
|
@ -252,7 +252,7 @@ public class CDebugTarget extends CDebugElement
|
||||||
/**
|
/**
|
||||||
* Whether the debugger process is default.
|
* Whether the debugger process is default.
|
||||||
*/
|
*/
|
||||||
private boolean fIsDebuggerProcessDefault = false;
|
// private boolean fIsDebuggerProcessDefault = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The suspension thread.
|
* The suspension thread.
|
||||||
|
@ -290,7 +290,7 @@ public class CDebugTarget extends CDebugElement
|
||||||
setTargetType( targetType );
|
setTargetType( targetType );
|
||||||
setDebugTarget( this );
|
setDebugTarget( this );
|
||||||
setName( name );
|
setName( name );
|
||||||
setProcesses( debuggeeProcess, debuggerProcess );
|
setProcess( debuggeeProcess );
|
||||||
setCDITarget( cdiTarget );
|
setCDITarget( cdiTarget );
|
||||||
setExecFile( file );
|
setExecFile( file );
|
||||||
setConfiguration( cdiTarget.getSession().getConfiguration() );
|
setConfiguration( cdiTarget.getSession().getConfiguration() );
|
||||||
|
@ -420,7 +420,7 @@ public class CDebugTarget extends CDebugElement
|
||||||
*/
|
*/
|
||||||
public IProcess getProcess()
|
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
|
* underlying CDI target, or <code>null</code> if no process is
|
||||||
* associated with this debug target (for example, a core dump debugging).
|
* 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;
|
fDebuggeeProcess = debuggeeProcess;
|
||||||
fDebuggerProcess = debuggerProcess;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
@ -1969,30 +1968,6 @@ public class CDebugTarget extends CDebugElement
|
||||||
getMemoryManager().dispose();
|
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)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.cdt.debug.core.IExecFileInfo#isLittleEndian()
|
* @see org.eclipse.cdt.debug.core.IExecFileInfo#isLittleEndian()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue