From owner-freebsd-hackers Tue Aug 15 22:20:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200]) by hub.freebsd.org (Postfix) with SMTP id 3101937C01E for ; Tue, 15 Aug 2000 22:20:08 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 1991266 invoked from network); 16 Aug 2000 05:20:06 -0000 Received: from r227m167.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.227.167]) (envelope-sender ) by camus.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 16 Aug 2000 05:20:06 -0000 Received: (from root@localhost) by gits.dyndns.org (8.9.3/8.9.3) id HAA39848; Wed, 16 Aug 2000 07:20:05 +0200 (CEST) (envelope-from root) From: Cyrille Lefevre Message-Id: <200008160520.HAA39848@gits.dyndns.org> Subject: Re: How to generate a core dump explicily To: wes@softweyr.com Date: Wed, 16 Aug 2000 07:20:05 +0200 (CEST) Cc: andrew@ugh.net.au, nicolas.leonard@animaths.com, freebsd-hackers@FreeBSD.ORG Reply-To: clefevre@cybercable.fr Mail-Copies-To: never Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wes Peters writes: > 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). also, man gcore Cyrille. -- home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message