Date: Wed, 06 Dec 2006 11:33:34 -0800 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-hackers@freebsd.org Subject: Re: Forcing C program to core dump Message-ID: <45771B0E.7090907@u.washington.edu> In-Reply-To: <457713C8.6020204@u.washington.edu> References: <457713C8.6020204@u.washington.edu>
index | next in thread | previous in thread | raw e-mail
Garrett Cooper wrote:
> Hello,
> This may be obvious to some, but after some Googling (apparently
> with the wrong search terms, perhaps) and reading the gcc/gdb
> manpages, I can't seem to find out how to get a program to produce
> core dumps.
> So I was wondering, is there some simple means to produce core
> dumps or a set of conditions that I need to adhere to in order to get
> the OS to core dump the progrdam???
> Thanks,
> -Garrett
>
Did a bit more poking around and determined how to do it. It wasn't
core dumping because I didn't set the maximum limit for the coredump
size to unlimited ("ulimit -c unlimited").
Good page about this topic:
<http://linuxfocus.berlios.de/English/July2004/article343.shtml>.
-Garrett
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45771B0E.7090907>
