gdb 调试 设置core在 ~/.bashrc加入一句 ulimit -c unlimited
ulimit -c unlimited
调试gdb test core
转载于:https://www.cnblogs.com/liushuhe1990/p/9609089.html