From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24127 invoked by alias); 5 Dec 2003 21:04:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24118 invoked from network); 5 Dec 2003 21:04:42 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 5 Dec 2003 21:04:42 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1ASN7x-0002mD-P5 for ; Fri, 05 Dec 2003 16:04:41 -0500 Date: Fri, 05 Dec 2003 21:04:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFA] remote.c: Avoid multiple serial_close calls on baud rate error Message-ID: <20031205210441.GA10543@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <1031205203631.ZM15513@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1031205203631.ZM15513@localhost.localdomain> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-12/txt/msg00226.txt.bz2 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