Re: [PATCH 6/8] Return -1 on memory error in print_insn_m68k

Alan Modra
2017-01-11T22:15:31Z

On Tue, Jan 10, 2017 at 12:26:16PM +0000, Yao Qi wrote:
> * m68k-dis.c (match_insn_m68k): Extend comments. Return -1
> if FETCH_DATA returns 0.
> (m68k_scan_mask): Likewise.
> (print_insn_m68k): Update code to handle -1 return value.

This misses one FETCH_DATA call, in m68k_scan_mask.

--
Alan Modra
Australia Development Lab, IBM