Added debug settings for qemu

This commit is contained in:
lucic71 2022-06-28 19:40:51 +03:00
parent 641e88ba98
commit 9605fbc1e4
1 changed files with 5 additions and 1 deletions

View File

@ -2,4 +2,8 @@
set -e
. ./iso.sh
qemu-system-$(./target-triplet-to-arch.sh $HOST) -cdrom os.iso
if [ "$1" = "debug" ]; then
qemu-system-$(./target-triplet-to-arch.sh $HOST) -s -S -cdrom os.iso
else
qemu-system-$(./target-triplet-to-arch.sh $HOST) -cdrom os.iso
fi