A Patch/fix

Jim Blandy jimb@redhat.com
Tue Sep 24 20:10:00 GMT 2002


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;




More information about the Gdb-patches mailing list