From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eli Zaretskii" To: fnasser@redhat.com Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: [ser-unix.c] Fix handling of baud rates Date: Thu, 26 Apr 2001 00:29:00 -0000 Message-id: <2110-Thu26Apr2001102549+0300-eliz@is.elta.co.il> References: <3AE751A5.AE7633E4@redhat.com> X-SW-Source: 2001-04/msg00243.html > Date: Wed, 25 Apr 2001 18:37:25 -0400 > From: Fernando Nasser > > The following patch will cause GDB to use only legal values for the > serial line speed. If the speed requested is not one of the valid > speeds, the best speed that is less than the value requested will be > used. However, if the requested speed is less than 50, 50 bauds will be > used. I'd say it is better to print an error message than silently use the wrong baudrate. What if the user simply mistyped the value?