We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bce609 commit b3b486cCopy full SHA for b3b486c
Makefile
@@ -95,6 +95,12 @@ clean:
95
qemu: bootdisk.iso
96
qemu-system-x86_64 -drive file=./bootdisk.iso,format=raw -k en-us
97
98
+gdb:
99
+ gdb -x /tmp/gdbcommands.$(shell id -u) build/kernel
100
+
101
+qemu-gdb: bootdisk.iso
102
+ @echo "target remote localhost:$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 )))" > /tmp/gdbcommands.$(shell id -u)
103
+ @qemu-system-x86_64 -drive file=bootdisk.iso,format=raw -k en-us -S -gdb tcp::$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 )))
104
105
test:
106
@echo "---BUILD DIR---"
0 commit comments