Skip to content

Commit 58c85a7

Browse files
committed
ndk-gdb.py: fix adb forward path.
It turns out that forwarding a port to '/data/local/tmp\debug_socket' doesn't work. Bug: #46 Change-Id: I7d511681f51fc5c4f4672b670a0e40932031477d (cherry picked from commit cdb472c)
1 parent 7ce5315 commit 58c85a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ndk-gdb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ def main():
655655
zygote_path = os.path.join(out_dir, "system", "bin", "app_process")
656656

657657
# Start gdbserver.
658-
debug_socket = os.path.join(app_data_dir, "debug_socket")
658+
debug_socket = posixpath.join(app_data_dir, "debug_socket")
659659
log("Starting gdbserver...")
660660
gdbrunner.start_gdbserver(
661661
device, None, gdbserver_path,

0 commit comments

Comments
 (0)