darmie / ios-toolchain-based-on-clang-for-linux

Automatically exported from code.google.com/p/ios-toolchain-based-on-clang-for-linux
11 stars 3 forks source link

unable to launch debugserver for iOS 6.x #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install debugserver for iOS 6.x as described in [HowTo_en] wiki page
2. Launch it with command $/Developer/usr/bin/debugserver 1000 
/Applications/<Some>.app/<Some binary>

What is the expected output? What do you see instead?
Expected: debug server launched & wait for gdb attaching.
Instead i see:
debugserver-189 for armv7.
Usage:
  debugserver host:port [program-name program-arg1 program-arg2 ...]
  debugserver /path/file [program-name program-arg1 program-arg2 ...]
  debugserver host:port --attach=<pid>
  debugserver /path/file --attach=<pid>
  debugserver host:port --attach=<process_name>
  debugserver /path/file --attach=<process_name>

I'm tried to specify args in host:port format, but got this error message:
debugserver-189 for armv7.
error: failed to launch process /Applications/HelloWorld.app/HelloWorld: failed 
to get the task for process 3921

What version of the product are you using? On what operating system?
gdbserver from this link: 
https://ios-toolchain-based-on-clang-for-linux.googlecode.com/files/debugserver-
for-ios-6.x.tar.xz on iOS 6.1

Please provide any additional information below.
Documentation is unclear: which version of debugserver should i use?
It should correspond to iOS version installed on device or iOS SDK used?

Original issue reported on code.google.com by djd...@gmail.com on 9 Oct 2013 at 11:33