diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-03-23 14:11:04 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-03-23 14:11:04 +0000 |
commit | 338771252e913f82df8a445cb3e748a791b1cba8 (patch) | |
tree | a8b6009efc1ad6dd2bc28d705460ac1b3b71bc26 /gdb | |
parent | a0eef9404b0fcfc8b0fbe7511d094a419ac631e9 (diff) | |
download | gdb-338771252e913f82df8a445cb3e748a791b1cba8.zip gdb-338771252e913f82df8a445cb3e748a791b1cba8.tar.gz gdb-338771252e913f82df8a445cb3e748a791b1cba8.tar.bz2 |
Fix code indentation
gdb:
2017-03-23 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (aarch64_record_load_store): Fix code
indentation.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/aarch64-tdep.c | 20 |
2 files changed, 17 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 59df843..cd863de 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-03-23 Yao Qi <yao.qi@linaro.org> + * aarch64-tdep.c (aarch64_record_load_store): Fix code + indentation. + +2017-03-23 Yao Qi <yao.qi@linaro.org> + * aarch64-tdep.c: Remove AARCH64_RECORD_FAILURE. 2017-03-23 Philipp Rudo <prudo@linux.vnet.ibm.com> diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 4fba038..486dac3 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -3609,15 +3609,19 @@ aarch64_record_load_store (insn_decode_record *aarch64_insn_r) { opc = bits (aarch64_insn_r->aarch64_insn, 22, 23); if (!(opc >> 1)) - if (opc & 0x01) - ld_flag = 0x01; - else - ld_flag = 0x0; + { + if (opc & 0x01) + ld_flag = 0x01; + else + ld_flag = 0x0; + } else - if (size_bits != 0x03) - ld_flag = 0x01; - else - return AARCH64_RECORD_UNKNOWN; + { + if (size_bits != 0x03) + ld_flag = 0x01; + else + return AARCH64_RECORD_UNKNOWN; + } if (record_debug) { |