diff --git a/Makefile b/Makefile index f9538d8..d27f84b 100644 --- a/Makefile +++ b/Makefile @@ -16,4 +16,8 @@ run: compile clean: rm boot.bin -.PHONY: compile clean run \ No newline at end of file +debug: compile + $(QEMU) -boot order=c -drive file=$(IMG),format=raw -S -s & + gdb -ex 'set tdesc filename target.xml' -ex 'target remote localhost:1234' + +.PHONY: compile clean run debug \ No newline at end of file