free(-1); even.

If you are unfamiliar with "limits" others are talking about:

$ ulimit -c unlimited

and when done

$ ulimit -c 0

On Thu, 28 Aug 2014 08:39 Wolfgang Lux <[email protected]> wrote:

> Am 28.08.2014 um 00:58 schrieb Andreas Höschler:
>
> > I am tracking a very hard to catch problem and therefore would like to
> purposely create a core dump via a piece of code in my program when the
> problem reoccurs (might take days or weeks). What line of code can I
> include in my GNUstep Objective-C program to create a core dump on purpose?
> Any idea?
>
>   abort();
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to