This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]