Re: [PATCH 4/8] Return -1 on memory error in print_insn_msp430

Alan Modra
2017-01-11T21:54:54Z

On Tue, Jan 10, 2017 at 12:26:14PM +0000, Yao Qi wrote:
> * msp430-dis.c (msp430_singleoperand): Return -1 if
> msp430dis_opcode_signed returns false.
> (msp430_doubleoperand): Likewise.
> (msp430_branchinstr): Return -1 if
> msp430dis_opcode_unsigned returns false.
> (msp430x_calla_instr): Likewise.
> (print_insn_msp430): Likewise.

You missed nine msp430dis_opcode_signed calls. OK with those done too.

--
Alan Modra
Australia Development Lab, IBM