gdb ExeName (gdb)core core.xx (gdb)bt core dump 一般是在segmentation fault(段错误)的情况下产生的文件,需要通过ulimit来设置才会得到的。