This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCHES] remove unneded brace in infrun.c and then re-indentfile
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 18 Jul 2002 12:34:22 -0400
- Subject: Re: [PATCHES] remove unneded brace in infrun.c and then re-indentfile
- References: <20020718013141.GS2700@gnat.com>
As recommended by Elena Z. and Kevin B., I am posting the following
patches, to be applied to the same file (namely infrun.c) consecutively.
I will wait for 24 to 48 hours and will then commit these 2 changes,
unless somebody objects.
The first patch just removes the extra braces, without any indentation
change. This temporarily leaves the function with an incorrect
indentation on purpose to facilitate the review. The second patch then
fixes the indentation problems for the entire file. It is much harder to
read, but the indentation has been automatically done by gdb_indent.sh.
ChangeLogs:
2002-07-17 Joel Brobecker <brobecker@gnat.com>
* infrun.c (handle_inferior_event): Remove unneeded extra brace.
2002-07-17 Joel Brobecker <brobecker@gnat.com>
* infrun.c: Re-indent using gdb_indent.sh.
I'd not even wait that long :-) The reason for that indentation has
long since gone.
Andrew