1.3.62 info members

Displays the name and data types for all class member variables that are accessible in the function corresponding to the selected stack frame.

Syntax

info members [expression]

Where:

expression

Specifies the name of a class member or a C expression that evaluates to a struct, union, or class variable. If no expression is specified. then all members of the current function identified by this pointer are displayed.

Note:

Using high compiler optimization levels such as -O2 with --debug can produce a less than satisfactory debug view because the mapping of object code to source code is not always clear. If the compiler optimizes away the this pointer, then using the info members command without an expression produces an error.

Example 1-65 Examples

info members                     # Display members for the current function
info members my_Struct[0-9]+     # Display members for matching struct variables
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.