1
/*******************************************************************************
2
* Copyright (c) 2000, 2009 QNX Software Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* QNX Software Systems - Initial API and implementation
10
* Ericsson - Modified for new DSF Reference Implementation
11
*******************************************************************************/
13
package org.eclipse.cdt.dsf.mi.service.command.commands;
17
import org.eclipse.cdt.dsf.debug.service.IRunControl.IContainerDMContext;
18
import org.eclipse.cdt.dsf.mi.service.command.output.CLIInfoThreadsInfo;
19
import org.eclipse.cdt.dsf.mi.service.command.output.MIInfo;
20
import org.eclipse.cdt.dsf.mi.service.command.output.MIOutput;
27
public class CLIInfoThreads extends CLICommand<CLIInfoThreadsInfo> {
29
public CLIInfoThreads(IContainerDMContext ctx) {
30
super(ctx, "info threads"); //$NON-NLS-1$
34
public CLIInfoThreadsInfo getResult(MIOutput output) {
35
return (CLIInfoThreadsInfo)getMIInfo(output);
38
public MIInfo getMIInfo(MIOutput out) {
41
info = new CLIInfoThreadsInfo(out);