This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] Tweak catch syscall for remote


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.

*** BLURB HERE ***

Yao Qi (4):
  Probe catch syscall support
  Remove parameter sysret from linux_target_ops.get_syscall_trapinfo
  Implement get_syscall_trapinfo for aarch64-linux
  Implement get_syscall_trapinfo for arm-linux

 gdb/gdbserver/linux-aarch64-low.c        | 19 ++++++++++++++
 gdb/gdbserver/linux-arm-low.c            | 33 +++++++++++++++++++++++-
 gdb/gdbserver/linux-low.c                | 23 ++++++-----------
 gdb/gdbserver/linux-low.h                |  8 +++---
 gdb/gdbserver/linux-x86-low.c            | 10 ++------
 gdb/testsuite/gdb.base/catch-syscall.exp | 43 +++++++++++++++++++++-----------
 6 files changed, 93 insertions(+), 43 deletions(-)

-- 
1.9.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]