Hi everyone,
I've been doing some ARM work in qemu-system-arm lately and have recently gotten stuck with a QEMU segfault that's reproducible.
Does anyone here have any idea how to turn on some debug logging (NOT guest to host assembly translation logging) or get some sort of backtrace so I can figure out why I'm getting the segfault?
Thanks in advance!
QEMU Segfaulting...
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
There is the "-d" option to QEMU, it would allow you to dump debugging information to a file. (/tmp/qemu.log)
So, qemu -d option (args).. ?qemu(1) wrote:Log items (comma separated):
out_asm - show generated host assembly code for each compiled TB
in_asm - show target assembly code for each compiled TB
op - show micro ops for each compiled TB (only usable if 'in_asm' used)
op_opt - show micro ops after optimization for each compiled TB
int - show interrupts/exceptions in short format
exec - show trace before each executed TB (lots of logs)
cpu - show CPU state before bloc translation
pcall - show protected mode far calls/returns/exceptions