diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 093619421ec..181991ae4b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-10-28 Yao Qi + + * aarch64-tdep.c (aarch64_software_single_step): Pass 1 to + aarch64_decode_insn. + 2015-10-27 Pedro Alves * common/print-utils.c (host_address_to_string): Rename to ... diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 55c5fb86fcc..d01a83f8b3f 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -2499,7 +2499,7 @@ aarch64_software_single_step (struct frame_info *frame) int last_breakpoint = 0; /* Defaults to 0 (no breakpoints placed). */ aarch64_inst inst; - if (aarch64_decode_insn (insn, &inst) != 0) + if (aarch64_decode_insn (insn, &inst, 1) != 0) return 0; /* Look for a Load Exclusive instruction which begins the sequence. */ @@ -2512,7 +2512,7 @@ aarch64_software_single_step (struct frame_info *frame) insn = read_memory_unsigned_integer (loc, insn_size, byte_order_for_code); - if (aarch64_decode_insn (insn, &inst) != 0) + if (aarch64_decode_insn (insn, &inst, 1) != 0) return 0; /* Check if the instruction is a conditional branch. */ if (inst.opcode->iclass == condbranch) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index ea833f73657..b049302318b 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2015-10-28 Yao Qi + + * aarch64.h (aarch64_decode_insn): Update declaration. + 2015-10-07 Yao Qi * aarch64.h (aarch64_sys_ins_reg)