multi-process debug under Linux
2008-01-25 13:31:54
1> follow-fork-mode usage: set follow-fork-mode precondition: kernel version > 2.5.60 2> attach sub-process ps -ef | grep yourprocess 3> GDB wrapper the bin file: test # mv test test.bin # cat > test #!/bin/sh export DISPLAY=yourIP:0.0; xterm -e gdb tet.bin ^D # 本文出自 51CTO.COM技术博客 |


chilison
博客统计信息
热门文章
最新评论
友情链接