This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mips-tdep.c: Style fixes


On Tue, Apr 17, 2007 at 06:57:09PM +0100, Maciej W. Rozycki wrote:
> -	      int partial_len = (len < mips_abi_regsize (gdbarch)
> -				 ? len : mips_abi_regsize (gdbarch));
> +	      int partial_len = (len < mips_abi_regsize (gdbarch))
> +				? len : mips_abi_regsize (gdbarch);

These (and most of the others) were actually there for a reason.
Emacs will move that second line leftwards if there isn't an outer
layer of parentheses; I believe GNU Indent and gdb_indent.sh will also.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]