How to debug bootloader?

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?

+5
source share
1 answer
+4
source

All Articles