diff options
Diffstat (limited to 'cmake/run.cmake')
-rw-r--r-- | cmake/run.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cmake/run.cmake b/cmake/run.cmake index 60f19d1..eff08a1 100644 --- a/cmake/run.cmake +++ b/cmake/run.cmake @@ -42,3 +42,18 @@ add_custom_target(run-gdb DEPENDS iso USES_TERMINAL ) + +add_custom_target(run-debug + ${QEMU_SYSTEM_CMD} + ${QEMU_ARGUMENTS} + -serial stdio + -no-reboot + -no-shutdown + -d int + -M smm=off + + ${IGNORE_EXIT} + + DEPENDS iso + USES_TERMINAL +) |