Re: Core dumps

Russell Shaw
2006-01-11T01:52:25Z

Larry Martell wrote:
> --- Russell Shaw <rjshaw@netspace.net.au> wrote:
>
>>What's the best way to force a core-dump from my own
>>code?
>>(I couldn't find much on the net)
>
> 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);

I'm using debian-sid on a PC.