diff --git a/tools/qemu.mk b/tools/qemu.mk index 284f6c4..af6fbff 100644 --- a/tools/qemu.mk +++ b/tools/qemu.mk @@ -59,7 +59,7 @@ kvm: all # Execute Qemu with activated GDB stub and directly connect GDB to the spawned Qemu. gdb: all - ${VERBOSE} $(GDB) "$(DBGKERNEL)" \ + ${VERBOSE} cgdb -d $(GDB) "$(DBGKERNEL)" \ -ex "set arch $(DBGARCH)" \ -ex "target remote | exec $(QEMU) -gdb stdio $(QEMUKERNEL) -smp $(QEMUCPUS) -S $(QEMUFLAGS) $(DBGFLAGS)"