To start we need to build our own kernel to have the executable binary image bzImage so we can emulate it with qemu, and the Kernel File Image vmlinux with all debug info we need, to use it with gdb to trace through the Kernel Code. This Setup gives you the capability to remotely debug a qemu instance emulating The Linux Kernel, you can also debug Kernel Modules with this setup but we will not get into it in this tutorial. If you want to know more about qemu, check the Official Repo, definitely one of the best open source projects out there. This tutorial will walk you through the steps needed to start debugging the Linux Kernel with a setup using qemu and gdb.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |