diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-30 17:36:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-12-30 17:36:26 +0000 |
commit | 2ce7ff1dcecc87140df526827cb7fe7eefc31e15 (patch) | |
tree | 24f8cfb517eadba2ed31e22a60e560dae5d1ee0d | |
parent | c671de8cddfd5326fe8e96fec875eecc7fe5df56 (diff) | |
download | gdb-2ce7ff1dcecc87140df526827cb7fe7eefc31e15.zip gdb-2ce7ff1dcecc87140df526827cb7fe7eefc31e15.tar.gz gdb-2ce7ff1dcecc87140df526827cb7fe7eefc31e15.tar.bz2 |
Fix style warnings detected by server in new Blackfin code
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/bfin-tdep.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f7baa88..0dafb27 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index ddebdf9..0675b4d 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; |