multi-process debug under Linux

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 #
相關文章
相關標籤/搜索