mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Removed the "IBreakpointTarget" interface.
This commit is contained in:
parent
843da7c608
commit
80afc076a5
5 changed files with 19 additions and 43 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-07-04 Mikhail Khodjaiants
|
||||
Removed the "IBreakpointTarget" interface.
|
||||
- IBreakpointTarget.java
|
||||
* ICDebugTarget.java
|
||||
* CDebugTarget.java
|
||||
|
||||
2005-06-29 Mikhail Khodjaiants
|
||||
Bug 41725: I can't set a breakpoint in a function where I used attach source.
|
||||
Bug 45514: Breakpoints made is assembly view do not show in C view.
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2004 QNX Software Systems and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* QNX Software Systems - Initial API and implementation
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.debug.core.model;
|
||||
|
||||
import org.eclipse.cdt.core.IAddress;
|
||||
import org.eclipse.debug.core.DebugException;
|
||||
|
||||
/**
|
||||
* Provides access to breakpoint-specific information.
|
||||
*/
|
||||
public interface IBreakpointTarget {
|
||||
|
||||
/**
|
||||
* Returns whether this target supports the given breakpoint.
|
||||
*
|
||||
* @return whether this target supports the given breakpoint.
|
||||
*/
|
||||
boolean isTargetBreakpoint( ICBreakpoint breakpoint );
|
||||
|
||||
/**
|
||||
* Returns the target address of the given breakpoint.
|
||||
*
|
||||
* @return the target address of the given breakpoint
|
||||
* @throws DebugException if the address is not available
|
||||
*/
|
||||
IAddress getBreakpointAddress( ICLineBreakpoint breakpoint ) throws DebugException;
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.debug.core.model;
|
||||
|
||||
import org.eclipse.cdt.core.IAddress;
|
||||
import org.eclipse.debug.core.DebugException;
|
||||
import org.eclipse.debug.core.model.IDebugTarget;
|
||||
import org.eclipse.debug.core.model.IRegisterGroup;
|
||||
|
@ -22,7 +23,6 @@ public interface ICDebugTarget extends IDebugTarget,
|
|||
IRestart,
|
||||
IResumeWithoutSignal,
|
||||
ICDebugElement,
|
||||
IBreakpointTarget,
|
||||
ISteppingModeTarget,
|
||||
ITargetProperties {
|
||||
|
||||
|
@ -134,4 +134,12 @@ public interface ICDebugTarget extends IDebugTarget,
|
|||
* @since 3.0
|
||||
*/
|
||||
public void restoreDefaultRegisterGroups();
|
||||
|
||||
/**
|
||||
* Returns the target address of the given breakpoint.
|
||||
*
|
||||
* @return the target address of the given breakpoint
|
||||
* @throws DebugException if the address is not available
|
||||
*/
|
||||
public IAddress getBreakpointAddress( ICLineBreakpoint breakpoint ) throws DebugException;
|
||||
}
|
||||
|
|
|
@ -1566,13 +1566,6 @@ public class CDebugTarget extends CDebugElement implements ICDebugTarget, ICDIEv
|
|||
return (getBreakpointManager() != null) ? getBreakpointManager().getBreakpointAddress( breakpoint ) : getAddressFactory().getZero();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.model.IBreakpointTarget#isTargetBreakpoint(org.eclipse.cdt.debug.core.model.ICBreakpoint)
|
||||
*/
|
||||
public boolean isTargetBreakpoint( ICBreakpoint breakpoint ) {
|
||||
return (getBreakpointManager() != null) ? getBreakpointManager().isTargetBreakpoint( breakpoint ) : false;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.model.ISteppingModeTarget#enableInstructionStepping(boolean)
|
||||
*/
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2005-07-04 Mikhail Khodjaiants
|
||||
Removed the "IBreakpointTarget" interface.
|
||||
* DisassemblyEditorInput.java
|
||||
|
||||
2005-06-30 Mikhail Khodjaiants
|
||||
Bug 102386: double-clicking on a disassembly line in the disassembly view does not add a breakpoint.
|
||||
* ToggleBreakpointAdapter.java
|
||||
|
|
Loading…
Add table
Reference in a new issue