From owner-cvs-all Tue Jun 18 23:55:36 2002 Delivered-To: cvs-all@freebsd.org Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by hub.freebsd.org (Postfix) with SMTP id 16F5937B407 for ; Tue, 18 Jun 2002 23:55:29 -0700 (PDT) Received: (qmail 3523 invoked from network); 19 Jun 2002 06:55:27 -0000 Received: from uitsmijter.van-laarhoven.org (10.66.0.1) by uitsmijter.van-laarhoven.org with SMTP; 19 Jun 2002 06:55:27 -0000 Date: Wed, 19 Jun 2002 08:55:26 +0200 (CEST) From: Nick Hibma To: Bruce Evans Cc: "cvs-committers@FreeBSD.org" , "cvs-all@FreeBSD.org" Subject: Re: cvs commit: src/sys/pc98/pc98 sio.c src/sys/conf options options.i386 options.ia64 options.pc98 src/sys/dev/sio sio.c sioreg.h In-Reply-To: <20020619153032.X7788-100000@gamplex.bde.org> Message-ID: <20020619084551.E3498-100000@uitsmijter.van-laarhoven.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > This facilitates the use in circumstances where you are using a serial > > console as well. GDB doesn't support anything higher than 9600 baud (19k2 > > if you are lucky), but the console does. > > Previous version reviewed by: bde > > I seem to have missed the main point of this change. I always use gdb > at 115200 bps on i386's (since I don't have anything faster), but > haven't used it recently. Not working at a low speed like 115200 is > a bug somewhere. The buffering by the low level console driver (none) > is not very suitable for input faster than a human can type, and gdb > certainly sends input faster than tha in bursts when it sends a packet, > but problems seem to be limited by the protocol being very simple. I've had a look at the gdb code that reads the input from the port and from that I can't see why gdb would choke on reading from the port. I use a 686 class machine, so it should be well fast enough to handle the port, but anything above 19k2 gives me either spurious or permanent timeouts. Hence the change. Nick -- n_hibma@van-laarhoven.org http://www.van-laarhoven.org/ n_hibma@FreeBSD.org http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message