Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 16:20:42 +0000
committerJonah Graham2018-11-22 21:47:02 +0000
commit170e654b4796bad1453ae85a427b97317d67a69a (patch)
tree6ca9b8a8fedd5fd25f97eb79c408312e256ff981 /debug/org.eclipse.cdt.gdb
parent35996a5c5ca5c254959ba48241eaada6dbf8628d (diff)
downloadorg.eclipse.cdt-170e654b4796bad1453ae85a427b97317d67a69a.tar.gz
org.eclipse.cdt-170e654b4796bad1453ae85a427b97317d67a69a.tar.xz
org.eclipse.cdt-170e654b4796bad1453ae85a427b97317d67a69a.zip
Bug 540373: Cleanup: Format & Remove trailing whitespace
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Format source code - Remove trailing white spaces on all lines and completing the wizard Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
Diffstat (limited to 'debug/org.eclipse.cdt.gdb')
-rw-r--r--debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/eventbkpts/IEventBreakpointConstants.java16
-rw-r--r--debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/Activator.java10
-rw-r--r--debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/eventbkpts/GdbCatchpoints.java6
3 files changed, 16 insertions, 16 deletions
diff --git a/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/eventbkpts/IEventBreakpointConstants.java b/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/eventbkpts/IEventBreakpointConstants.java
index 89c02777d73..3a698cf3dc9 100644
--- a/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/eventbkpts/IEventBreakpointConstants.java
+++ b/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/eventbkpts/IEventBreakpointConstants.java
@@ -7,8 +7,8 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
+ *
+ * Contributors:
* Freescale Semiconductor - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.gdb.eventbkpts;
@@ -17,7 +17,7 @@ public interface IEventBreakpointConstants {
/**
* An event breakpoint of this type suspends the target program when it
* catches a C++ exception. This type of event has no parameters.
- *
+ *
* @since 7.0
*/
public static final String EVENT_TYPE_CATCH = "org.eclipse.cdt.debug.gdb.catch"; //$NON-NLS-1$
@@ -25,7 +25,7 @@ public interface IEventBreakpointConstants {
/**
* An event breakpoint of this type suspends the target program when it
* throws a C++ exception. This type of event has no parameters.
- *
+ *
* @since 7.0
*/
public static final String EVENT_TYPE_THROW = "org.eclipse.cdt.debug.gdb.throw"; //$NON-NLS-1$
@@ -33,7 +33,7 @@ public interface IEventBreakpointConstants {
/**
* An event breakpoint of this type suspends the target program when it
* calls fork() (POSIX). This type of event has no parameters.
- *
+ *
* @since 7.0
*/
public static final String EVENT_TYPE_FORK = "org.eclipse.cdt.debug.gdb.catch_fork"; //$NON-NLS-1$
@@ -41,7 +41,7 @@ public interface IEventBreakpointConstants {
/**
* An event breakpoint of this type suspends the target program when it
* calls vfork() (POSIX). This type of event has no parameters.
- *
+ *
* @since 7.0
*/
public static final String EVENT_TYPE_VFORK = "org.eclipse.cdt.debug.gdb.catch_vfork"; //$NON-NLS-1$
@@ -49,7 +49,7 @@ public interface IEventBreakpointConstants {
/**
* An event breakpoint of this type suspends the target program when it
* calls exec() (POSIX). This type of event has no parameters.
- *
+ *
* @since 7.0
*/
public static final String EVENT_TYPE_EXEC = "org.eclipse.cdt.debug.gdb.catch_exec"; //$NON-NLS-1$
@@ -58,7 +58,7 @@ public interface IEventBreakpointConstants {
* An event breakpoint of this type suspends the target program when it
* makes a system call (POSIX). This type of event takes a single parameter:
* the name or number of the system call.
- *
+ *
* @since 7.0
*/
public static final String EVENT_TYPE_SYSCALL = "org.eclipse.cdt.debug.gdb.catch_syscall"; //$NON-NLS-1$
diff --git a/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/Activator.java b/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/Activator.java
index 347745fe5c0..0899c30354b 100644
--- a/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/Activator.java
+++ b/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/Activator.java
@@ -7,8 +7,8 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
+ *
+ * Contributors:
* Freescale Semiconductor - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.gdb.internal;
@@ -26,7 +26,7 @@ public class Activator extends Plugin {
/** The singleton instance */
private static Activator plugin;
-
+
/**
* The constructor
*/
@@ -37,7 +37,7 @@ public class Activator extends Plugin {
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
@Override
- public void start(BundleContext context) throws Exception {
+ public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
@@ -46,7 +46,7 @@ public class Activator extends Plugin {
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
@Override
- public void stop(BundleContext context) throws Exception {
+ public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
diff --git a/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/eventbkpts/GdbCatchpoints.java b/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/eventbkpts/GdbCatchpoints.java
index f0a4cb34a23..dd14732de58 100644
--- a/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/eventbkpts/GdbCatchpoints.java
+++ b/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/eventbkpts/GdbCatchpoints.java
@@ -37,7 +37,7 @@ public class GdbCatchpoints {
* Get the gdb catchpoint event keyword associated with the given
* {@link IEventBreakpointConstants} event type ID. Answer will be, e.g.,
* "catch", "throw", "fork", etc.
- *
+ *
* @param event
* an EVENT_TYPE_XXXX constant from IEventBreakpointConstants
* @return the gdb keyword for [event]; null if [event] is unrecognized
@@ -51,7 +51,7 @@ public class GdbCatchpoints {
/**
* An inversion of the lookup done by
* {@link #eventToGdbCatchpointKeyword(String)}
- *
+ *
* @param keyword
* a gdb catchpoint keyword, e.g., "catch", "throw", "fork"
* @return the EVENT_TYPE_XXXX constant from IEventBreakpointConstants
@@ -64,7 +64,7 @@ public class GdbCatchpoints {
return eventId;
}
}
-
+
// Don't assert. Caller may be using us to determine if a token is a
// catchpoint keyword. He may have parsed the keyword out from gdb/mi
// output.

Back to the top