Make the shell where qemu is running in debug wait.

This commit is contained in:
Enrico Fraccaroli
2021-12-11 16:51:46 +01:00
parent 1df4d8748f
commit 9d8e700fc6
+1 -1
View File
@@ -152,7 +152,7 @@ set(EMULATOR_FLAGS_GDB ${EMULATOR_FLAGS} -s -S)
add_custom_target( add_custom_target(
qemu-gdb 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 "\n\n"
COMMAND echo "Now, QEMU has loaded the kernel, and it is waiting that you remotely connect to it." 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\"!" COMMAND echo "To start debugging, open a new shell in THIS same folder, and just type \"gdb\"!"