[PATCH] Handle memory error in print_insn_rx

Yao Qi qiyaoltc@gmail.com
Mon Dec 12 09:05:00 GMT 2016


On Sat, Dec 10, 2016 at 12:20 AM, Alan Modra <amodra@gmail.com> wrote:
> 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.
>

Patch is pushed in.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list