Merge "gdbrunner: Make sure remote lldb-server has +x"
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