From: Mike Frysinger Date: Thu, 30 Dec 2010 17:36:26 +0000 (+0000) Subject: Fix style warnings detected by server in new Blackfin code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ce7ff1dcecc87140df526827cb7fe7eefc31e15;p=binutils-gdb.git Fix style warnings detected by server in new Blackfin code --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f7baa88515f..0dafb2765df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-12-30 Mike Frysinger + + * bfin-tdep.c (bfin_register_type): Move || to start of line. + 2010-12-29 Michael Snyder * bcache.c: Comment clean-up. diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index ddebdf9e278..0675b4d4a76 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -478,11 +478,11 @@ bfin_register_type (struct gdbarch *gdbarch, int regnum) || regnum == BFIN_USP_REGNUM) return builtin_type (gdbarch)->builtin_data_ptr; - if (regnum == BFIN_PC_REGNUM || regnum == BFIN_RETS_REGNUM || - regnum == BFIN_RETI_REGNUM || regnum == BFIN_RETX_REGNUM || - regnum == BFIN_RETN_REGNUM || regnum == BFIN_RETE_REGNUM || - regnum == BFIN_LT0_REGNUM || regnum == BFIN_LB0_REGNUM || - regnum == BFIN_LT1_REGNUM || regnum == BFIN_LB1_REGNUM) + if (regnum == BFIN_PC_REGNUM || regnum == BFIN_RETS_REGNUM + || regnum == BFIN_RETI_REGNUM || regnum == BFIN_RETX_REGNUM + || regnum == BFIN_RETN_REGNUM || regnum == BFIN_RETE_REGNUM + || regnum == BFIN_LT0_REGNUM || regnum == BFIN_LB0_REGNUM + || regnum == BFIN_LT1_REGNUM || regnum == BFIN_LB1_REGNUM) return builtin_type (gdbarch)->builtin_func_ptr; return builtin_type (gdbarch)->builtin_int32;