1
/*******************************************************************************
2
* Copyright (c) 2008, 2009 Wind River 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
* Wind River Systems - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.examples.dsf.pda.service.commands;
13
import org.eclipse.cdt.dsf.concurrent.Immutable;
14
import org.eclipse.cdt.examples.dsf.pda.service.PDAThreadDMContext;
17
* Retrieves command stack depth
20
* C: stackdepth {thread_id}
24
* error: invalid thread
28
public class PDAStackDepthCommand extends AbstractPDACommand<PDAStackDepthCommandResult> {
30
public PDAStackDepthCommand(PDAThreadDMContext thread) {
31
super(thread, "stackdepth " + thread.getID());
35
public PDAStackDepthCommandResult createResult(String resultText) {
36
return new PDAStackDepthCommandResult(resultText);