From owner-freebsd-hackers Mon Nov 15 14:53:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 4102B14A2A for ; Mon, 15 Nov 1999 14:53:44 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id JAA21505; Tue, 16 Nov 1999 09:23:38 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991115175303.59865@mojave.sitaranetworks.com> Date: Mon, 15 Nov 1999 17:53:03 -0500 From: Greg Lehey To: "Kenneth D. Merry" , Zhihui Zhang Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Set the baud rate on remote debugging Reply-To: Greg Lehey References: <199911152213.PAA58051@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199911152213.PAA58051@panzer.kdm.org>; from Kenneth D. Merry on Mon, Nov 15, 1999 at 03:13:53PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 15 November 1999 at 15:13:53 -0700, Kenneth D. Merry wrote: > Zhihui Zhang wrote... >> >> I have set up a remote debugging environment. But I think default 9600 >> bps is slow. I can use "set remotebaud 19200" on the debugging machine >> side. How can I set the baud rate on the target machine that is running >> the debugged kernel? (I press CTRL+ESC+ALT to drop to DDB mode and find >> no command to set the baud rate). >> >> Any help is appreciated. > > Use the CONSPEED option in the kernel config file on the target machine. > e.g.: > > options CONSPEED=115200 I'm planning to modify ddb to specify the bit rate as a parameter to the gdb command: db> gdb 19200 Next trap will enter GDB remote protocol mode at 19200 bps Comments? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message