This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Core dumps
- From: Larry Martell <larry at software-horizons dot com>
- To: Russell Shaw <rjshaw at netspace dot net dot au>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 11 Jan 2006 06:39:49 -0800 (PST)
- Subject: Re: Core dumps
- Reply-to: larry at software-horizons dot com
--- Russell Shaw <rjshaw@netspace.net.au> wrote:
> Eli Zaretskii wrote:
> >>Date: Wed, 11 Jan 2006 12:52:18 +1100
> >>From: Russell Shaw <rjshaw@netspace.net.au>
> >>Cc: gdb@sources.redhat.com
> >>
> >>>Doesn't a SIGABRT (kill -6) force a core dump?
> >>
> >>I put this in my own code, but it still doesn't
> make a
> >>core file:
> >>
> >> printf("Aborting...\n");
> >> raise(6);
> >
> > Probably because your shell's init file(s) specify
> that the limit on
> > core files is zero bytes. Use `ulimit' to change
> that to `unlimited'.
>
> $russell@home~: ulimit
> $unlimited
>
> What else can i try?
ulimit -c unlimited