Building a Custom Linux Kernel & Debugging via QEMU + GDB | Guanzhou Hu
When doing systems research, we sometimes need to modify/add new stuff into the Linux kernel. This post lists a successful workflow of building and installing a custom Linux kernel under a Ubuntu 18.04/20.04 environment (deb), along with steps to debug the Linux kernel by running it over the QEMU emulator and attaching to GDB.
Building a Custom Linux Kernel & Debugging via QEMU + GDB | Guanzhou Hu
When doing systems research, we sometimes need to modify/add new stuff into the Linux kernel. This post lists a successful workflow of building and installing a custom Linux kernel under a Ubuntu 18.04/20.04 environment (deb), along with steps to debug the Linux kernel by running it over the QEMU emulator and attaching to GDB.
https://www.josehu.com/technical/2021/01/02/linux-kernel-build-debug.html