]> Git Repo - qemu.git/commit
target-arm: Don't use cpu_single_env in bank_number()
authorPeter Maydell <[email protected]>
Thu, 5 Jan 2012 15:49:06 +0000 (15:49 +0000)
committerPeter Maydell <[email protected]>
Thu, 5 Jan 2012 15:49:06 +0000 (15:49 +0000)
commit1b9e01c1109189951a5f28b90ca037e12d61511c
tree29bdfe621b173523fafa6981e9ca75069b0261d3
parentc47f3223658119219bbe0b8d09da733d1c06e76f
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 <[email protected]>
target-arm/helper.c
This page took 0.02417 seconds and 4 git commands to generate.