Linux Kernel Debugging

I have been a Linux user space programmer for well over ten years, but only recently dipped my toe into kernel development. In this article I’ll go over the Linux kernel build system, bare-bones initramfs system emulation, debugging code that runs in kernel space, kernel modules, and testing kernel code within a full Linux distribution. Table of contents Requirements Building the Linux kernel…