diff options
Diffstat (limited to 'dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/IMIProcesses.java')
-rw-r--r-- | dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/IMIProcesses.java | 88 |
1 files changed, 42 insertions, 46 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/IMIProcesses.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/IMIProcesses.java index 2e7226821f9..0bb8f080e9e 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/IMIProcesses.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/IMIProcesses.java @@ -7,7 +7,7 @@ * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * Ericsson - initial API and implementation *******************************************************************************/ @@ -21,62 +21,58 @@ import org.eclipse.cdt.dsf.debug.service.command.ICommandControlService.ICommand * This interface provides a method for creating execution contexts. * @since 1.1 */ -public interface IMIProcesses extends IProcesses -{ +public interface IMIProcesses extends IProcesses { /** * Create a thread context. - * + * * @param processDmc The parent process context * @param threadId The OS Id of the thread */ - IThreadDMContext createThreadContext(IProcessDMContext processDmc, String threadId); + IThreadDMContext createThreadContext(IProcessDMContext processDmc, String threadId); /** * Create a process context. - * + * * @param pid The OS Id of the process */ - IProcessDMContext createProcessContext(ICommandControlDMContext controlDmc, String pid); - - /** - * Create an execution context. - * - * @param containerDmc The parent process debugging context - * @param threadDmc The parent thread context - * @param threadId The thread id of the thread - */ - IMIExecutionDMContext createExecutionContext(IContainerDMContext containerDmc, - IThreadDMContext threadDmc, - String threadId); + IProcessDMContext createProcessContext(ICommandControlDMContext controlDmc, String pid); - /** - * Create a container context. - * - * @param processDmc The parent process context of this context - * @param groupId The thread group id of the process - */ - IMIContainerDMContext createContainerContext(IProcessDMContext processDmc, - String groupId); + /** + * Create an execution context. + * + * @param containerDmc The parent process debugging context + * @param threadDmc The parent thread context + * @param threadId The thread id of the thread + */ + IMIExecutionDMContext createExecutionContext(IContainerDMContext containerDmc, IThreadDMContext threadDmc, + String threadId); - /** - * Create a container context based on a threadId. This implies knowledge - * of which threads belong to which container. This method can only be used - * if the threadId has been already created. - * - * @param controlDmc The parent command control context of this context - * @param threadId The thread id belonging to the container we want to create - */ - IMIContainerDMContext createContainerContextFromThreadId(ICommandControlDMContext controlDmc, String threadId); + /** + * Create a container context. + * + * @param processDmc The parent process context of this context + * @param groupId The thread group id of the process + */ + IMIContainerDMContext createContainerContext(IProcessDMContext processDmc, String groupId); - /** - * Create a container context based on a groupId. This implies knowledge - * of which pid is represented by the groupId. This method can only be used - * if the groupId has been already created. - * - * @param controlDmc The parent command control context of this context - * @param groupId The thread-group id of the container we want to create - * @since 4.0 - */ - IMIContainerDMContext createContainerContextFromGroupId(ICommandControlDMContext controlDmc, String groupId); -} + /** + * Create a container context based on a threadId. This implies knowledge + * of which threads belong to which container. This method can only be used + * if the threadId has been already created. + * + * @param controlDmc The parent command control context of this context + * @param threadId The thread id belonging to the container we want to create + */ + IMIContainerDMContext createContainerContextFromThreadId(ICommandControlDMContext controlDmc, String threadId); + /** + * Create a container context based on a groupId. This implies knowledge + * of which pid is represented by the groupId. This method can only be used + * if the groupId has been already created. + * + * @param controlDmc The parent command control context of this context + * @param groupId The thread-group id of the container we want to create + * @since 4.0 + */ + IMIContainerDMContext createContainerContextFromGroupId(ICommandControlDMContext controlDmc, String groupId); +} |