Freescale Semiconductor Microcontrollers User Manual

Page 803

Advertising
background image

Debugger Engine Commands

Debugger Commands

803

Microcontrollers Debugger Manual

LS

In the Command Line window, the LS command lists the values of symbols defined in the
symbol table and by the user. There is no limit to the number of symbols that can be listed.
The size of memory determines the symbol table size. Use the

DEFINE

command to

define symbols, and the

UNDEF

command to delete symbols.

The symbols that are listed with the LS command are split in two parts: Applications
Symbols and User Symbols.

Usage

LS [symbol | *][;C|S]

Where symbol is a restricted regular expression that specifies the symbol whose
values are to be listed.

* specifies to list all symbols.

;C specifies to list symbols in canonical format, which consists of a DEFINE
command for each symbol.

;S specifies to list symbol table statistics following the list of symbols.

Components

Debugger engine.

Example:

in>ls

User Symbols:

j 0x2 (2)

Application Symbols:

counter 0x80 (128)

fiboCount 0x81 (129)

j 0x83 (131)

n 0x84 (132)

fib1 0x85 (133)

fib2 0x87 (135)

fibo 0x89 (137)

Fibonacci 0xF000 (61440)

Entry 0xF041 (61505)

Advertising