summaryrefslogtreecommitdiff
path: root/Meta/debug-kernel.sh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-04-19 14:39:57 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-20 14:12:34 +0200
commitec6016fa2c4751f8657aa328a5889bd0ee3b83df (patch)
tree1c0f9e03384b4a459a4ef97fd780691040cd13e7 /Meta/debug-kernel.sh
parent1878488c0436bd2fc18b8abbc71b150408b9edfa (diff)
downloadserenity-ec6016fa2c4751f8657aa328a5889bd0ee3b83df.zip
Meta: Allow setting a host IP address to bind to
Diffstat (limited to 'Meta/debug-kernel.sh')
-rwxr-xr-xMeta/debug-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh
index b700ccf940..897a6feec0 100755
--- a/Meta/debug-kernel.sh
+++ b/Meta/debug-kernel.sh
@@ -45,7 +45,7 @@ fi
if command -v wslpath >/dev/null; then
gdb_host=$(powershell.exe "(Test-Connection -ComputerName (hostname) -Count 1).IPV4Address.IPAddressToString" | tr -d '\r\n')
else
- gdb_host=localhost
+ gdb_host=${SERENITY_HOST_IP:-127.0.0.1}
fi