Merge "Fix gdbserver path in gdbclient.py" am: d328a9c301

am: 80db2e200a

Change-Id: I5d06211465fb147c149d8b30fedc98890b9e1647
This commit is contained in:
Haibo Huang
2019-03-26 17:06:16 -07:00
committed by android-build-merger

View File

@@ -29,11 +29,11 @@ import textwrap
import gdbrunner
def get_gdbserver_path(root, arch):
path = "{}/prebuilts/misc/android-{}/gdbserver{}/gdbserver{}"
path = "{}/prebuilts/misc/gdbserver/android-{}/gdbserver{}"
if arch.endswith("64"):
return path.format(root, arch, "64", "64")
return path.format(root, arch, "64")
else:
return path.format(root, arch, "", "")
return path.format(root, arch, "")
def get_tracer_pid(device, pid):