info variables

This command displays the name and data types of global and static variables.


info variables [expression]



Specifies a symbol name or a wildcard expression. You can use wildcard expressions to enhance your pattern matching.

If no expression is specified then all global and static variables are displayed.


Example 67. info variables

info variables                 # Display info for all variables
info variables num             # Display info for num variable
info variables m*              # Display info for names starting with m
                               # (use when set wildcard-style=glob)
info variables my_var[0-9]+    # Display info for names with my_var followed
                               # by a number (use when set wildcard-style=regex)

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452J