1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Fix for bug 82800: Make "Resume At Line" action retargettable.

CDebugElement should provide an adapter to ICDebugTarget.
This commit is contained in:
Mikhail Khodjaiants 2005-01-18 22:21:16 +00:00
parent 9e5cafe0d9
commit 03cba52fca
2 changed files with 8 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.
CDebugElement should provide an adapter to ICDebugTarget.
* CDebugElement.java
2005-01-18 Mikhail Khodjaiants
Fix for bug 82800: Make "Resume At Line" action retargettable.
CStackFrame should provide an adapter to IJumpToLine and IJumpToAddress.

View file

@ -20,6 +20,7 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDITarget;
import org.eclipse.cdt.debug.core.model.CDebugElementState;
import org.eclipse.cdt.debug.core.model.ICDebugElement;
import org.eclipse.cdt.debug.core.model.ICDebugElementStatus;
import org.eclipse.cdt.debug.core.model.ICDebugTarget;
import org.eclipse.cdt.debug.internal.core.ICDebugInternalConstants;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.PlatformObject;
@ -298,6 +299,8 @@ abstract public class CDebugElement extends PlatformObject implements ICDebugEle
return this;
if ( adapter.equals( ICDISession.class ) )
return getCDISession();
if ( adapter.equals( ICDebugTarget.class ) )
return getDebugTarget();
return super.getAdapter( adapter );
}