]> git.proxmox.com Git - mirror_qemu.git/commit
arm: Abstract out "are we singlestepping" test to utility function
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2017 16:32:30 +0000 (17:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2017 16:39:17 +0000 (17:39 +0100)
commitb636649f5a2e108413dd171edaf320f781f57942
treeb2678bcb26eed1284d13be7e8f363f511dae10f4
parentf021b2c4627890d82fbcc300db3bd782b37b7f8a
arm: Abstract out "are we singlestepping" test to utility function

We now test for "are we singlestepping" in several places and
it's not a trivial check because we need to care about both
architectural singlestep and QEMU gdbstub singlestep. We're
also about to add another place that needs to make this check,
so pull the condition out into a function.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1491844419-12485-7-git-send-email-peter.maydell@linaro.org
target/arm/translate.c