From owner-freebsd-hackers Tue Aug 8 22:24:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 976CD37B9FA for ; Tue, 8 Aug 2000 22:24:33 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustident!@homer.softweyr.com [204.68.178.39]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id XAA02699; Tue, 8 Aug 2000 23:23:58 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <3990EC39.8D12BE22@softweyr.com> Date: Tue, 08 Aug 2000 23:29:29 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.1-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: andrew@ugh.net.au Cc: Nicolas Leonard , hackers@FreeBSD.ORG Subject: Re: How to generate a core dump explicily References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG andrew@ugh.net.au wrote: > > On Tue, 8 Aug 2000, Nicolas Leonard wrote: > > > I would like to generate a core dump 'explicitly' in > > my program. How can that be done ? > > Call abort(3) If you want to coredump it "interactively", hit your QUIT character (usually ^\). To do the same from another tty, or to a background or daemon process, send it a QUIT signal with kill(1). -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message