This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: A Patch/fix
- From: Jim Blandy <jimb at redhat dot com>
- To: Paul Breed <Paul at Netburner dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 24 Sep 2002 21:55:42 -0500
- Subject: Re: A Patch/fix
- References: <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;