QEMU: Difference between revisions

35 bytes added ,  12 years ago
QEMU monitor is available in GDB
[unchecked revision][unchecked revision]
(Added navigation box.)
(QEMU monitor is available in GDB)
Line 129:
 
will load into GDB your kernel and then connect to QEMU. Be sure to compile your kernel with the GCC option <tt>-g</tt> for debugging symbols. Now you may debug your kernel as a C program.
If you have an SMP kernel, check out the <tt>info threads</tt> and <tt>thread</tt> commands. It Note:is asalso farpossible asto Iuse knowthe youQEMU cannotmonitor examineand controlits registerscommands orusing physicalthe memory<tt>monitor</tt> throughcommand in GDB. For Soa thelist QEMUof monitoravailable iscommands theand onlytheir waydescription, tocheck goout for that<tt>monitor informationhelp</tt>.
 
===Getting detailed logs===
Anonymous user