public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* generating core dumps
@ 2003-01-06 13:21 Inderjeet Saggu
  2003-01-06 15:19 ` Phil Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Inderjeet Saggu @ 2003-01-06 13:21 UTC (permalink / raw)
  To: gcc

Hi,

	I searched your web site for the answer to this silly question without
success.

	I am using GCC for C code application. First application is starting the
2nd application using fork() and execl(). The 2nd application crashes with
"No core dump". How do I make the 2nd application crash with core dump which
I can examine under the ddd.

	I have been searching under the compiler options and found nothing. Your
guidance would be appreciated.

Thanks
saggu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: generating core dumps
  2003-01-06 13:21 generating core dumps Inderjeet Saggu
@ 2003-01-06 15:19 ` Phil Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Edwards @ 2003-01-06 15:19 UTC (permalink / raw)
  To: Inderjeet Saggu; +Cc: gcc

On Mon, Jan 06, 2003 at 07:57:30AM -0500, Inderjeet Saggu wrote:
> 	I have been searching under the compiler options and found nothing.

That's because the compiler has nothing to do with it.  :-)

Whether a process can generate a core dump is controlled by resource limits.
The commands to examine and change resource limits depend on what shell
you use; for sh-family, use "ulimit", and for csh-family, use "limit".

For more information, read the man page for your shell, or ask your system
administrator.  Many sysadmins turn off core dumps to save on diskspace,
because many users don't know what they are and forget to delete them.

Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-06 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06 13:21 generating core dumps Inderjeet Saggu
2003-01-06 15:19 ` Phil Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).