mirror of
https://github.com/mii443/qemu.git
synced 2025-08-26 17:10:08 +00:00
Avoid using cpu_single_env in bank_number() -- if we were called via the gdb stub reading or writing the CPSR then it is NULL and we will segfault if we take the cpu_abort(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org>