mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Removed the "IBreakpointTarget" interface.
This commit is contained in:
parent
80afc076a5
commit
e4a9c0ca4c
2 changed files with 3 additions and 6 deletions
|
@ -60,7 +60,6 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDITargetConfiguration;
|
|||
import org.eclipse.cdt.debug.core.cdi.model.ICDIThread;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariableDescriptor;
|
||||
import org.eclipse.cdt.debug.core.model.CDebugElementState;
|
||||
import org.eclipse.cdt.debug.core.model.IBreakpointTarget;
|
||||
import org.eclipse.cdt.debug.core.model.ICAddressBreakpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICBreakpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICDebugElement;
|
||||
|
@ -819,8 +818,6 @@ public class CDebugTarget extends CDebugElement implements ICDebugTarget, ICDIEv
|
|||
return this;
|
||||
if ( adapter.equals( IExecFileInfo.class ) )
|
||||
return this;
|
||||
if ( adapter.equals( IBreakpointTarget.class ) )
|
||||
return this;
|
||||
if ( adapter.equals( CBreakpointManager.class ) )
|
||||
return getBreakpointManager();
|
||||
if ( adapter.equals( CSignalManager.class ) )
|
||||
|
|
|
@ -150,10 +150,10 @@ public class DisassemblyEditorInput implements IEditorInput {
|
|||
if ( fBlock != null ) {
|
||||
IDisassembly dis = fBlock.getDisassembly();
|
||||
if ( dis != null ) {
|
||||
IBreakpointTarget bt = (IBreakpointTarget)dis.getDebugTarget().getAdapter( IBreakpointTarget.class );
|
||||
if ( bt != null ) {
|
||||
ICDebugTarget target = (ICDebugTarget)dis.getDebugTarget().getAdapter( ICDebugTarget.class );
|
||||
if ( target != null ) {
|
||||
try {
|
||||
IAddress address = bt.getBreakpointAddress( breakpoint );
|
||||
IAddress address = target.getBreakpointAddress( breakpoint );
|
||||
if ( ! address.isZero() )
|
||||
return getInstructionLine( address );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue