From f495f7e36a79c5fa7280c2e083295ddf576cb60a Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Thu, 10 Mar 2016 16:00:03 -0800 Subject: [PATCH] ndk-gdb.py: fix gdbserver prebuilt path. Bug: https://github.com/android-ndk/ndk/issues/3 Change-Id: If10d278c4d4fbf97735227c520e09ef0036741be (cherry picked from commit bdd35c7ce2fb95114a91ed00b725d910128b7f6f) --- ndk-gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndk-gdb.py b/ndk-gdb.py index d83f4f130..cb6d12aa7 100755 --- a/ndk-gdb.py +++ b/ndk-gdb.py @@ -417,7 +417,7 @@ def get_gdbserver_path(args, package_name, app_data_dir, arch): # We need to upload our gdbserver log("App gdbserver not found at {}, uploading.".format(app_gdbserver_path)) - local_path = "{}/gdbserver/{}/gdbserver" + local_path = "{}/prebuilt/android-{}/gdbserver/gdbserver" local_path = local_path.format(NDK_PATH, arch) remote_path = "/data/local/tmp/{}-gdbserver".format(arch) args.device.push(local_path, remote_path)