This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Add missing empty line in spu_write_pc.


Hello,

Something I noticed while looking at all _write_pc gdbarch hooks...

gdb/ChangeLog:

        * spu-tdep.c (spu_write_pc): Add empty line after local variable
        declarations.

Checked in.

---
 gdb/ChangeLog  |    5 +++++
 gdb/spu-tdep.c |    1 +
 2 files changed, 6 insertions(+)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 48cbd0e..40e2f974 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-15  Joel Brobecker  <brobecker@adacore.com>
+
+	* spu-tdep.c (spu_write_pc): Add empty line after local variable
+	declarations.
+
 2013-04-13  Yao Qi  <yao@codesourcery.com>
 
 	* ctf.c (_initialize_ctf): Include "completer.h".
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));
-- 
1.7.10.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]