From owner-freebsd-doc@FreeBSD.ORG Sat Dec 8 02:20:02 2007 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 5750116A41B for ; Sat, 8 Dec 2007 02:20:02 +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 3772913C469 for ; Sat, 8 Dec 2007 02:20:02 +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 lB82K1t7032504 for ; Sat, 8 Dec 2007 02:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lB82K1lL032503; Sat, 8 Dec 2007 02:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 8 Dec 2007 02:20:01 GMT Resent-Message-Id: <200712080220.lB82K1lL032503@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, Alexandre Kovalenko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE75F16A420 for ; Sat, 8 Dec 2007 02:10:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id BE98C13C44B for ; Sat, 8 Dec 2007 02:10:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lB82AKhj085099 for ; Sat, 8 Dec 2007 02:10:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lB82AKnD085098; Sat, 8 Dec 2007 02:10:20 GMT (envelope-from nobody) Message-Id: <200712080210.lB82AKnD085098@www.freebsd.org> Date: Sat, 8 Dec 2007 02:10:20 GMT From: Alexandre Kovalenko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/118490: [patch] add setting required to run GDB over dcons to the man page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2007 02:20:02 -0000 >Number: 118490 >Category: docs >Synopsis: [patch] add setting required to run GDB over dcons to the man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Dec 08 02:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Alexandre Kovalenko >Release: 7.0-BETA3 >Organization: Home >Environment: FreeBSD RabbitsDen.RabbitsLawn.verizon.net 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Sat Dec 1 12:05:44 EST 2007 root@RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60 i386 >Description: Starting with this commit http://lists.freebsd.org/pipermail/cvs-src/2007-June/079563.html it is mandatory to set dcons_gdb="1" in the loader.conf to make dcons the valid GDB port. I have added this fact to the examples portion of the dcons(4) man page. >How-To-Repeat: >Fix: Patch attached with submission follows: --- share/man/man4/dcons.4.ORIG 2007-12-07 20:56:02.000000000 -0500 +++ share/man/man4/dcons.4 2007-12-07 21:02:29.000000000 -0500 @@ -87,6 +87,16 @@ dcons "/usr/libexec/getty std.9600" vt100 on secure .Ed .Pp +If you want to use +.Xr dcons 4 +as +.Xr gdb 1 +port, add the following line to your +.Xr loader.conf 5 +.Bd -literal -offset indent +dcons_gdb="1" +.Ed +.Pp Once the .Xr fwohci 4 device is initialized to allow physical access, >Release-Note: >Audit-Trail: >Unformatted: