~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to results/plugins/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDARegistersCommand.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*******************************************************************************
2
 
 * Copyright (c) 2008 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
7
 
 * 
8
 
 * Contributors:
9
 
 *     Wind River Systems - initial API and implementation
10
 
 *******************************************************************************/
11
 
package org.eclipse.cdt.examples.dsf.pda.service.commands;
12
 
 
13
 
import org.eclipse.cdt.dsf.concurrent.Immutable;
14
 
import org.eclipse.cdt.examples.dsf.pda.service.PDAThreadDMContext;
15
 
 
16
 
/**
17
 
 * Retrieves registers definition information 
18
 
 * 
19
 
 * <pre>
20
 
 *    C: registers {group name}
21
 
 *    R: {register name} {true|false}|{bit field name} {start bit} {bit count} {mnemonic 1} {mnemonic 2} ...#{register name} ...
22
 
 * </pre>
23
 
 */
24
 
@Immutable
25
 
public class PDARegistersCommand extends AbstractPDACommand<PDARegistersCommandResult> {
26
 
 
27
 
    public PDARegistersCommand(PDAThreadDMContext context, String group) {
28
 
        super(context, "registers " + group);
29
 
    }
30
 
    
31
 
    @Override
32
 
    public PDARegistersCommandResult createResult(String resultText) {
33
 
        return new PDARegistersCommandResult(resultText);
34
 
    }
35
 
}