Fix style warnings detected by server in new Blackfin code

This commit is contained in:
Mike Frysinger 2010-12-30 17:36:26 +00:00
parent c671de8cdd
commit 2ce7ff1dce
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2010-12-30 Mike Frysinger <vapier@gentoo.org>
* bfin-tdep.c (bfin_register_type): Move || to start of line.
2010-12-29 Michael Snyder <msnyder@vmware.com>
* bcache.c: Comment clean-up.

View File

@ -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;