Date: Sun, 5 Jan 2003 05:56:32 -0600 From: ryan beasley <ryanb@goddamnbastard.org> To: Bruce Evans <bde@zeta.org.au> Cc: Nate Lawson <nate@root.org>, freebsd-current@FreeBSD.ORG Subject: Re: current/stable remote gdb interoperability Message-ID: <20030105115632.GA311@goddamnbastard.org> In-Reply-To: <20030104061403.G5322-100000@gamplex.bde.org> References: <Pine.BSF.4.21.0301031105440.98827-100000@root.org> <20030104061403.G5322-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <ryanb@goddamnbastard.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030105115632.GA311>