info all-registers

This command displays the name and content of registers for the current stack frame.

Unless you specify otherwise, the registers listed by this command are the full set made available by the target, including co-processor and floating-point registers where available. You can use the info registers command to display a subset of registers that are most useful when debugging C/C++ applications.

When application code calls a function it is common for any existing register values to be saved, so that the registers can be used by the calling function for other purposes. The original register values are then restored when the function returns. When displaying register values the debugger tries to show the value of the actual registers prior to each function call, according to the currently selected stack frame. A consequence of this is that some registers might be shown with undefined values because the debugger is unable to determine the actual value.

Show/hideSyntax

info all-registers [group]

Where:

group

Specifies a group name for a specific registers. If no group is specified then all registers and groups are displayed.

Show/hideExample

Example 43. info all-registers

info all-registers                 # Display info for all registers
info all-registers USR             # Display info for all user mode registers

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452K
Non-ConfidentialID071912