diff options
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-x | Meta/run.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Meta/run.sh b/Meta/run.sh index 8f0a3fe3b0..413d262946 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -76,9 +76,13 @@ else SERENITY_QEMU_DISPLAY_DEVICE="VGA,vgamem_mb=64 " fi +if [ -z "$SERENITY_DISABLE_GDB_SOCKET" ]; then + SERENITY_EXTRA_QEMU_ARGS="$SERENITY_EXTRA_QEMU_ARGS -s" +fi + [ -z "$SERENITY_COMMON_QEMU_ARGS" ] && SERENITY_COMMON_QEMU_ARGS=" $SERENITY_EXTRA_QEMU_ARGS --s -m $SERENITY_RAM_SIZE +-m $SERENITY_RAM_SIZE -cpu $SERENITY_QEMU_CPU -d guest_errors -smp 2 @@ -101,7 +105,7 @@ $SERENITY_EXTRA_QEMU_ARGS [ -z "$SERENITY_COMMON_QEMU_Q35_ARGS" ] && SERENITY_COMMON_QEMU_Q35_ARGS=" $SERENITY_EXTRA_QEMU_ARGS --s -m $SERENITY_RAM_SIZE +-m $SERENITY_RAM_SIZE -cpu $SERENITY_QEMU_CPU -machine q35 -d guest_errors @@ -192,7 +196,7 @@ elif [ "$SERENITY_RUN" = "ci" ]; then echo "Running QEMU in CI" "$SERENITY_QEMU_BIN" \ $SERENITY_EXTRA_QEMU_ARGS \ - -s -m $SERENITY_RAM_SIZE \ + -m $SERENITY_RAM_SIZE \ -cpu $SERENITY_QEMU_CPU \ -d guest_errors \ -smp 2 \ |