OSDN Git Service

target-arm: Bring AArch64 debug CPU display of PSTATE into line with AArch32
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Nov 2015 13:49:42 +0000 (13:49 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Nov 2015 13:49:42 +0000 (13:49 +0000)
commit08b8e0f527930208a548b424d2ab3103bf3c8c02
treedf9ad7d879a452d311c7673f701a518764c00e89
parentb4f2bd1ce89f3a324fd047c65573897b39d5aaf8
target-arm: Bring AArch64 debug CPU display of PSTATE into line with AArch32

The AArch64 debug CPU display of PSTATE as "PSTATE=200003c5 (flags --C-)"
on the end of the same line as the last of the general purpose registers
is unnecessarily different from the AArch32 display of PSR as
"PSR=200001d3 --C- A svc32" on its own line. Update the AArch64
code to put PSTATE in its own line and in the same format, including
printing the exception level (mode).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1445883178-576-2-git-send-email-peter.maydell@linaro.org
target-arm/translate-a64.c