Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Ryall2009-02-25 15:24:14 +0000
committerKen Ryall2009-02-25 15:24:14 +0000
commit412ba1852ccf427febffdf9f03674ee1f417c0e8 (patch)
tree82c09dd3dedeceb944edbc2fd7d70189081f8e64 /debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model
parenta1d528d6c7a27688ec428b73e74cad055d1078fc (diff)
downloadorg.eclipse.cdt-412ba1852ccf427febffdf9f03674ee1f417c0e8.tar.gz
org.eclipse.cdt-412ba1852ccf427febffdf9f03674ee1f417c0e8.tar.xz
org.eclipse.cdt-412ba1852ccf427febffdf9f03674ee1f417c0e8.zip
Fix API tooling problems and first pass and cleanup of the Executables view sources. Does not yet include all changes from the patch in bug 265796
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToAddress.java69
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToLine.java67
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtAddress.java69
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtLine.java99
4 files changed, 154 insertions, 150 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToAddress.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToAddress.java
index 833fbc85385..dbaac339b03 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToAddress.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToAddress.java
@@ -1,34 +1,35 @@
-/*******************************************************************************
- * Copyright (c) 2008 Freescale Semiconductor 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:
- * Freescale Semiconductor - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.debug.core.model;
-
-import org.eclipse.cdt.core.IAddress;
-import org.eclipse.debug.core.DebugException;
-
-/**
- * Provides the ability to move the instruction pointer of a debug target to the given address.
- */
-public interface IMoveToAddress {
-
- /**
- * Returns whether this operation is currently available for this element.
- *
- * @return whether this operation is currently available
- */
- public boolean canMoveToAddress( IAddress address );
-
- /**
- * Causes this element can move the instruction pointer to the specified address.
- *
- * @exception DebugException on failure. Reasons include:
- */
- public void moveToAddress( IAddress address ) throws DebugException;
-}
+/*******************************************************************************
+ * Copyright (c) 2008 Freescale Semiconductor 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:
+ * Freescale Semiconductor - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.cdt.debug.core.model;
+
+import org.eclipse.cdt.core.IAddress;
+import org.eclipse.debug.core.DebugException;
+
+/**
+ * Provides the ability to move the instruction pointer of a debug target to the given address.
+ * @since 6.0
+ */
+public interface IMoveToAddress {
+
+ /**
+ * Returns whether this operation is currently available for this element.
+ *
+ * @return whether this operation is currently available
+ */
+ public boolean canMoveToAddress( IAddress address );
+
+ /**
+ * Causes this element can move the instruction pointer to the specified address.
+ *
+ * @exception DebugException on failure. Reasons include:
+ */
+ public void moveToAddress( IAddress address ) throws DebugException;
+}
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToLine.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToLine.java
index 134cabb95a9..c407453ed88 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToLine.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IMoveToLine.java
@@ -1,33 +1,34 @@
-/*******************************************************************************
- * Copyright (c) 2008 Freescale Semiconductor 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:
- * Freescale Semiconductor - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.debug.core.model;
-
-import org.eclipse.debug.core.DebugException;
-
-/**
- * Provides the ability to move the instruction pointer of a debug target to the given line.
- */
-public interface IMoveToLine {
-
- /**
- * Returns whether this operation is currently available for this file and line number.
- *
- * @return whether this operation is currently available
- */
- public boolean canMoveToLine( String fileName, int lineNumber );
-
- /**
- * Causes this element to move the instruction pointer to the specified line.
- *
- * @exception DebugException on failure. Reasons include:
- */
- public void moveToLine( String fileName, int lineNumber ) throws DebugException;
-}
+/*******************************************************************************
+ * Copyright (c) 2008 Freescale Semiconductor 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:
+ * Freescale Semiconductor - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.cdt.debug.core.model;
+
+import org.eclipse.debug.core.DebugException;
+
+/**
+ * Provides the ability to move the instruction pointer of a debug target to the given line.
+ * @since 6.0
+ */
+public interface IMoveToLine {
+
+ /**
+ * Returns whether this operation is currently available for this file and line number.
+ *
+ * @return whether this operation is currently available
+ */
+ public boolean canMoveToLine( String fileName, int lineNumber );
+
+ /**
+ * Causes this element to move the instruction pointer to the specified line.
+ *
+ * @exception DebugException on failure. Reasons include:
+ */
+ public void moveToLine( String fileName, int lineNumber ) throws DebugException;
+}
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtAddress.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtAddress.java
index 5f2feac8245..ca67dbd7d00 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtAddress.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtAddress.java
@@ -1,34 +1,35 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2008 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 the ability to resume a debug target at the given address.
- */
-public interface IResumeAtAddress {
-
- /**
- * Returns whether this operation is currently available for this element.
- *
- * @return whether this operation is currently available
- */
- public boolean canResumeAtAddress( IAddress address );
-
- /**
- * Causes this element to resume the execution at the specified address.
- *
- * @exception DebugException on failure. Reasons include:
- */
- public void resumeAtAddress( IAddress address ) throws DebugException;
-}
+/*******************************************************************************
+ * Copyright (c) 2004, 2008 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 the ability to resume a debug target at the given address.
+ * @since 6.0
+ */
+public interface IResumeAtAddress {
+
+ /**
+ * Returns whether this operation is currently available for this element.
+ *
+ * @return whether this operation is currently available
+ */
+ public boolean canResumeAtAddress( IAddress address );
+
+ /**
+ * Causes this element to resume the execution at the specified address.
+ *
+ * @exception DebugException on failure. Reasons include:
+ */
+ public void resumeAtAddress( IAddress address ) throws DebugException;
+}
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtLine.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtLine.java
index 2f281216690..00f2d1ddd02 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtLine.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/model/IResumeAtLine.java
@@ -1,49 +1,50 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2006 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.core.resources.IFile;
-import org.eclipse.debug.core.DebugException;
-
-/**
- * Provides the ability to resume a debug target at the given line.
- */
-public interface IResumeAtLine {
-
- /**
- * Returns whether this operation is currently available for this file and line number.
- *
- * @return whether this operation is currently available
- */
- public boolean canResumeAtLine( IFile file, int lineNumber );
-
- /**
- * Causes this element to resume the execution at the specified line.
- *
- * @exception DebugException
- * on failure. Reasons include:
- */
- public void resumeAtLine( IFile file, int lineNumber ) throws DebugException;
-
- /**
- * Returns whether this operation is currently available for this file and line number.
- *
- * @return whether this operation is currently available
- */
- public boolean canResumeAtLine( String fileName, int lineNumber );
-
- /**
- * Causes this element to resume the execution at the specified line.
- *
- * @exception DebugException on failure. Reasons include:
- */
- public void resumeAtLine( String fileName, int lineNumber ) throws DebugException;
-}
+/*******************************************************************************
+ * Copyright (c) 2004, 2006 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.core.resources.IFile;
+import org.eclipse.debug.core.DebugException;
+
+/**
+ * Provides the ability to resume a debug target at the given line.
+ * @since 6.0
+ */
+public interface IResumeAtLine {
+
+ /**
+ * Returns whether this operation is currently available for this file and line number.
+ *
+ * @return whether this operation is currently available
+ */
+ public boolean canResumeAtLine( IFile file, int lineNumber );
+
+ /**
+ * Causes this element to resume the execution at the specified line.
+ *
+ * @exception DebugException
+ * on failure. Reasons include:
+ */
+ public void resumeAtLine( IFile file, int lineNumber ) throws DebugException;
+
+ /**
+ * Returns whether this operation is currently available for this file and line number.
+ *
+ * @return whether this operation is currently available
+ */
+ public boolean canResumeAtLine( String fileName, int lineNumber );
+
+ /**
+ * Causes this element to resume the execution at the specified line.
+ *
+ * @exception DebugException on failure. Reasons include:
+ */
+ public void resumeAtLine( String fileName, int lineNumber ) throws DebugException;
+}

Back to the top