This is the mail archive of the gdb-cvs@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]

[binutils-gdb] Shorten long lines in linux-aarch64-low.c


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7781c06f6e735e92fcf597c578540c2f925a9f05

commit 7781c06f6e735e92fcf597c578540c2f925a9f05
Author: Yao Qi <yao.qi@linaro.org>
Date:   Wed Sep 30 16:01:47 2015 +0100

    Shorten long lines in linux-aarch64-low.c
    
    Happen to see these lines are too long.  This patch shortens them.
    
    gdb/gdbserver:
    
    2015-09-30  Yao Qi  <yao.qi@linaro.org>
    
    	* linux-aarch64-low.c (emit_movk): Shorten a long line.
    	(emit_load_store_pair): Likewise.

Diff:
---
 gdb/gdbserver/ChangeLog           | 5 +++++
 gdb/gdbserver/linux-aarch64-low.c | 6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 95e370c..b631894 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-30  Yao Qi  <yao.qi@linaro.org>
+
+	* linux-aarch64-low.c (emit_movk): Shorten a long line.
+	(emit_load_store_pair): Likewise.
+
 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
 
 	* dll.c (match_dll): Add cast(s).
diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c
index bc9a5c7..5592e61 100644
--- a/gdb/gdbserver/linux-aarch64-low.c
+++ b/gdb/gdbserver/linux-aarch64-low.c
@@ -1083,7 +1083,8 @@ emit_load_store_pair (uint32_t *buf, enum aarch64_opcodes opcode,
     }
 
   return emit_insn (buf, opcode | opc | pre_index | write_back
-		    | ENCODE (operand.index >> 3, 7, 15) | ENCODE (rt2.num, 5, 10)
+		    | ENCODE (operand.index >> 3, 7, 15)
+		    | ENCODE (rt2.num, 5, 10)
 		    | ENCODE (rn.num, 5, 5) | ENCODE (rt.num, 5, 0));
 }
 
@@ -1490,7 +1491,8 @@ emit_mov (uint32_t *buf, struct aarch64_register rd,
    SHIFT is the logical shift left to apply to IMM.   */
 
 static int
-emit_movk (uint32_t *buf, struct aarch64_register rd, uint32_t imm, unsigned shift)
+emit_movk (uint32_t *buf, struct aarch64_register rd, uint32_t imm,
+	   unsigned shift)
 {
   uint32_t size = ENCODE (rd.is64, 1, 31);


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