mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +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
|
2004-04-15 Mikhail Khodjaiants
|
||||||
Implementing core support of disassembly.
|
Implementing core support of disassembly.
|
||||||
* AsmInstruction.java
|
* 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.ICStackFrame;
|
||||||
import org.eclipse.cdt.debug.core.model.IRestart;
|
import org.eclipse.cdt.debug.core.model.IRestart;
|
||||||
import org.eclipse.cdt.debug.core.model.IResumeWithoutSignal;
|
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.IRunToLine;
|
||||||
import org.eclipse.cdt.debug.core.model.IStackFrameInfo;
|
import org.eclipse.cdt.debug.core.model.IStackFrameInfo;
|
||||||
import org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocator;
|
import org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocator;
|
||||||
|
@ -554,6 +555,9 @@ public class CStackFrame extends CDebugElement
|
||||||
if ( adapter == IRunToLine.class ) {
|
if ( adapter == IRunToLine.class ) {
|
||||||
return getDebugTarget().getAdapter( adapter );
|
return getDebugTarget().getAdapter( adapter );
|
||||||
}
|
}
|
||||||
|
if ( adapter == IRunToAddress.class ) {
|
||||||
|
return getDebugTarget().getAdapter( adapter );
|
||||||
|
}
|
||||||
if ( adapter == IStackFrame.class )
|
if ( adapter == IStackFrame.class )
|
||||||
{
|
{
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Add table
Reference in a new issue