Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2000 23:29:29 -0600
From:      Wes Peters <wes@softweyr.com>
To:        andrew@ugh.net.au
Cc:        Nicolas Leonard <nicolas.leonard@animaths.com>, hackers@FreeBSD.ORG
Subject:   Re: How to generate a core dump explicily
Message-ID:  <3990EC39.8D12BE22@softweyr.com>
References:  <Pine.BSF.4.21.0008091206450.16452-100000@starbug.ugh.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3990EC39.8D12BE22>