Merge "Fix gdbserver path in gdbclient.py"

This commit is contained in:
Haibo Huang
2019-03-26 21:59:03 +00:00
committed by Gerrit Code Review

View File

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