1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +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:
Mikhail Khodjaiants 2005-01-18 19:55:58 +00:00
parent 0a8634d93f
commit ff58e4a1ef
2 changed files with 13 additions and 0 deletions

View file

@ -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
Bug 73168: Use memory view provided by Eclipse platform in CDT.
Removed the old memory view.

View file

@ -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.model.ICGlobalVariable;
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.IResumeWithoutSignal;
import org.eclipse.cdt.debug.core.model.IRunToAddress;
@ -463,6 +465,12 @@ public class CStackFrame extends CDebugElement implements ICStackFrame, IRestart
if ( adapter == IRunToAddress.class ) {
return getDebugTarget().getAdapter( adapter );
}
if ( adapter == IJumpToLine.class ) {
return getDebugTarget().getAdapter( adapter );
}
if ( adapter == IJumpToAddress.class ) {
return getDebugTarget().getAdapter( adapter );
}
if ( adapter == CStackFrame.class ) {
return this;
}