Here is a part of the gdb backtrace:
#2 0x0051a2bb in bank_number (env=
#4 0x0051a584 in cpsr_write ((env=0x110a9d0
If I build qemu with debug flags, the env value won't be optimized out,
but will remain 0.
--
SEGFAULT caused by modifying the CPSR register
https://bugs.launchp
Public bug reported:
IIf the CPSR register (qemu-system-arm) is set to an invalid mode, qemu
will segfault, because it tries to access a NULL-Pointer "env" in
translate.c:9286. Either way, qemu will abort in exec.c:1863.
** Affects: qemu
Importance: Undecided
Status: New
--
SEGFAU