From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50459 invoked by alias); 4 Dec 2015 08:45:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 50443 invoked by uid 89); 4 Dec 2015 08:45:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_FAIL autolearn=no version=3.3.2 X-HELO: mtaout27.012.net.il Received: from mtaout27.012.net.il (HELO mtaout27.012.net.il) (80.179.55.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Dec 2015 08:45:08 +0000 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NYT00E00RZS3L00@mtaout27.012.net.il> for gdb-patches@sourceware.org; Fri, 04 Dec 2015 10:40:11 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYT00C47S2ZBA30@mtaout27.012.net.il>; Fri, 04 Dec 2015 10:40:11 +0200 (IST) Date: Fri, 04 Dec 2015 08:45:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH v3 2/2] Implement 'catch syscall' for gdbserver In-reply-to: <1449196006-13759-2-git-send-email-jistone@redhat.com> To: Josh Stone Cc: gdb-patches@sourceware.org, philippe.waroquiers@skynet.be, sergiodj@redhat.com, palves@redhat.com, xdje42@gmail.com, jistone@redhat.com Reply-to: Eli Zaretskii Message-id: <837fkuiovv.fsf@gnu.org> References: <1448506425-24691-1-git-send-email-jistone@redhat.com> <1449196006-13759-1-git-send-email-jistone@redhat.com> <1449196006-13759-2-git-send-email-jistone@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00064.txt.bz2 > From: Josh Stone > Cc: philippe.waroquiers@skynet.be, sergiodj@redhat.com, palves@redhat.com, eliz@gnu.org, xdje42@gmail.com, Josh Stone > Date: Thu, 3 Dec 2015 18:26:46 -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: > > 2015-12-03 Josh Stone > Philippe Waroquiers > > * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and new > GDBserver support for 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) : Comment typo. > > gdb/doc/ChangeLog: > > 2015-12-03 Josh Stone > Philippe Waroquiers > > * 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. Any changes since v2 in the documentation parts that require a fresh review? Thanks.