blob: bae7cf7bf5c3f24c914a8bb5f46b4be360b8ba06 (
plain) (
tree)
|
|
####################################################################
#################### ###################
### QEMU MONITOR COMMANDS ###
#################### ###################
####################################################################
1. START QEMU MONITOR
- within viewer:
Ctrl + Alt + 2
exit with Ctrl + Alt + 1
- as QEMU parameter to get monitor in terminal:
-monitor stdio
2. GET HELP
help
help info
help list
3. SCROLL
Ctrl + PgUp/PgDown
4. GDBSERVER
starts a remote session for the GNU debugger (gdb)
To connect to it from the host machine,
$gdb qemuKernelFile
target remote localhost:1234
5. SHOW REGISTERS
info registers
eax = 32bit
rax = 64bit
rip = memory address of the next instruction to execute
|