I debugged small programs using gdb.
I have the source code for GRUB. The second stage of GRUB is written in C. Can I debug it with gdb?
Is it possible to debug the bootloader? If so, how?