This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v4] Implement 'catch syscall' for gdbserver
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Josh Stone <jistone at redhat dot com>
- Cc: gdb-patches at sourceware dot org, philippe dot waroquiers at skynet dot be, sergiodj at redhat dot com, palves at redhat dot com, xdje42 at gmail dot com, scox at redhat dot com
- Date: Sat, 09 Jan 2016 09:36:51 +0200
- Subject: Re: [PATCH v4] Implement 'catch syscall' for gdbserver
- Authentication-results: sourceware.org; auth=none
- References: <1449196006-13759-2-git-send-email-jistone at redhat dot com> <1452308954-13679-1-git-send-email-jistone at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Josh Stone <jistone@redhat.com>
> Cc: philippe.waroquiers@skynet.be, sergiodj@redhat.com, palves@redhat.com,
> eliz@gnu.org, xdje42@gmail.com, scox@redhat.com,
> Josh Stone <jistone@redhat.com>
> Date: Fri, 8 Jan 2016 19:09:14 -0800
>
> This adds a new QCatchSyscalls packet to enable 'catch syscall', and new
> stop reasons "syscall_entry" and "syscall_return" for those events. It
> is currently only supported on Linux x86 and x86_64.
>
> gdb/ChangeLog:
>
> 2016-01-08 Josh Stone <jistone@redhat.com>
> Philippe Waroquiers <philippe.waroquiers@skynet.be>
>
> * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the
> syscall_entry and syscall_return stop reasons. Mention GDB
> support for remote catch syscall.
> * remote.c (PACKET_QCatchSyscalls): New enum.
> (remote_set_syscall_catchpoint): New function.
> (remote_protocol_features): New element for QCatchSyscalls.
> (remote_parse_stop_reply): Parse syscall_entry/return stops.
> (init_remote_ops): Install remote_set_syscall_catchpoint.
> (_initialize_remote): Config QCatchSyscalls.
> * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo.
>
> gdb/doc/ChangeLog:
>
> 2016-01-08 Josh Stone <jistone@redhat.com>
> Philippe Waroquiers <philippe.waroquiers@skynet.be>
>
> * gdb.texinfo (Remote Configuration): List the QCatchSyscalls packet.
> (Stop Reply Packets): List the syscall entry and return stop reasons.
> (General Query Packets): Describe QCatchSyscalls, and add it to the
> table and detailed list of stub features.
OK for the documentation parts.
Thanks.