commit | 1b9e01c1109189951a5f28b90ca037e12d61511c | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Jan 05 15:49:06 2012 +0000 |
committer | Peter Maydell <peter.maydell@linaro.org> | Thu Jan 05 15:49:06 2012 +0000 |
tree | 29bdfe621b173523fafa6981e9ca75069b0261d3 | |
parent | c47f3223658119219bbe0b8d09da733d1c06e76f [diff] |
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>