9.2.43. symbols

The symbols command lists all symbols defined in the given or current context, with their type information.

Syntax

The syntax of the symbols command is:

symbols {context}

where:

context

Defines the program context:

  • to see global variables, define context as the filename with no path or extension

  • to see internal variables, use symbols $.

Usage

The information produced is listed in the form:


name type[, storage-class], location

storage-class applies to source object only, not to debugger internal variables, and is one of auto, static, or external.

location is one of the following:

  • register r%d (variable stored in register r%d)

  • memory 0x%x (variable stored at memory location 0x%x)

  • constant (variable is actually a constant)

  • debugger variable

  • filtered

  • split location (variable stored in several locations, possibly complex)

  • moving, location (variable moves, actual location shown)

  • unknown (location does not exist or an error occurred).

Copyright © 1999-2006 ARM Limited. All rights reserved.ARM DUI 0066G
Non-Confidential