From: Joel Brobecker Date: Mon, 15 Apr 2013 13:04:05 +0000 (+0000) Subject: Add missing empty line in spu_write_pc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30bcb456271a91f406a35d60278030769d12d5ac;p=binutils-gdb.git Add missing empty line in spu_write_pc. gdb/ChangeLog: * spu-tdep.c (spu_write_pc): Add empty line after local variable declarations. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 48cbd0ee257..40e2f9743fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-04-15 Joel Brobecker + + * spu-tdep.c (spu_write_pc): Add empty line after local variable + declarations. + 2013-04-13 Yao Qi * ctf.c (_initialize_ctf): Include "completer.h". diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index 4365da1862c..2e1bb4ab1bb 100644 --- a/gdb/spu-tdep.c +++ b/gdb/spu-tdep.c @@ -1135,6 +1135,7 @@ spu_write_pc (struct regcache *regcache, CORE_ADDR pc) { /* Keep interrupt enabled state unchanged. */ ULONGEST old_pc; + regcache_cooked_read_unsigned (regcache, SPU_PC_REGNUM, &old_pc); regcache_cooked_write_unsigned (regcache, SPU_PC_REGNUM, (SPUADDR_ADDR (pc) & -4) | (old_pc & 3));