diff --git a/GNUmakefile b/GNUmakefile index b2bff2c..7202e30 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -227,6 +227,13 @@ run-gdb-graphic: $(QEMUIMAGEFILES) check-qemu $(call run,sleep 0.5; gdb -x build/chickadee.gdb,GDB) run-gdb-console: $(QEMUIMAGEFILES) check-qemu-console $(call run,$(QEMU) $(QEMUOPT) -curses -gdb tcp::12949 $(QEMUIMG),QEMU $<) +run-gdb-paused: run-gdb-paused-$(QEMUDISPLAY) + @: +run-gdb-paused-graphic: $(QEMUIMAGEFILES) check-qemu + $(call run,$(QEMU_PRELOAD) $(QEMU) $(QEMUOPT) -S -gdb tcp::12949 $(QEMUIMG) &,QEMU $<) + $(call run,sleep 0.5; gdb -x build/chickadee.gdb,GDB) +run-gdb-paused-console: $(QEMUIMAGEFILES) check-qemu-console + $(call run,$(QEMU) $(QEMUOPT) -curses -S -gdb tcp::12949 $(QEMUIMG),QEMU $<) run-$(RUNSUFFIX): run run-graphic-$(RUNSUFFIX): run-graphic @@ -235,6 +242,9 @@ run-monitor-$(RUNSUFFIX): run-monitor run-gdb-$(RUNSUFFIX): run-gdb run-gdb-graphic-$(RUNSUFFIX): run-gdb-graphic run-gdb-console-$(RUNSUFFIX): run-gdb-console +run-gdb-paused-$(RUNSUFFIX): run-gdb-paused +run-gdb-paused-graphic-$(RUNSUFFIX): run-gdb-paused-graphic +run-gdb-paused-console-$(RUNSUFFIX): run-gdb-paused-console # Kill all my qemus kill: