Merge "gdbrunner: Make sure remote lldb-server has +x" am: d9150d3841 am: dfd57730f1
Original change: https://android-review.googlesource.com/c/platform/development/+/2248094 Change-Id: I305ed46c8718ed566584f887e555e94865047cc3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -171,6 +171,10 @@ def start_gdbserver(device, gdbserver_local_path, gdbserver_remote_path,
|
||||
# Push gdbserver to the target.
|
||||
if gdbserver_local_path is not None:
|
||||
device.push(gdbserver_local_path, chroot + gdbserver_remote_path)
|
||||
# If the user here is potentially on Windows, adb cannot inspect execute
|
||||
# permissions. Since we don't know where the users are, chmod
|
||||
# gdbserver_remote_path on device regardless.
|
||||
device.shell(["chmod", "+x", gdbserver_remote_path])
|
||||
|
||||
# Run gdbserver.
|
||||
gdbserver_cmd = [gdbserver_remote_path]
|
||||
|
||||
Reference in New Issue
Block a user