From edwin@cgmd76206.chello.nl  Fri Apr 20 02:40:56 2001
Return-Path: <edwin@cgmd76206.chello.nl>
Received: from cgmd76206.chello.nl (d9168.upc-d.chello.nl [213.46.9.168])
	by hub.freebsd.org (Postfix) with ESMTP id F1DA637B43E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Apr 2001 02:40:55 -0700 (PDT)
	(envelope-from edwin@cgmd76206.chello.nl)
Received: by cgmd76206.chello.nl (Postfix, from userid 1001)
	id DACA5236; Fri, 20 Apr 2001 11:40:54 +0200 (CEST)
Message-Id: <20010420094054.DACA5236@cgmd76206.chello.nl>
Date: Fri, 20 Apr 2001 11:40:54 +0200 (CEST)
From: edwin@mavetju.org
Reply-To: edwin@mavetju.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] FreeBSD Developers' Handbook: dumping core
X-Send-Pr-Version: 3.2

>Number:         26728
>Category:       docs
>Synopsis:       [patch] FreeBSD Developers' Handbook: dumping core
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 20 02:50:01 PDT 2001
>Closed-Date:    Fri Apr 20 05:10:20 PDT 2001
>Last-Modified:  Fri Apr 20 05:10:50 PDT 2001
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
-
>Environment:

    $FreeBSD: doc/en_US.ISO_8859-1/books/developers-handbook/tools/chapter.sgml,v 1.3 2001/04/09 09:26:16 nik Exp $

>Description:

    The FreeBSD Developers' Handbook talks about one way of dumping
    core, but there are two more possible ways to do it.

>How-To-Repeat:

    n/a

>Fix:
--- chapter.sgml.old    Fri Apr 20 11:25:12 2001
+++ chapter.sgml        Fri Apr 20 11:37:15 2001
@@ -978,6 +978,16 @@
              infinite loop, for instance.  If your program happens to
              trap <symbol>SIGABRT</symbol>, there are several other
              signals which have a similar effect.</para>
+
+           <para>If you want to create a core dump from inside
+             your program, you can call the abort() function. See
+             the man page of abort(3) about this.</para>
+
+           <para>If you want to create a core dump from outside
+             your program, but doesn't want it to end, you can
+             use the gcore program. See the man page of gcore(1)
+             about this.</para>
+
          </answer>
        </qandaentry>
       </qandaset>

	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Fri Apr 20 05:10:20 PDT 2001 
State-Changed-Why:  
Committed with slight modifications, thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=26728 
>Unformatted:
