用gdb 先attach 上parent process (用gdb -p <pid>),. 執行到fork() 之後,可以看到gdb 預設是繼續debug parent process,. 而不會去debug fork 出來 ...
確定! 回上一頁