I debugged small programs using gdb.
I have source code of GRUB. Second stage of GRUB is written in C. Can I debug it using gdb ?
Is it possible to debug a boot loader ? If yes, then how ?