diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java index 40324a8dc90..404f6165481 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java @@ -53,6 +53,12 @@ public interface ICDITarget extends ICDIObject { */ ICDIThread[] getThreads() throws CDIException; + /** + * Set the current thread on the target. + * @param - ICDThread + */ + void setCurrentThread(ICDIThread current) throws CDIException; + /** * Returns a memory block that starts at the specified memory * address, with the specified length. diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java index 8b37eb35283..9c532deedcf 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java @@ -28,6 +28,12 @@ public interface ICDIThread extends ICDIObject { */ ICDIStackFrame[] getStackFrames() throws CDIException; + /** + * Set the curretn Stack for the thread. + * @param - ICDIStackFrame + */ + void setCurrentStackFrame(ICDIStackFrame current) throws CDIException; + /** * Returns whether this thread is currently suspended. *