From: Yao Qi Date: Thu, 23 Mar 2017 14:11:04 +0000 (+0000) Subject: Fix code indentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=338771252e913f82df8a445cb3e748a791b1cba8;p=binutils-gdb.git Fix code indentation gdb: 2017-03-23 Yao Qi * aarch64-tdep.c (aarch64_record_load_store): Fix code indentation. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 59df8439758..cd863de6d76 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-03-23 Yao Qi + + * aarch64-tdep.c (aarch64_record_load_store): Fix code + indentation. + 2017-03-23 Yao Qi * aarch64-tdep.c: Remove AARCH64_RECORD_FAILURE. diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 4fba038ea09..486dac3cf72 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) {