From 931cd0b237f3d10370c8f59dee473a3fb48dd8dc Mon Sep 17 00:00:00 2001 From: Haibo Huang Date: Tue, 26 Mar 2019 13:57:32 -0700 Subject: [PATCH] Fix gdbserver path in gdbclient.py gdbserver is moved in aosp/932459 Test: run gdbclient.py Change-Id: Ia8cedfc994556bc1019649d15c91a505bdbf6dff --- scripts/gdbclient.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gdbclient.py b/scripts/gdbclient.py index e612f3bc6..a96aaa885 100755 --- a/scripts/gdbclient.py +++ b/scripts/gdbclient.py @@ -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):