From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7355 invoked by alias); 25 Sep 2002 03:10:51 -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 7348 invoked from network); 25 Sep 2002 03:10:50 -0000 Received: from unknown (HELO zenia.red-bean.com) (66.244.67.22) by sources.redhat.com with SMTP; 25 Sep 2002 03:10:50 -0000 Received: (from jimb@localhost) by zenia.red-bean.com (8.11.6/8.11.6) id g8P2tg225464; Tue, 24 Sep 2002 21:55:42 -0500 To: Paul Breed Cc: gdb-patches@sources.redhat.com Subject: Re: A Patch/fix References: <5.0.2.1.2.20020920151310.01988d30@mail.netburner.com> From: Jim Blandy Date: Tue, 24 Sep 2002 20:10:00 -0000 In-Reply-To: <5.0.2.1.2.20020920151310.01988d30@mail.netburner.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-09/txt/msg00601.txt.bz2 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;