How to debug a boot loader?
Asked Answered
N

1

6

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 ?

Nonobjective answered 30/8, 2012 at 20:19 Comment(0)
L
6
  1. I would check out bochs
  2. You can also use gdb with bochs
  3. OSDev has a wealth of information on debugging a bootloader
Losing answered 31/8, 2012 at 14:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.