From nobody@FreeBSD.org  Sat Dec  8 02:10:27 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CE75F16A420
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <alex.kovalenko@verizon.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] add setting required to run GDB over dcons to the man page
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 02:20:01 UTC 2007
>Closed-Date:    Sat Jan 26 06:51:22 UTC 2008
>Last-Modified:  Sat Jan 26 07:00:02 UTC 2008
>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:
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Sat Jan 26 06:50:27 UTC 2008 
State-Changed-Why:  
Patch applied to CURRENT, thanks for the submission! 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Sat Jan 26 06:50:27 UTC 2008 
Responsible-Changed-Why:  
Over to me, MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118490 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/118490: commit references a PR
Date: Sat, 26 Jan 2008 06:50:19 +0000 (UTC)

 trhodes     2008-01-26 06:50:14 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man4       dcons.4 
   Log:
   Catch up with revision 1.18 of dcons_os.c and add an example of how to use
   dcons(4) as a valid gdb port.
   
   PR:             118490
   Submitted by:   Alexandre Kovalenko <alex.kovalenko@verizon.net>
   
   Revision  Changes    Path
   1.12      +12 -1     src/share/man/man4/dcons.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
