summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-01-20 11:43:33 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-01-20 11:43:33 +0100
commitc9ff8b63a1159f23598569879670250520628bb1 (patch)
tree3913acc8b93afa9ab86e13b32ae4f0baacd8badf
parent519d98b0c0dada2ab2800987f896d5076ea1e0fd (diff)
ADD: GDB support.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
-rw-r--r--dev/Boot/amd64-desktop.make4
-rw-r--r--dev/Boot/gdbinit3
-rw-r--r--dev/Kernel/FSKit/NeFS.h2
3 files changed, 6 insertions, 3 deletions
diff --git a/dev/Boot/amd64-desktop.make b/dev/Boot/amd64-desktop.make
index 79c983e3..fb26bd2b 100644
--- a/dev/Boot/amd64-desktop.make
+++ b/dev/Boot/amd64-desktop.make
@@ -82,11 +82,11 @@ compile-amd64:
.PHONY: run-efi-amd64-ahci
run-efi-amd64-ahci:
- $(EMU) $(EMU_FLAGS) -hda $(IMG)
+ $(EMU) $(EMU_FLAGS) -hda $(IMG) -s -S
.PHONY: run-efi-amd64-ata
run-efi-amd64-ata:
- $(EMU) $(EMU_FLAGS) -device piix3-ide,id=ide -drive id=disk,file=$(IMG),format=raw,if=none -device ide-hd,drive=disk,bus=ide.0
+ $(EMU) $(EMU_FLAGS) -device piix3-ide,id=ide -drive id=disk,file=$(IMG),format=raw,if=none -device ide-hd,drive=disk,bus=ide.0 -s -S
# img_2 is the rescue disk. img is the bootable disk, as provided by the Zeta specs.
.PHONY: epm-img
diff --git a/dev/Boot/gdbinit b/dev/Boot/gdbinit
new file mode 100644
index 00000000..34f779a3
--- /dev/null
+++ b/dev/Boot/gdbinit
@@ -0,0 +1,3 @@
+set disassemble-next-line on
+b Main
+target remote : 3331
diff --git a/dev/Kernel/FSKit/NeFS.h b/dev/Kernel/FSKit/NeFS.h
index 4742c02d..a1052dcf 100644
--- a/dev/Kernel/FSKit/NeFS.h
+++ b/dev/Kernel/FSKit/NeFS.h
@@ -3,7 +3,7 @@
Copyright (C) 2024, MediaSwirl, all rights reserved.
FILE: NeFS.h
- PURPOSE: NeFS (New FileSystem) support.
+ PURPOSE: NeFS (New extended File System) support.
Revision History: