This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v3 00/17] Catch syscall group
- From: Gabriel Krisman Bertazi <gabriel at krisman dot be>
- To: gdb-patches at sourceware dot org
- Cc: dje at google dot com, sergiodj at redhat dot com, Gabriel Krisman Bertazi <gabriel at krisman dot be>
- Date: Sat, 25 Apr 2015 22:25:04 -0300
- Subject: [PATCH v3 00/17] Catch syscall group
- Authentication-results: sourceware.org; auth=none
Hello,
This is the third version of the catch syscall group patches. This
version presents the following modifications, other than fixing the
things Sergio and Doug pointed out in previous reviews:
* Created syscall groups for every architecture supported by catch
syscall.
The previous version only implemented syscalls for amd64. I used a
script to generate the xmls, and based the group field information on
strace, so please share your thoughts if you disagree with any group.
I babysitted the xml generation scripts but I was not able to actually
test them on architectures other than amd64 and i386. It would be very
nice if someone could actually run catch-syscall.exp on other
architectures.
* Now, catch syscall group tests are performed on every architecture
that supports catch-syscall and not only on amd64.
I'm also not resending the documentation patch because Eli already
approved it (twice :)
I've split patches in several parts to ease review. I'll squash
them all together before pushing upstream.
Please, tell me what you think!
Gabriel Krisman Bertazi (17):
Implemement support for groups of syscalls in the xml-syscall
interface.
Add support to catch groups of syscalls.
Add tests for catching groups of syscalls on supported
architectures.
Create syscall groups for amd64.
Create syscall groups for ppc.
Create syscall groups for ppc64.
Create syscall groups for aarch64.
Create syscall groups for arm.
Create syscall groups for bfin.
Create syscall groups for i386.
Create syscall groups for mips-n32.
Create syscall groups for mips-n64.
Create syscall groups for mips-o32.
Create syscall groups for s390.
Create syscall groups for s390x.
Create syscall groups for sparc.
Create syscall groups for sparc64.
gdb/break-catch-syscall.c | 94 ++++++-
gdb/syscalls/aarch64-linux.xml | 314 +++++++++++----------
gdb/syscalls/amd64-linux.xml | 364 ++++++++++++------------
gdb/syscalls/arm-linux.xml | 470 ++++++++++++++++---------------
gdb/syscalls/bfin-linux.xml | 368 ++++++++++++------------
gdb/syscalls/gdb-syscalls.dtd | 3 +-
gdb/syscalls/i386-linux.xml | 346 ++++++++++++-----------
gdb/syscalls/mips-n32-linux.xml | 374 ++++++++++++------------
gdb/syscalls/mips-n64-linux.xml | 362 ++++++++++++------------
gdb/syscalls/mips-o32-linux.xml | 398 +++++++++++++-------------
gdb/syscalls/ppc-linux.xml | 316 ++++++++++-----------
gdb/syscalls/ppc64-linux.xml | 288 +++++++++----------
gdb/syscalls/s390-linux.xml | 342 +++++++++++-----------
gdb/syscalls/s390x-linux.xml | 324 ++++++++++-----------
gdb/syscalls/sparc-linux.xml | 344 +++++++++++-----------
gdb/syscalls/sparc64-linux.xml | 332 +++++++++++-----------
gdb/testsuite/gdb.base/catch-syscall.exp | 41 +++
gdb/xml-syscall.c | 233 ++++++++++++++-
gdb/xml-syscall.h | 16 ++
19 files changed, 2860 insertions(+), 2469 deletions(-)
--
1.9.3