[PATCH] Handle memory error in print_insn_rx

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


On Fri, Dec 09, 2016 at 05:01:57PM +0000, Yao Qi wrote:
> 	* rx-dis.c: Include <setjmp.h>
> 	(struct private): New.
> 	(rx_get_byte): Check return value of read_memory_func, and
> 	call memory_error_func and OPCODES_SIGLONGJMP on error.
> 	(print_insn_rx): Call OPCODES_SIGSETJMP.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Gdb-patches mailing list