Addr – Freescale Semiconductor Microcontrollers User Manual

Page 822

Advertising
background image

Debugger Engine Commands

Debugger Commands

822

Microcontrollers Debugger Manual

assembler) (e.g., fibo.c), since all debugging information is contained in the
.abs

file and object files are not used. Adapt the following examples with

your .abs application file format.

Usage

SMOD module

Where module is the name of a module taking part of the application. Do not
include a path in the module name. The module extension (i.e., .DBG for assembly
sources or .C for C sources) must be specified.

The module name is searched in the directories associated with the GENPATH
environment variable. An error message is displayed:

• If the module specified does not take part of the current application loaded.

• If no application is loaded.

Components

Data, Memory and source components.

Example:

in>Data:1 < SMOD fibo.c

Global variables found in the fibo.c module are displayed in the Data:1
component window.

SPC

In the Source component, the SPC command loads the corresponding module’s source
text, scrolls to the corresponding text location (the code address) and highlights the
statement that corresponds to this code address.

In the Assembler component, the SPC command scrolls the Assembly component,
shows the location (the assembler address) and select/highlights the assembler instruction
of the address given as parameter.

In the Memory component, the SPC command scrolls the memory dump component,
shows the location (the memory address) of the address given as parameter.

Usage

SPC

address

Advertising