Skip to content

Commit 08527e7

Browse files
Athosvkdvc94ch
authored andcommitted
Chmod lldb server so it can be ran after copy
1 parent 7c381fb commit 08527e7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

xbuild/src/devices/adb.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,17 @@ impl Adb {
302302
.arg("700")
303303
.arg(&dest)
304304
.status()?;*/
305+
let lldb_device_path = Path::new("./lldb-server");
305306
let mut lldb_server = self
306307
.shell(device, None)
307308
.arg("cd")
308309
.arg("/data/local/tmp")
309310
.arg("&&")
310-
.arg("./lldb-server")
311+
.arg("chmod")
312+
.arg("777")
313+
.arg(lldb_device_path)
314+
.arg("&&")
315+
.arg(lldb_device_path)
311316
.arg("platform")
312317
.arg("--listen")
313318
.arg("*:10086")

0 commit comments

Comments
 (0)