Skip to content

Commit 81a67fa

Browse files
authored
Revise debugging steps in Debugging.md
Updated debugging instructions to streamline the process.
1 parent 88d07af commit 81a67fa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

doc/Debugging.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ This document is based on using BareMetal-OS and its script.
1616

1717
Set a 'jmp $' somewhere in the source code.
1818

19-
Edit `baremetal.sh` and remove the comment for `-s` to enable GDB debugging
20-
21-
Start BareMetal-OS
22-
23-
./baremetal.sh bnr
19+
Start a minimal QEMU BareMetal instance
2420

21+
qemu-system-x86-64 -s -drive format=raw,file=baremetal_os.img
2522

2623
### Terminal 2
2724

0 commit comments

Comments
 (0)