core文件用于gdb调试比较有用
你可以用
ulimit -a
看一下core file size
如果是0,
可以用ulimit -c unlimited
来指定大小不限,
或者指定固定的大小

http://blog.csdn.net/oyangyufu/article/details/6362798

http://cs.baylor.edu/~donahoo/tools/gdb/tutorial.html

 采用automake方式时,

要在makefile.am中加入:xx_LDFLAGS=-static-libtool-libs

然后make clean && make DEBUG=y

file xx

ldd xx

type ./xx

posted on 2012-07-23 20:39  finallyly  阅读(249)  评论(0编辑  收藏  举报