This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Handle memory error in print_insn_rx
- From: Alan Modra <amodra at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Sat, 10 Dec 2016 10:50:58 +1030
- Subject: Re: [PATCH] Handle memory error in print_insn_rx
- Authentication-results: sourceware.org; auth=none
- References: <1481302917-9477-1-git-send-email-yao.qi@linaro.org>
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