From bc119c289844a685c271c646eff491e7e8110d6d Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 14 Jun 2022 17:59:32 -0700 Subject: Work around an lldb bug with "localhost". Bug: http://b/234034124 Test: reputed to work Change-Id: I3414201712ffe0f808899e2a2f206e813bb609a7 (cherry picked from commit fc6da790d902e6985aba2937d4f2ddd044388e33) Merged-In: I3414201712ffe0f808899e2a2f206e813bb609a7 --- scripts/gdbclient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gdbclient.py b/scripts/gdbclient.py index 83c948afd..8c4262dd8 100755 --- a/scripts/gdbclient.py +++ b/scripts/gdbclient.py @@ -317,7 +317,8 @@ def do_main(): if ":" in device.serial: host = device.serial.split(":")[0] else: - host = "localhost" + # lldb is broken with "localhost" right now (http://b/234034124) + host = "127.0.0.1" root = os.environ["ANDROID_BUILD_TOP"] sysroot = os.path.join(os.environ["ANDROID_PRODUCT_OUT"], "symbols") -- cgit v1.2.3