Add a make qemu mode to allow attaching gdb without waiting for it

This way you can unconditionally enable this mode during development
without being forced to attach a debugger every time you start a VM.
This commit is contained in:
bjorn3 2025-08-24 18:56:39 +02:00
parent 716cca1b4e
commit 16e98e3f28

View File

@ -272,6 +272,9 @@ endif
ifeq ($(gdb),yes)
QEMUFLAGS+=-d cpu_reset -s -S
else ifeq ($(gdb),nonblock)
# Allow attaching gdb, but don't block for it
QEMUFLAGS+=-d cpu_reset -s
endif
ifeq ($(UNAME),Linux)