Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2010-04-12 15:01:24 -0400
committerJohn Cortell2010-04-12 15:01:24 -0400
commite776528588104caa7d102a9f9eccd543c5b200a3 (patch)
tree94495b332922ab665506cba8257057faaba8e71d /debug/org.eclipse.cdt.gdb
parent9be4928cfbe5bdb945e025a03b5241420ed2b554 (diff)
downloadorg.eclipse.cdt-e776528588104caa7d102a9f9eccd543c5b200a3.tar.gz
org.eclipse.cdt-e776528588104caa7d102a9f9eccd543c5b200a3.tar.xz
org.eclipse.cdt-e776528588104caa7d102a9f9eccd543c5b200a3.zip
[306427] Remove obsolete catchpoint types from CDT
Diffstat (limited to 'debug/org.eclipse.cdt.gdb')
-rw-r--r--debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/eventbkpts/IEventBreakpointConstants.java82
-rw-r--r--debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/eventbkpts/GdbCatchpoints.java10
2 files changed, 14 insertions, 78 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 b75d658e97..16d50151af 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
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2010 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.gdb.eventbkpts;
public interface IEventBreakpointConstants {
@@ -19,15 +29,6 @@ public interface IEventBreakpointConstants {
/**
* An event breakpoint of this type suspends the target program when it
- * catches a signal (POSIX). This type of event has a single parameter of
- * type in, indicating the specific signal.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_SIGNAL_CATCH = "org.eclipse.cdt.debug.gdb.signal"; //$NON-NLS-1$
-
- /**
- * 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
@@ -52,67 +53,10 @@ public interface IEventBreakpointConstants {
/**
* An event breakpoint of this type suspends the target program when it
- * calls exit() (POSIX). This type of event has no parameters.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_EXIT = "org.eclipse.cdt.debug.gdb.catch_exit"; //$NON-NLS-1$
-
- /**
- * An event breakpoint of this type suspends the target program when a new
- * process starts. This type of event has no parameters.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_PROCESS_START = "org.eclipse.cdt.debug.gdb.catch_start"; //$NON-NLS-1$
-
- /**
- * An event breakpoint of this type suspends the target program when a
- * process exits. This type of event has no parameters.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_PROCESS_STOP = "org.eclipse.cdt.debug.gdb.catch_stop"; //$NON-NLS-1$
-
- /**
- * An event breakpoint of this type suspends the target program when a new
- * thread starts. This type of event has no parameters.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_THREAD_START = "org.eclipse.cdt.debug.gdb.catch_thread_start"; //$NON-NLS-1$
-
- /**
- * An event breakpoint of this type suspends the target program when a
- * thread exits. This type of event has no parameters.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_THREAD_EXIT = "org.eclipse.cdt.debug.gdb.catch_thread_exit"; //$NON-NLS-1$
-
- /**
- * An event breakpoint of this type suspends the target program when a
- * thread joins another one (waits for it to exit) This type of event has no
- * parameters.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_THREAD_JOIN = "org.eclipse.cdt.debug.gdb.catch_thread_join"; //$NON-NLS-1$
-
- /**
- * An event breakpoint of this type suspends the target program when it
- * loads a library. This type of event has no parameters.
+ * 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_LIBRARY_LOAD = "org.eclipse.cdt.debug.gdb.catch_load"; //$NON-NLS-1$
-
- /**
- * An event breakpoint of this type suspends the target program when it
- * unloads a library. This type of event has no parameters.
- *
- * @since 7.0
- */
- public static final String EVENT_TYPE_LIBRARY_UNLOAD = "org.eclipse.cdt.debug.gdb.catch_unload"; //$NON-NLS-1$
-
+ 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/eventbkpts/GdbCatchpoints.java b/debug/org.eclipse.cdt.gdb/src/org/eclipse/cdt/gdb/internal/eventbkpts/GdbCatchpoints.java
index ce2ae65760..87a917bc25 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
@@ -24,18 +24,10 @@ public class GdbCatchpoints {
// to event breakpoints selector
sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_CATCH, "catch"); //$NON-NLS-1$
sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_THROW, "throw"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_SIGNAL_CATCH, "signal"); //$NON-NLS-1$
sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_EXEC, "exec"); //$NON-NLS-1$
sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_FORK, "fork"); //$NON-NLS-1$
sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_VFORK, "vfork"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_EXIT, "exit"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_PROCESS_START, "start"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_PROCESS_STOP, "stop"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_THREAD_START, "thread_start"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_THREAD_EXIT, "thread_exit"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_THREAD_JOIN, "thread_join"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_LIBRARY_LOAD, "load"); //$NON-NLS-1$
- sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_LIBRARY_UNLOAD, "unload"); //$NON-NLS-1$
+ sIdToKeyword.put(IEventBreakpointConstants.EVENT_TYPE_SYSCALL, "syscall"); //$NON-NLS-1$
}
/**

Back to the top