Revision 1b9e01c1
ID | 1b9e01c1109189951a5f28b90ca037e12d61511c |
target-arm: Don't use cpu_single_env in bank_number()
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>
Files
- added
- modified
- copied
- renamed
- deleted