mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Stack frame should provide an adapter for IRunToAddress.
This commit is contained in:
parent
1be0c22c6a
commit
a2189ff379
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-04-16 Mikhail Khodjaiants
|
||||
Stack frame should provide an adapter for IRunToAddress.
|
||||
* CStackFrame.java
|
||||
|
||||
2004-04-15 Mikhail Khodjaiants
|
||||
Implementing core support of disassembly.
|
||||
* AsmInstruction.java
|
||||
|
|
|
@ -22,6 +22,7 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDIVariableObject;
|
|||
import org.eclipse.cdt.debug.core.model.ICStackFrame;
|
||||
import org.eclipse.cdt.debug.core.model.IRestart;
|
||||
import org.eclipse.cdt.debug.core.model.IResumeWithoutSignal;
|
||||
import org.eclipse.cdt.debug.core.model.IRunToAddress;
|
||||
import org.eclipse.cdt.debug.core.model.IRunToLine;
|
||||
import org.eclipse.cdt.debug.core.model.IStackFrameInfo;
|
||||
import org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocator;
|
||||
|
@ -554,6 +555,9 @@ public class CStackFrame extends CDebugElement
|
|||
if ( adapter == IRunToLine.class ) {
|
||||
return getDebugTarget().getAdapter( adapter );
|
||||
}
|
||||
if ( adapter == IRunToAddress.class ) {
|
||||
return getDebugTarget().getAdapter( adapter );
|
||||
}
|
||||
if ( adapter == IStackFrame.class )
|
||||
{
|
||||
return this;
|
||||
|
|
Loading…
Add table
Reference in a new issue