Skip to content

Commit

Permalink
ndk-gdb.py: fix adb forward path.
Browse files Browse the repository at this point in the history
It turns out that forwarding a port to '/data/local/tmp\debug_socket'
doesn't work.

Bug: #46
Change-Id: I7d511681f51fc5c4f4672b670a0e40932031477d
  • Loading branch information
jmgao committed Mar 26, 2016
1 parent aa605ad commit cdb472c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndk-gdb.py
Expand Up @@ -655,7 +655,7 @@ def main():
zygote_path = os.path.join(out_dir, "system", "bin", "app_process")

# Start gdbserver.
debug_socket = os.path.join(app_data_dir, "debug_socket")
debug_socket = posixpath.join(app_data_dir, "debug_socket")
log("Starting gdbserver...")
gdbrunner.start_gdbserver(
device, None, gdbserver_path,
Expand Down

0 comments on commit cdb472c

Please sign in to comment.