Page 1 of 1

QEMU Segfaulting...

Posted: Mon Apr 14, 2008 6:06 am
by pcmattman
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!

Posted: Mon Apr 14, 2008 9:36 am
by Brynet-Inc
There is the "-d" option to QEMU, it would allow you to dump debugging information to a file. (/tmp/qemu.log)
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
So, qemu -d option (args).. ?