This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH OBV] Shorten long lines in linux-aarch64-low.c
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 30 Sep 2015 15:59:10 +0100
- Subject: [PATCH OBV] Shorten long lines in linux-aarch64-low.c
- Authentication-results: sourceware.org; auth=none
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.
---
gdb/gdbserver/linux-aarch64-low.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
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);
--
1.9.1