Hi,
Could anyone plz tell me how can I debug the qemu source code?.What IDE should I use for the development of Qemu.I want to understand code of Qemu for user mode emulation.
Thanks,
Qemu debugging.
Re: Qemu debugging.
Hi ,
Add -g to the CFLAGS in the makefile . Rebuild qemu .
You can actually go through gdb manual for further details , One good reference I found is Indispensible PC hardware book .Hope it helps
--Thomas
Add -g to the CFLAGS in the makefile . Rebuild qemu .
Code: Select all
gdb qemu
break <function> or <line no> -- setting break point
run -- run to next point
step - step into
next -- goto to next line
--Thomas