mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 03:45:35 +02:00
2004-10-26 Alain Magloire
Remove of ICDISignalManager in CDI * cdi/org/eclipse/cdt/debug/core/cdi/ICDISession.java * cdi/org/eclipse/cdt/debug/core/cdi/ICDISignalManager.java * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIThreadGroup.java * CSignalManager.java
This commit is contained in:
parent
393e606033
commit
1b38b3e339
6 changed files with 17 additions and 23 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2004-10-26 Alain Magloire
|
||||||
|
Remove of ICDISignalManager in CDI
|
||||||
|
* cdi/org/eclipse/cdt/debug/core/cdi/ICDISession.java
|
||||||
|
* cdi/org/eclipse/cdt/debug/core/cdi/ICDISignalManager.java
|
||||||
|
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java
|
||||||
|
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIThreadGroup.java
|
||||||
|
|
||||||
|
* CSignalManager.java
|
||||||
|
|
||||||
2004-10-25 Mikhail Khodjaiants
|
2004-10-25 Mikhail Khodjaiants
|
||||||
NPE in "CVlaue.isUnsigned". Check if the type of the parent variable is null.
|
NPE in "CVlaue.isUnsigned". Check if the type of the parent variable is null.
|
||||||
* CValue.java
|
* CValue.java
|
||||||
|
|
|
@ -45,13 +45,6 @@ public interface ICDISession {
|
||||||
*/
|
*/
|
||||||
String getAttribute(String key);
|
String getAttribute(String key);
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the signal manager of this debug session.
|
|
||||||
*
|
|
||||||
* @return the signal manager
|
|
||||||
*/
|
|
||||||
ICDISignalManager getSignalManager();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the variable manager of this debug session.
|
* Returns the variable manager of this debug session.
|
||||||
*
|
*
|
||||||
|
|
|
@ -9,21 +9,16 @@
|
||||||
* QNX Software Systems - Initial API and implementation
|
* QNX Software Systems - Initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.debug.core.cdi;
|
package org.eclipse.cdt.debug.core.cdi.model;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.cdi.model.ICDISignal;
|
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* The signal manager manages the collection of signals defined
|
|
||||||
* for the debug session.
|
|
||||||
* Auto update is off by default.
|
|
||||||
* @since Jul 9, 2002
|
|
||||||
*/
|
*/
|
||||||
public interface ICDISignalManager extends ICDIManager {
|
public interface ICDISignalManagement {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the array of signals defined for this session.
|
* Returns the array of signals defined for this target.
|
||||||
*
|
*
|
||||||
* @return the array of signals
|
* @return the array of signals
|
||||||
* @throws CDIException on failure. Reasons include:
|
* @throws CDIException on failure. Reasons include:
|
|
@ -25,7 +25,7 @@ import org.eclipse.cdt.debug.core.cdi.ICDISessionObject;
|
||||||
*
|
*
|
||||||
* @since Jul 8, 2002
|
* @since Jul 8, 2002
|
||||||
*/
|
*/
|
||||||
public interface ICDITarget extends ICDIThreadGroup, ICDISessionObject {
|
public interface ICDITarget extends ICDIThreadGroup, ICDIExpressionManagement, ICDISessionObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the target process.
|
* Gets the target process.
|
||||||
|
|
|
@ -16,7 +16,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
public interface ICDIThreadGroup extends ICDIBreakpointManagement, ICDIExecuteStep, ICDIExecuteResume,
|
public interface ICDIThreadGroup extends ICDIBreakpointManagement, ICDIExecuteStep, ICDIExecuteResume,
|
||||||
ICDISuspend, ICDIExpressionManagement, ICDIObject {
|
ICDISuspend, ICDISignalManagement, ICDIObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the threads contained in this target.
|
* Returns the threads contained in this target.
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class CSignalManager extends CUpdateManager implements ICSignalManager
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ICDISignal[] cdiSignals = getDebugTarget().getCDISession().getSignalManager().getSignals();
|
ICDISignal[] cdiSignals = getDebugTarget().getCDITarget().getSignals();
|
||||||
ArrayList list = new ArrayList( cdiSignals.length );
|
ArrayList list = new ArrayList( cdiSignals.length );
|
||||||
for ( int i = 0; i < cdiSignals.length; ++i )
|
for ( int i = 0; i < cdiSignals.length; ++i )
|
||||||
{
|
{
|
||||||
|
@ -130,10 +130,7 @@ public class CSignalManager extends CUpdateManager implements ICSignalManager
|
||||||
|
|
||||||
protected ICDIManager getCDIManager()
|
protected ICDIManager getCDIManager()
|
||||||
{
|
{
|
||||||
if ( getDebugTarget() != null )
|
//FIXME: To change we no longer have a ICDISignalManager.
|
||||||
{
|
|
||||||
return getDebugTarget().getCDISession().getSignalManager();
|
|
||||||
}
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue