[PATCH] Incorrect output in error case

Tom Tromey tromey@redhat.com
Wed Nov 30 15:56:00 GMT 2011


>>>>> "Andrew" == Andrew Burgess <aburgess@broadcom.com> writes:

Andrew> I believe the "in woof.c" output from gdb is a mistake caused by
Andrew> missing braces in an else clause.

I agree.

Andrew> Patch/Changelog below for review.  I think this is an "obvious" fix,
Andrew> so I'll commit this in a week unless someones says not to.

Andrew> 2011-11-28  Andrew Burgess  <aburgess@broadcom.com>

Andrew> 	* source.c (print_source_lines_base): Fix missing braces on else
Andrew> 	clause leading to additional output.

Ok.

Tom



More information about the Gdb-patches mailing list