]> git.proxmox.com Git - mirror_qemu.git/commit
AArch64: Fix single stepping of ERET instruction
authorJaroslaw Pelczar <j.pelczar@samsung.com>
Thu, 14 Sep 2017 17:43:18 +0000 (18:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:18 +0000 (18:43 +0100)
commitdddbba9943ef6a81c8702e4a50cb0a8b1a4201fe
treefb7475a046d9a1a34d42ea3f57ea74a9028e5386
parentda69de00763c1bc221149f6618ef2c8f81e9f49a
AArch64: Fix single stepping of ERET instruction

Previously when single stepping through ERET instruction via GDB
would result in debugger entering the "next" PC after ERET instruction.
When debugging in kernel mode, this will also cause unintended behavior,
because debugger will try to access memory from EL0 point of view.

Signed-off-by: Jaroslaw Pelczar <j.pelczar@samsung.com>
Message-id: 001c01d32895$483027f0$d89077d0$@samsung.com
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c