Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/CLIMonitorListProcesses.java')
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/CLIMonitorListProcesses.java46
1 files changed, 46 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/CLIMonitorListProcesses.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/CLIMonitorListProcesses.java
new file mode 100644
index 00000000000..b6ce092e40e
--- /dev/null
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/CLIMonitorListProcesses.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Ericsson 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:
+ * Ericsson - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.cdt.dsf.mi.service.command.commands;
+
+
+import org.eclipse.cdt.dsf.datamodel.IDMContext;
+import org.eclipse.cdt.dsf.mi.service.command.output.CLIMonitorListProcessesInfo;
+import org.eclipse.cdt.dsf.mi.service.command.output.MIInfo;
+import org.eclipse.cdt.dsf.mi.service.command.output.MIOutput;
+
+/**
+ *
+ * monitor list processes
+ *
+ * This command is not available in the current version of GDBServer. However it should
+ * be available in the future.
+ *
+ */
+public class CLIMonitorListProcesses extends CLICommand<CLIMonitorListProcessesInfo>
+{
+ public CLIMonitorListProcesses(IDMContext ctx) {
+ super(ctx, "monitor list processes"); //$NON-NLS-1$
+ }
+
+ @Override
+ public CLIMonitorListProcessesInfo getResult(MIOutput output) {
+ return (CLIMonitorListProcessesInfo)getMIInfo(output);
+ }
+
+ public MIInfo getMIInfo(MIOutput out) {
+ MIInfo info = null;
+ if (out != null) {
+ info = new CLIMonitorListProcessesInfo(out);
+ }
+ return info;
+ }
+}

Back to the top