From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30084 invoked by alias); 25 Sep 2002 04:09:50 -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 30077 invoked from network); 25 Sep 2002 04:09:49 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 25 Sep 2002 04:09:49 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2AA4C3D1E; Wed, 25 Sep 2002 00:09:42 -0400 (EDT) Message-ID: <3D913706.7020500@redhat.com> Date: Tue, 24 Sep 2002 21:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Blandy Cc: Paul Breed , gdb-patches@sources.redhat.com Subject: Re: A Patch/fix References: <5.0.2.1.2.20020920151310.01988d30@mail.netburner.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00602.txt.bz2 Don't forget 5.3. Andrew > Paul Breed writes: > > >> I'm not familiar with the procedure for submitting a patch, >> but I have a simple one line fix that is a bug. >> >> in gdb/main.c line 384 >> >> baud_rate=i; >> } >> <----------------------insert a "break;" here >> case ''l': >> >> >> Without the break when you set the baud rate you also set the time out to some >> ungodly long amount. > > > Committed as obvious: > > 2002-09-24 Jim Blandy > > Fix from Paul Breed: > * main.c (captured_main): Add a `break' after the case for 'b'. > > Index: gdb/main.c > =================================================================== > RCS file: /cvs/src/src/gdb/main.c,v > retrieving revision 1.18 > diff -c -r1.18 main.c > *** gdb/main.c 25 Jun 2002 05:35:16 -0000 1.18 > --- gdb/main.c 25 Sep 2002 03:07:30 -0000 > *************** > *** 397,402 **** > --- 397,403 ---- > else > baud_rate = i; > } > + break; > case 'l': > { > int i; > > >