mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
Fix for bug 82800: Make "Resume At Line" action retargettable.
CStackFrame should provide an adapter to IJumpToLine and IJumpToAddress.
This commit is contained in:
parent
0a8634d93f
commit
ff58e4a1ef
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-01-18 Mikhail Khodjaiants
|
||||||
|
Fix for bug 82800: Make "Resume At Line" action retargettable.
|
||||||
|
CStackFrame should provide an adapter to IJumpToLine and IJumpToAddress.
|
||||||
|
* CStackFrame.java
|
||||||
|
|
||||||
2005-01-12 Mikhail Khodjaiants
|
2005-01-12 Mikhail Khodjaiants
|
||||||
Bug 73168: Use memory view provided by Eclipse platform in CDT.
|
Bug 73168: Use memory view provided by Eclipse platform in CDT.
|
||||||
Removed the old memory view.
|
Removed the old memory view.
|
||||||
|
|
|
@ -28,6 +28,8 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame;
|
||||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariableDescriptor;
|
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariableDescriptor;
|
||||||
import org.eclipse.cdt.debug.core.model.ICGlobalVariable;
|
import org.eclipse.cdt.debug.core.model.ICGlobalVariable;
|
||||||
import org.eclipse.cdt.debug.core.model.ICStackFrame;
|
import org.eclipse.cdt.debug.core.model.ICStackFrame;
|
||||||
|
import org.eclipse.cdt.debug.core.model.IJumpToAddress;
|
||||||
|
import org.eclipse.cdt.debug.core.model.IJumpToLine;
|
||||||
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.IRunToAddress;
|
||||||
|
@ -463,6 +465,12 @@ public class CStackFrame extends CDebugElement implements ICStackFrame, IRestart
|
||||||
if ( adapter == IRunToAddress.class ) {
|
if ( adapter == IRunToAddress.class ) {
|
||||||
return getDebugTarget().getAdapter( adapter );
|
return getDebugTarget().getAdapter( adapter );
|
||||||
}
|
}
|
||||||
|
if ( adapter == IJumpToLine.class ) {
|
||||||
|
return getDebugTarget().getAdapter( adapter );
|
||||||
|
}
|
||||||
|
if ( adapter == IJumpToAddress.class ) {
|
||||||
|
return getDebugTarget().getAdapter( adapter );
|
||||||
|
}
|
||||||
if ( adapter == CStackFrame.class ) {
|
if ( adapter == CStackFrame.class ) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue