diff options
author | Elliott Hughes <enh@google.com> | 2022-06-14 17:59:32 -0700 |
---|---|---|
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | 2022-06-15 15:20:48 +0000 |
commit | bc119c289844a685c271c646eff491e7e8110d6d (patch) | |
tree | 9d9b7a8a0cf6ab89a8092344dc3f046cc004b390 | |
parent | 5708cfea1c10602c9454080e47e8a81f069e9663 (diff) | |
download | development-bc119c289844a685c271c646eff491e7e8110d6d.tar.gz |
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
-rwxr-xr-x | scripts/gdbclient.py | 3 |
1 files changed, 2 insertions, 1 deletions
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") |