[PATCH 0/4] Tweak catch syscall for remote

Pedro Alves palves@redhat.com
Thu Jun 23 15:11:00 GMT 2016


On 06/17/2016 11:16 AM, Yao Qi wrote:
> I see some test fails in catch-syscall.exp on aarch64 with
> native-gdbserver.  This patch series add catch syscall in remote for
> both aarch64-linux and arm-linux.
> 
> Currently, only catch syscall for remote is only supported on x86, but
> the test is run on other targets.  Patch 1 fixes the issue in
> catch-sysca.exp about probing the catch syscall support.
> 
> Patch 2 removes one redundant parameter in
> linux_target_ops.get_syscall_trapinfo.  Patch 3 and 4 adds support for
> aarch64-linux and arm-linux respectively.
> 

LGTM.  Might want to handle read_memory failing in patch 4, as it
leaves "insn" undefined if that happens.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list