mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Removed the "IBreakpointTarget" interface.
This commit is contained in:
parent
e4a9c0ca4c
commit
b8a6e21b4b
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ import org.eclipse.cdt.core.IAddress;
|
||||||
import org.eclipse.cdt.debug.core.CDIDebugModel;
|
import org.eclipse.cdt.debug.core.CDIDebugModel;
|
||||||
import org.eclipse.cdt.debug.core.model.IAsmInstruction;
|
import org.eclipse.cdt.debug.core.model.IAsmInstruction;
|
||||||
import org.eclipse.cdt.debug.core.model.IAsmSourceLine;
|
import org.eclipse.cdt.debug.core.model.IAsmSourceLine;
|
||||||
import org.eclipse.cdt.debug.core.model.IBreakpointTarget;
|
|
||||||
import org.eclipse.cdt.debug.core.model.ICDebugTarget;
|
import org.eclipse.cdt.debug.core.model.ICDebugTarget;
|
||||||
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint;
|
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint;
|
||||||
import org.eclipse.cdt.debug.core.model.ICStackFrame;
|
import org.eclipse.cdt.debug.core.model.ICStackFrame;
|
||||||
|
@ -325,7 +324,7 @@ public class DisassemblyEditorInput implements IEditorInput {
|
||||||
Assert.isTrue( address != null );
|
Assert.isTrue( address != null );
|
||||||
IDisassembly dis = getDisassembly();
|
IDisassembly dis = getDisassembly();
|
||||||
if ( dis != null ) {
|
if ( dis != null ) {
|
||||||
IBreakpointTarget bt = (IBreakpointTarget)dis.getDebugTarget().getAdapter( IBreakpointTarget.class );
|
ICDebugTarget bt = (ICDebugTarget)dis.getDebugTarget().getAdapter( ICDebugTarget.class );
|
||||||
if ( bt != null ) {
|
if ( bt != null ) {
|
||||||
String modelId = CDIDebugModel.getPluginIdentifier();
|
String modelId = CDIDebugModel.getPluginIdentifier();
|
||||||
IBreakpoint[] bps = DebugPlugin.getDefault().getBreakpointManager().getBreakpoints( modelId );
|
IBreakpoint[] bps = DebugPlugin.getDefault().getBreakpointManager().getBreakpoints( modelId );
|
||||||
|
|
Loading…
Add table
Reference in a new issue