Work around an lldb bug with "localhost".

Bug: http://b/234034124
Test: reputed to work
Change-Id: I3414201712ffe0f808899e2a2f206e813bb609a7
This commit is contained in:
Elliott Hughes
2022-06-14 17:59:32 -07:00
parent c38fa6eb0a
commit fc6da790d9

View File

@@ -317,7 +317,8 @@ def do_main():
if ":" in device.serial: if ":" in device.serial:
host = device.serial.split(":")[0] host = device.serial.split(":")[0]
else: else:
host = "localhost" # lldb is broken with "localhost" right now (http://b/234034124)
host = "127.0.0.1"
root = os.environ["ANDROID_BUILD_TOP"] root = os.environ["ANDROID_BUILD_TOP"]
sysroot = os.path.join(os.environ["ANDROID_PRODUCT_OUT"], "symbols") sysroot = os.path.join(os.environ["ANDROID_PRODUCT_OUT"], "symbols")