From owner-freebsd-doc@FreeBSD.ORG Fri May 30 16:20:10 2008 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A83D106564A for ; Fri, 30 May 2008 16:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 26C4C8FC1F for ; Fri, 30 May 2008 16:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4UGK4E9069912 for ; Fri, 30 May 2008 16:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4UGK4m1069911; Fri, 30 May 2008 16:20:04 GMT (envelope-from gnats) Resent-Date: Fri, 30 May 2008 16:20:04 GMT Resent-Message-Id: <200805301620.m4UGK4m1069911@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gabor PALI Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB905106564A for ; Fri, 30 May 2008 16:16:01 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA618FC27 for ; Fri, 30 May 2008 16:16:01 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: by fg-out-1718.google.com with SMTP id l26so178387fgb.35 for ; Fri, 30 May 2008 09:16:00 -0700 (PDT) Received: by 10.86.99.9 with SMTP id w9mr3681413fgb.70.1212164160287; Fri, 30 May 2008 09:16:00 -0700 (PDT) Received: from pgj@FreeBSD.org ( [80.99.205.120]) by mx.google.com with ESMTPS id c28sm2018358fka.4.2008.05.30.09.15.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 May 2008 09:15:59 -0700 (PDT) Received: by pgj@FreeBSD.org (sSMTP sendmail emulation); Fri, 30 May 2008 18:15:57 +0200 Message-Id: <4840283f.1c365e0a.6c72.ffffe0d2@mx.google.com> Date: Fri, 30 May 2008 18:15:57 +0200 From: "Gabor PALI" Sender: =?UTF-8?B?UMOBTEkgR8OhYm9yIErDoW5vcw==?= To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/124139: [patch] Fix References to gdb(1) in FAQ X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gabor PALI List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 16:20:10 -0000 >Number: 124139 >Category: docs >Synopsis: [patch] Fix References to gdb(1) in FAQ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri May 30 16:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gabor PALI >Release: FreeBSD 6.3-STABLE i386 >Organization: >Environment: System: FreeBSD disznohal 6.3-STABLE FreeBSD 6.3-STABLE #4: Fri Apr 4 23:29:43 CEST 2008 dezzy@disznohal:/usr/obj/usr/src/sys/GENERIC_ i386 >Description: References to gdb(1) are not marked up in the FreeBSD FAQ. They should be refer to the corresponding manual page as in the case of other basic commands. Here is a patch to fix this. >How-To-Repeat: >Fix: --- books.faq.patch.21.diff begins here --- Index: book.sgml =================================================================== RCS file: /doc/en_US.ISO8859-1/books/faq/book.sgml,v retrieving revision 1.827 diff -u -r1.827 book.sgml --- book.sgml 27 May 2008 23:51:07 -0000 1.827 +++ book.sgml 29 May 2008 03:20:55 -0000 @@ -3040,7 +3040,7 @@ What you should do: - In the first case you can use a debugger e.g. gdb to find + In the first case you can use a debugger e.g. &man.gdb.1; to find the point in the program which is attempting to access a bogus address and then fix it. @@ -8902,7 +8902,7 @@ make install. When &man.ppp.8; hangs, find the &man.ppp.8; process id with ps ajxww | fgrep ppp and run gdb ppp - PID. From the gdb + PID. From the gdb prompt, you can then use bt to get a stack trace. @@ -9331,7 +9331,7 @@ All of this information should be given alongside your question, making it possible to diagnose the problem. - If you are familiar with gdb, you may wish to find out some + If you are familiar with &man.gdb.1;, you may wish to find out some other bits and pieces such as what actually caused the dump and the addresses & values of the relevant variables. --- books.faq.patch.21.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: