8/23/2023 0 Comments Linux qemu tutorialI know that I have to use remote debugging on the port 1234 (default port used by Qemu), using the vmlinux as the symbol table file for debugging. Which launch the kernel in "stopped" stateģ) Thus I have to use gdb, I try the following command: gdb. config)Ģ) Once the compilation is over I run Qemu using: qemu-system-x86_64 -s -S /dev/zero -kernel /arch/x86/boot/bzImage So what I did so far was:ġ) To compile the kernel with: make defconfig (then setting the CONFIG_DEBUG_INFO=y in the. I'm using eclipse as an IDE to develop on the kernel but I wanted first to get it work under QEMU/gdb. So what I did was to follow this tutorial. I'm actually reading Robert Love's book but unfortunately it doesn't help the reader on how to install proper tools to run or debug the kernel. I'm new to kernel development and I would like to know how to run/debug the linux kernel using QEMU and gdb.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |