]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/xtensa: dump correct physical registers
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 28 Feb 2018 19:48:04 +0000 (11:48 -0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 21 Jun 2018 01:44:58 +0000 (20:44 -0500)
commit2ac88347fa354e4bd4057be1dbf498cfa70304ff
tree09c7c09234cd2fafeccd045987d50e2eb7e15f31
parent1f4637953e29bd01360dbb97ee2312e8e72f2a9d
target/xtensa: dump correct physical registers

xtensa_cpu_dump_state outputs CPU physical registers as is, without
synchronization from current window. That may result in different values
printed for the current window and corresponding physical registers.
Synchronize physical registers from window before dumping.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
(cherry picked from commit b55b1afda942306e4e40420aced1524bd83ba16d)
 Conflicts:
target/xtensa/translate.c
* drop context dependencies
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/xtensa/translate.c