commit | 22e9c50ec0ec8f8ac654e4fc1c9bdf508c309bab | [log] [tgz] |
---|---|---|
author | Edward Liaw <edliaw@google.com> | Wed Apr 06 22:23:50 2022 +0000 |
committer | Edward Liaw <edliaw@google.com> | Thu Apr 07 00:46:07 2022 +0000 |
tree | d6fc34279c419642df9a61d5edbee19335548ba1 | |
parent | 721e4ba29e0660280dac88672243dfbd03aa0544 [diff] |
gdbclient: use host ip when connecting to gdb When the device is not on localhost, gdbclient won't connect to it properly. If the serial is a tcp address, parse the host and pass that to gdb-remote. Bug: 228371506 Test: gdbclient.py -r /system/bin/ls /bin Change-Id: I635d4bdc483a66ab908f5aa02aa94e2504976a45