Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 16:41:46 +0200
From:      "Nicolas Leonard" <nicolas.leonard@animaths.com>
To:        "Samuel Tardieu" <sam@inf.enst.fr>
Cc:        <hackers@freebsd.org>
Subject:   Re: How to generate a core dump explicily
Message-ID:  <011301c00146$c709f170$0f0210ac@masa.com>
References:  <00f101c00140$2a4b5a50$0f0210ac@masa.com> <2000-08-08-15-56-50%2Btrackit%2Bsam@inf.enst.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I wasn't precise enough .

In fact, I caught the SIGABRT signal (and the others signals which are
ending the program)
and I'm doing some ending stuff, and after that, I would like to dump a core
file.

I could remove the handler of SIGABRT after my ending suff done, and kill
myself another
time, but I would like to know if it's possible to dump the core explicitly.
(With a dumpcore()
function or whatever )



----- Message d'origine -----
De : Samuel Tardieu <sam@inf.enst.fr>
À : Nicolas Leonard <nicolas.leonard@animaths.com>
Cc : <hackers@freebsd.org>
Envoyé : mardi 8 août 2000 15:56
Objet : Re: How to generate a core dump explicily


> On  8/08, Nicolas Leonard wrote:
>
> | I would like to generate a core dump 'explicitly'  in
> | my program. How can that be done ?
>
> Use abort(3).
>
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?011301c00146$c709f170$0f0210ac>