Merge "Fix gdbserver path in gdbclient.py"

am: d328a9c301

Change-Id: I8e0485503d179d189719ce419f8b409325e06e88
This commit is contained in:
Haibo Huang
2019-03-26 16:10:09 -07:00
committed by android-build-merger

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):