1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 00:45:28 +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:
Alain Magloire 2004-10-26 17:53:16 +00:00
parent 393e606033
commit 1b38b3e339
6 changed files with 17 additions and 23 deletions

View file

@ -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
NPE in "CVlaue.isUnsigned". Check if the type of the parent variable is null.
* CValue.java

View file

@ -45,13 +45,6 @@ public interface ICDISession {
*/
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.
*

View file

@ -9,21 +9,16 @@
* 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
* @throws CDIException on failure. Reasons include:

View file

@ -25,7 +25,7 @@ import org.eclipse.cdt.debug.core.cdi.ICDISessionObject;
*
* @since Jul 8, 2002
*/
public interface ICDITarget extends ICDIThreadGroup, ICDISessionObject {
public interface ICDITarget extends ICDIThreadGroup, ICDIExpressionManagement, ICDISessionObject {
/**
* Gets the target process.

View file

@ -16,7 +16,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
/**
*/
public interface ICDIThreadGroup extends ICDIBreakpointManagement, ICDIExecuteStep, ICDIExecuteResume,
ICDISuspend, ICDIExpressionManagement, ICDIObject {
ICDISuspend, ICDISignalManagement, ICDIObject {
/**
* Returns the threads contained in this target.

View file

@ -52,7 +52,7 @@ public class CSignalManager extends CUpdateManager implements ICSignalManager
{
try
{
ICDISignal[] cdiSignals = getDebugTarget().getCDISession().getSignalManager().getSignals();
ICDISignal[] cdiSignals = getDebugTarget().getCDITarget().getSignals();
ArrayList list = new ArrayList( cdiSignals.length );
for ( int i = 0; i < cdiSignals.length; ++i )
{
@ -130,10 +130,7 @@ public class CSignalManager extends CUpdateManager implements ICSignalManager
protected ICDIManager getCDIManager()
{
if ( getDebugTarget() != null )
{
return getDebugTarget().getCDISession().getSignalManager();
}
//FIXME: To change we no longer have a ICDISignalManager.
return null;
}