target/arm: Create raise_exception_debug
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 10 Jun 2022 13:32:34 +0000 (14:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 10 Jun 2022 13:32:34 +0000 (14:32 +0100)
commit04eacf6e79e7489579d188acbfe3046874d7ec3e
tree4aa7f2fd71e47ed833ede2be46ab944fe10118fe
parent82303761c6fccfd7b166949149fedae9cee15efd
target/arm: Create raise_exception_debug

Handle the debug vs current el exception test in one place.
Leave EXCP_BKPT alone, since that treats debug < current differently.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220609202901.1177572-22-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/debug_helper.c