我在家里学习GDB调试核心转储文件,请问OSX下的core dump文件会产生在哪?程序当前目录没看到有。ulimit -c unlimited 已打开。我使用了一个空指针,去引发core dump,成功了,我看到命令行提示“Segmentation fault: 11 (core dumped)”但就不知文件在哪,并且如何自定义它的存储位置?。
认证高级PHP讲师
To find the answer, you only need Google keywords mac os x core dump, the first answer is
mac os x core dump
Where are core dumps written in Mac OS X?
To find the answer, you only need Google keywords
mac os x core dump
, the first answer isWhere are core dumps written in Mac OS X?