From owner-freebsd-current Mon May 27 16: 5:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id A484B37B400 for ; Mon, 27 May 2002 16:05:55 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id JAA11044; Tue, 28 May 2002 09:05:48 +1000 Date: Tue, 28 May 2002 09:08:56 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Nick Hibma Cc: FreeBSD CURRENT Mailing List Subject: Re: New kernel option GDBSPEED (as in CONSPEED)? In-Reply-To: <20020527122123.L225-200000@heather.van-laarhoven.org> Message-ID: <20020528090713.R18266-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 27 May 2002, Nick Hibma wrote: > CONSPEED is used for both console and gdb. This is a bit awkward because > it means that I have to run my kernel console on 9600 baud on my > diskless box. The attached patch fixes this by introducing another > variable GDBSPEED. > > The patch makes the default for GDBSPEED 9600, so anyone who uses a > higher speed would need to set the variable to something sensible > afterwards. Would that require an entry in UPDATING? GDBSPEED should default to CONSPEED so that people who don't need it to be different won't have to know about it. The speed should also be the one given by CONSPEED when the gdb port is the same as the console port. > Is there any documentation that needs to be updated because of this > change (I couldn't find anything that mentioned CONSPEED wrt gdb in > either src/ or doc/) I don't know of any. > Any objections? Quite a few. Ones related to the above, plus ones involving the patch being too large for a hack and having style bugs. Comments on the patch in private mail. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message