From 3287aa20b12ef83b0dd70b201fc45731ed07e6f7 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 14 Nov 2022 15:56:33 +0100 Subject: [PATCH] Meta: Don't try to enable GDB support on Windows This probably didn't work before either but the option was silently ignored by GDB. Unfortunately 7.2.0-rc0 isn't so kind. --- Meta/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Meta/run.sh b/Meta/run.sh index 6d33482dc53..68775dac675 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -238,6 +238,10 @@ if [ -z "$SERENITY_HOST_IP" ]; then SERENITY_HOST_IP="127.0.0.1" fi +if command -v wslpath >/dev/null; then + SERENITY_DISABLE_GDB_SOCKET=1 +fi + if [ -z "$SERENITY_DISABLE_GDB_SOCKET" ]; then SERENITY_EXTRA_QEMU_ARGS="$SERENITY_EXTRA_QEMU_ARGS -gdb tcp:${SERENITY_HOST_IP}:1234" fi