2.3.37. DCOMMANDS

Lists the commands available based on the Debug Interface, target processor, and type of connection.

Syntax

DCOMMANDS [{,full | ,alias}] [,cmd_class...] [{;windowid | ;fileid}]

DCOMMANDS [{,full | ,alias}] =specific_cmd [{;windowid | ;fileid}]

where:

cmd_class

Specifies a class of commands to have details displayed, and can be any of the following:

status or display

to list status and display commands

setstatus or ss

to list setstatus commands

breakcomplex or bc

to list breakcomplex commands

If no command class is specified, all of the commands known to DCOMMANDS are described.

alias

Show a summary of names and aliases for the specified command class.

full

Show more detailed information on the specified command class.

specific_cmd

Specifies a particular command to display, or all to display all commands known to DCOMMANDS.

;windowid | ;fileid

Identifies the window or file where the command is to send the output. See Window and file numbers for details.

If you do not supply a ;windowid or ;fileid parameter, output is displayed on the screen. If you are using the GUI, then the output is displayed in the Output view.

Description

The DCOMMANDS command displays the list of commands supported by the current target. The optional command class qualifier enables you to display one or more specific classes of commands. The specific_cmd argument shows a specified command. The full qualifier provides extended detail on the command.

Note

Some commands are not listed in the DCOMMANDS command list, and DCOMMANDS reports that these commands are unknown if you request help with the specific_cmd argument. This is a limitation of the current implementation of the help system and does not indicate a fault in the operation of the commands.

Examples

The following examples show the use of DCOMMANDS. The first command displays a summary of all status commands that are available on the current target:

> dcom,status =all
    dcommands [{,cmd_classes...}] [=specific_cmd] [;viewport]
or  dhelp    [{,cmd_classes...}] [=specific_cmd] [;viewport]
    dtboard  [={resource,...}] [;viewport]
or  dboard   [={resource,...}] [;viewport]
    dtprocess [={task,...}] [;viewport]
or  dvprocess [={task,...}] [;viewport]
    dtfile   [={value,...}] [;viewport]
or  dvfile   [={value,...}] [;viewport]
or  dmap     [={value,...}] [;viewport]
    dtbreak  [={threads,...}] [;viewport]
or  dbreak   [={threads,...}] [;viewport]

Note

;viewport in the command syntax can be either ;windowid or ;fileid.

This command displays a more complete summary of the XTRIGGER command:

> dcom,full xtrig
    xtrigger [{,qualifier...}] [={boards,...}] 

Qualifiers:
  in_disable  in_enabl  eout_disable  out_enable  onhost

This command is used to set the cross-triggering state of the selected
boards. This can be used to control what happens when any board stops. It
will be implemented using hardware when possible but can be forced to use
software (on host) methods.

Alias

DHELP is an alias of DCOMMANDS.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0175N
Non-ConfidentialID052111