diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-01-05 15:49:06 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-01-05 15:49:06 +0000 |
commit | 1b9e01c1109189951a5f28b90ca037e12d61511c (patch) | |
tree | 29bdfe621b173523fafa6981e9ca75069b0261d3 /blockdev.h | |
parent | c47f3223658119219bbe0b8d09da733d1c06e76f (diff) | |
download | hqemu-1b9e01c1109189951a5f28b90ca037e12d61511c.zip hqemu-1b9e01c1109189951a5f28b90ca037e12d61511c.tar.gz |
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>
Diffstat (limited to 'blockdev.h')
0 files changed, 0 insertions, 0 deletions