aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 82555a4..9962ecc 100644
--- a/Makefile
+++ b/Makefile
@@ -93,14 +93,14 @@ clean:
rm -f build/*
qemu: bootdisk.iso
- qemu-system-x86_64 -drive file=./bootdisk.iso,format=raw -k en-us
+ qemu-system-x86_64 -drive file=./bootdisk.iso,format=raw -k en-us -serial mon:stdio
gdb:
gdb -x /tmp/gdbcommands.$(shell id -u) build/kernel
qemu-gdb: bootdisk.iso
@echo "target remote localhost:$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 )))" > /tmp/gdbcommands.$(shell id -u)
- @qemu-system-x86_64 -drive file=bootdisk.iso,format=raw -k en-us -S -gdb tcp::$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 )))
+ @qemu-system-x86_64 -drive file=bootdisk.iso,format=raw -k en-us -S -gdb tcp::$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 ))) -serial mon:stdio
test:
@echo "---BUILD DIR---"