This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] remote.c: Avoid multiple serial_close calls on baud rate error
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 5 Dec 2003 16:04:41 -0500
- Subject: Re: [RFA] remote.c: Avoid multiple serial_close calls on baud rate error
- References: <1031205203631.ZM15513@localhost.localdomain>
On Fri, Dec 05, 2003 at 01:36:32PM -0700, Kevin Buettner wrote:
> One of my colleagues recently noticed the following:
>
> (gdb) set remotebaud 0x100000
> (gdb) target remote /dev/ttyS0
> warning: Invalid baud rate 1048576. Maximum value is 460800.
> /dev/ttyS0: Invalid argument.
> (gdb) set remotebaud 230400
> (gdb) target remote /dev/ttyS0
> Segmentation fault
Coincidentally, one of my colleagues also recently noticed this :)
Thanks!
No comments on the patch itself, looks plausible.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer