From owner-freebsd-current Sun Jan 5 3:56:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C5FF37B405 for ; Sun, 5 Jan 2003 03:56:33 -0800 (PST) Received: from mx01.goddamnbastard.org (12-249-234-146.client.attbi.com [12.249.234.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 786B043EA9 for ; Sun, 5 Jan 2003 03:56:33 -0800 (PST) (envelope-from ryanb@goddamnbastard.org) Received: by mx01.goddamnbastard.org (Postfix, from userid 1000) id D4D38154DC; Sun, 5 Jan 2003 05:56:32 -0600 (CST) Date: Sun, 5 Jan 2003 05:56:32 -0600 From: ryan beasley To: Bruce Evans Cc: Nate Lawson , freebsd-current@FreeBSD.ORG Subject: Re: current/stable remote gdb interoperability Message-ID: <20030105115632.GA311@goddamnbastard.org> References: <20030104061403.G5322-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BYl/BInBdgsQr4gH" Content-Disposition: inline In-Reply-To: <20030104061403.G5322-100000@gamplex.bde.org> User-Agent: Mutt/1.4i 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 --BYl/BInBdgsQr4gH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 04, 2003 at 06:32:43AM +1100, Bruce Evans wrote: > Another possible problem is using the same serial line for gdb as for > the console and mixing speeds. If the userland speed differs from the > low level speed, then the i/o routines switch back and forth between > the speeds for every character and this tends to lose some. The > userland speed is locked to the low level speed initially but userland > unlock it. Losing a character or two is almost unnoticable in ddb but > is fatal in gdb. I normally set all speeds to 115200 so I only see this > problem when I look for it. Unless I'm misunderstanding, the serial port isn't doing any such double duty. I've explicity toggled between sio flags 0x10 and 0x80 in device.hints depending on what I'm trying to figure out. (In reality, it's more often trying to get useful information for others that can figure stuff out. :).) For what it's worth, I've taken Nate's suggestion and backed down to 9600bps, and this problem hasn't occurred yet, so I'm assuming this is the "fix". (The 4.7 machine has an ASUS P2B-D board, and the -CURRENT box is a recent Dell Dimension, so I don't *think* I'm using garbage serial hardware.) Though slow, I guess I can't complain if it works. :). =20 --=20 ryan beasley GPG ID: 0x16EFBD48 http://www.goddamnbastard.org =09 --BYl/BInBdgsQr4gH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE+GB1wskfdOxbvvUgRAgSMAJ48xLn9jUC6BTa7OivEZHQmyQaLKACghvyu CVWl+f1JliWORvnogI66er8= =hVRL -----END PGP SIGNATURE----- --BYl/BInBdgsQr4gH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message