Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: Paul Breed <Paul@Netburner.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: A Patch/fix
Date: Tue, 24 Sep 2002 20:10:00 -0000	[thread overview]
Message-ID: <vt2d6r2ixqp.fsf@zenia.red-bean.com> (raw)
In-Reply-To: <5.0.2.1.2.20020920151310.01988d30@mail.netburner.com>

Paul Breed <Paul@Netburner.com> 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  <jimb@redhat.com>

	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;



       reply	other threads:[~2002-09-25  3:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5.0.2.1.2.20020920151310.01988d30@mail.netburner.com>
2002-09-24 20:10 ` Jim Blandy [this message]
2002-09-24 21:09   ` Andrew Cagney
2002-09-24 21:27     ` Jim Blandy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vt2d6r2ixqp.fsf@zenia.red-bean.com \
    --to=jimb@redhat.com \
    --cc=Paul@Netburner.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox