[Qemu-devel] [Bug 607794] Re: SEGFAULT caused by modifying the CPSR register

2010-07-20 Thread LG
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

[Qemu-devel] [Bug 607794] [NEW] SEGFAULT caused by modifying the CPSR register

2010-07-20 Thread LG
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