Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I was using built-in strace given in /system/xbin/ directory in the emulator and it was giving me wrong set of system calls such as msgget() and msgrecv() which are not supported by Android even.

I downloaded a new strace4.7 from Source Forge and built with the instructions given at this link. Then I pushed it to /system/xbin/ directory after remounting adb. Now when I run

strace -p <myPID>

It gives me this error:

trace: 2: Syntax error: "&" unexpected

I have looked on the internet but nobody seems to have the same problem. Any idea where should I start debugging from or any other suggestion would be highly appreciated.

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.