Do strace have debug symbols?
[root@xxx~]# which strace
/usr/bin/strace
I want to debug how it actually works,but can't find its debug symbols,whe开发者_运维问答re is it?
Programs shipped in Linux distributions do not usually have debug symbols in the executables (they are sometimes in a separate file that can be downloaded). You can get the source code here, though, and compile it with debug symbols.
精彩评论