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

Alan Modra amodra@gmail.com
Wed Jan 11 22:15:00 GMT 2017


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



More information about the Gdb-patches mailing list