From 9d8e700fc62826ec7b2eb3e34673136d47b2a3a5 Mon Sep 17 00:00:00 2001 From: Enrico Fraccaroli Date: Sat, 11 Dec 2021 16:51:46 +0100 Subject: [PATCH] Make the shell where qemu is running in debug wait. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 212a6a8..3b10c7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,7 @@ set(EMULATOR_FLAGS_GDB ${EMULATOR_FLAGS} -s -S) add_custom_target( qemu-gdb - COMMAND ${EMULATOR} ${EMULATOR_FLAGS_GDB} ${EMULATOR_KERNEL} ${EMULATOR_FS} & + COMMAND ${EMULATOR} ${EMULATOR_FLAGS_GDB} ${EMULATOR_KERNEL} ${EMULATOR_FS} COMMAND echo "\n\n" COMMAND echo "Now, QEMU has loaded the kernel, and it is waiting that you remotely connect to it." COMMAND echo "To start debugging, open a new shell in THIS same folder, and just type \"gdb\"!"