How to debug QEMU crashes?
Posted: Sat Oct 26, 2013 5:21 pm
I've recently found out how to connect GDB to QEMU and I don't know how I used to live without this. The issue is sometimes my kernel causes QEMU to crash with:
And printing out a bunch of register values. Is there any way to get QEMU to generate an actual core dump that I can open with GDB and see the backtrace? Currently, the GDB connection is terminated when QEMU closes, so I have no idea how to debug what's causing the crash.qemu: fatal: Trying to execute code outside RAM or ROM at 0x665f665e