aboutsummaryrefslogtreecommitdiff
path: root/gdb/spu-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-04-15 13:04:05 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-04-15 13:04:05 +0000
commit30bcb456271a91f406a35d60278030769d12d5ac (patch)
tree40332cb1c71399a2faa1706427b03cc65ae20353 /gdb/spu-tdep.c
parentcb1238c0838483f5b644e51cfd455281e781dbbc (diff)
downloadgdb-30bcb456271a91f406a35d60278030769d12d5ac.zip
gdb-30bcb456271a91f406a35d60278030769d12d5ac.tar.gz
gdb-30bcb456271a91f406a35d60278030769d12d5ac.tar.bz2
Add missing empty line in spu_write_pc.
gdb/ChangeLog: * spu-tdep.c (spu_write_pc): Add empty line after local variable declarations.
Diffstat (limited to 'gdb/spu-tdep.c')
-rw-r--r--gdb/spu-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index 4365da1..2e1bb4a 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));