Skip to content

Commit

Permalink
ndk-gdb.py: fix gdbserver prebuilt path.
Browse files Browse the repository at this point in the history
Bug: #3
Change-Id: If10d278c4d4fbf97735227c520e09ef0036741be
(cherry picked from commit bdd35c7)
  • Loading branch information
jmgao committed Mar 11, 2016
1 parent c69a2fa commit f495f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndk-gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f495f7e

Please sign in to comment.