mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +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.ICDIThread;
|
||||||
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.CDebugElementState;
|
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.ICAddressBreakpoint;
|
||||||
import org.eclipse.cdt.debug.core.model.ICBreakpoint;
|
import org.eclipse.cdt.debug.core.model.ICBreakpoint;
|
||||||
import org.eclipse.cdt.debug.core.model.ICDebugElement;
|
import org.eclipse.cdt.debug.core.model.ICDebugElement;
|
||||||
|
@ -819,8 +818,6 @@ public class CDebugTarget extends CDebugElement implements ICDebugTarget, ICDIEv
|
||||||
return this;
|
return this;
|
||||||
if ( adapter.equals( IExecFileInfo.class ) )
|
if ( adapter.equals( IExecFileInfo.class ) )
|
||||||
return this;
|
return this;
|
||||||
if ( adapter.equals( IBreakpointTarget.class ) )
|
|
||||||
return this;
|
|
||||||
if ( adapter.equals( CBreakpointManager.class ) )
|
if ( adapter.equals( CBreakpointManager.class ) )
|
||||||
return getBreakpointManager();
|
return getBreakpointManager();
|
||||||
if ( adapter.equals( CSignalManager.class ) )
|
if ( adapter.equals( CSignalManager.class ) )
|
||||||
|
|
|
@ -150,10 +150,10 @@ public class DisassemblyEditorInput implements IEditorInput {
|
||||||
if ( fBlock != null ) {
|
if ( fBlock != null ) {
|
||||||
IDisassembly dis = fBlock.getDisassembly();
|
IDisassembly dis = fBlock.getDisassembly();
|
||||||
if ( dis != null ) {
|
if ( dis != null ) {
|
||||||
IBreakpointTarget bt = (IBreakpointTarget)dis.getDebugTarget().getAdapter( IBreakpointTarget.class );
|
ICDebugTarget target = (ICDebugTarget)dis.getDebugTarget().getAdapter( ICDebugTarget.class );
|
||||||
if ( bt != null ) {
|
if ( target != null ) {
|
||||||
try {
|
try {
|
||||||
IAddress address = bt.getBreakpointAddress( breakpoint );
|
IAddress address = target.getBreakpointAddress( breakpoint );
|
||||||
if ( ! address.isZero() )
|
if ( ! address.isZero() )
|
||||||
return getInstructionLine( address );
|
return getInstructionLine( address );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue