diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-09-30 16:01:47 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-09-30 16:01:47 +0100 |
commit | 7781c06f6e735e92fcf597c578540c2f925a9f05 (patch) | |
tree | 2bd5ea512acd561e85b2fa8950958c62f6296738 /gdb/gdbserver | |
parent | e019fd1d143061c703691b862f1e282be57b2983 (diff) | |
download | gdb-7781c06f6e735e92fcf597c578540c2f925a9f05.zip gdb-7781c06f6e735e92fcf597c578540c2f925a9f05.tar.gz gdb-7781c06f6e735e92fcf597c578540c2f925a9f05.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | 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); |