[PATCH] Handle memory error in print_insn_rl78_common

Alan Modra amodra@gmail.com
Sat Dec 10 00:20:00 GMT 2016


On Fri, Dec 09, 2016 at 04:59:35PM +0000, Yao Qi wrote:
> 	* rl78-dis.c: Include <setjmp.h>.
> 	(struct private): New.
> 	(rl78_get_byte): Check return value of read_memory_func, and
> 	call memory_error_func and OPCODES_SIGLONGJMP on error.
> 	(print_insn_rl78_common): Call OPCODES_SIGJMP.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list