From 9605fbc1e40d45799e9f60e1783e9dfabd5332e2 Mon Sep 17 00:00:00 2001 From: lucic71 Date: Tue, 28 Jun 2022 19:40:51 +0300 Subject: [PATCH] Added debug settings for qemu --- qemu.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qemu.sh b/qemu.sh index 238371d..e7e36b2 100755 --- a/qemu.sh +++ b/qemu.sh @@ -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