1.3.71 info registers

Displays the name and content of all application level registers for the current stack frame. The registers listed by this command are a subset that are most useful when debugging C/C++ applications. You can use the info all-registers command to list the full set of registers.

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 callee 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.


info registers [register]



Specifies the register name. If no register is specified then all application level registers are displayed.

Example 1-74 Examples

info registers                # Display info for all application level registers
info registers pc             # Display info for PC register
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.