Skip to content

Instantly share code, notes, and snippets.

@hngouveia01
hngouveia01 / debugging_kernel.txt
Last active June 6, 2024 21:11
Debugging kernel code line by line with Qemu and GDB
We are going to use buildroot to download, configure and compile the kernel.
First, download and uncompress buildroot: https://buildroot.org/download.html
Go to the directory and:
make qemu_x86_defconfig
make menuconfig