Fix gdbserver path in gdbclient.py

gdbserver is moved in aosp/932459

Test: run gdbclient.py
Change-Id: Ia8cedfc994556bc1019649d15c91a505bdbf6dff
This commit is contained in:
Haibo Huang
2019-03-26 13:57:32 -07:00
parent fd08ad980e
commit 931cd0b237

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