From a66320ac2c199b4b10a82b08f73346fa39029173 Mon Sep 17 00:00:00 2001 From: Regia König Date: Thu, 11 Aug 2022 15:01:47 +0200 Subject: Documentation QEMU Monitor commands --- documentation/QEMU Monitor Commands | 39 +++++++++++++++++++++++++++++++++++++ documentation/todo | 12 ------------ 2 files changed, 39 insertions(+), 12 deletions(-) create mode 100644 documentation/QEMU Monitor Commands delete mode 100644 documentation/todo diff --git a/documentation/QEMU Monitor Commands b/documentation/QEMU Monitor Commands new file mode 100644 index 0000000..4fbb27e --- /dev/null +++ b/documentation/QEMU Monitor Commands @@ -0,0 +1,39 @@ +#################################################################### +#################### ################### +### QEMU MONITOR COMMANDS ### +#################### ################### +#################################################################### + +1. START QEMU MONITOR + + - within viewer: + Ctrl + Alt + 2 + exit with Ctrl + Alt + + + - 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 diff --git a/documentation/todo b/documentation/todo deleted file mode 100644 index 5238731..0000000 --- a/documentation/todo +++ /dev/null @@ -1,12 +0,0 @@ - -- gdb breakpoint - -- debug Symbole Memtest - -- AddressSanitizer - -- make vs make run - -- plugin to handle lto object - -- debug information by DEBUG ((---)) -- cgit v1.2.3-55-g7522