Fix gdbserver path in gdbclient.py
gdbserver is moved in aosp/932459
Test: run gdbclient.py
Change-Id: Ia8cedfc994556bc1019649d15c91a505bdbf6dff
diff --git a/scripts/gdbclient.py b/scripts/gdbclient.py
index e612f3b..a96aaa8 100755
--- a/scripts/gdbclient.py
+++ b/scripts/gdbclient.py
@@ -29,11 +29,11 @@
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):