Re: [Qemu-devel] [PATCH v2 6/9] arm: Abstract out "are we singlestepping" test to utility function

2017-04-10 Thread Philippe Mathieu-Daudé
On 04/10/2017 02:13 PM, Peter Maydell wrote: 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

[Qemu-devel] [PATCH v2 6/9] arm: Abstract out "are we singlestepping" test to utility function

2017-04-10 Thread Peter Maydell
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