Improve the MSP430 disassembler's handling of memory read errors.
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
index 2b98764a7f7982892c770df0e035d5c010cad3e6..82e3143e1ed39bf9dcd71f09fdbba73e03d4a0b9 100644 (file)
@@ -1,3 +1,17 @@
+2016-05-27  Nick Clifton  <nickc@redhat.com>
+
+       PR target/20150
+       * msp430-dis.c (msp430dis_read_two_bytes): New function.
+       (msp430dis_opcode_unsigned): New function.
+       (msp430dis_opcode_signed): New function.
+       (msp430_singleoperand): Use the new opcode reading functions.
+       Only disassenmble bytes if they were successfully read.
+       (msp430_doubleoperand): Likewise.
+       (msp430_branchinstr): Likewise.
+       (msp430x_callx_instr): Likewise.
+       (print_insn_msp430): Check that it is safe to read bytes before
+       attempting disassembly.  Use the new opcode reading functions.
+
 2016-05-26  Peter Bergner <bergner@vnet.ibm.com>
 
        * ppc-opc.c (CY): New define.  Document it.
This page took 0.024238 seconds and 4 git commands to generate.