Debugger engine commands, Commands overview, 34 debugger engine commands – Freescale Semiconductor Microcontrollers User Manual

Page 731

Advertising
background image

731

Microcontrollers Debugger Manual

34

Debugger Engine
Commands

Commands Overview

The debugger supports scripting with the use of commands and command files. When you
script the debugger, you can automate repetitive, time-consuming, or complex tasks.

You do not need to use or have knowledge of commands to run the Simulator/Debugger.
However these commands are useful for editing debugger command files, for example,
after a recording session, to generate your own command files, or to set up your
applications and targets, etc.

This section provides a detailed list of all Simulator/Debugger commands. All command
names and component names are case insensitive. The command EBNF syntax is:

component [:component number] < ] command

where component is the name of the window component. For example: Data, Register,
Source, Assembly, etc. Component number is the number of the component. This
number does not exist in the component window title if only one component of this type is
open. For example, if you open a second Memory component window, the initial Memory
component window is renamed Memory:1 and the new one is called Memory:2. A
number is automatically associated with a component if there are several components of
the same type displayed.

Command Example:

in>Memory:2 < SMEM 0x8000,8

<‘ redirects a command to a specific component (in this example: Memory:2). Some
commands are valid for several or all components; if the command is not redirected to a
specific component, all components are affected. Also, a mismatch can occur because a
command’s parameters may differ for different components.

Advertising