target-arm: Set DBGDSCR.MOE for debug exceptions taken to AArch32
commit16a906fd6ebbe894d8545ba6168cabea5ef49b1d
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:49 +0000 (12 14:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:49 +0000 (12 14:06 +0100)
treeb026c539670bcfab95f571e7d037c9731f9a254b
parent3ff6fc9148d0a9e683eb6ec78523a017247e990d
target-arm: Set DBGDSCR.MOE for debug exceptions taken to AArch32

For debug exceptions taken to AArch32 we have to set the
DBGDSCR.MOE (Method Of Entry) bits; we can identify the
kind of debug exception from the information in
exception.syndrome.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c