From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103200 invoked by alias); 9 Jan 2016 07:37:17 -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 103184 invoked by uid 89); 9 Jan 2016 07:37:16 -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,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received-From:4830, HX-Received-From:134, HX-Received-From:2001, HX-HELO:eggs.gnu.org X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 09 Jan 2016 07:37:14 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHo5I-0007QF-CF for gdb-patches@sourceware.org; Sat, 09 Jan 2016 02:37:13 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHo51-0007N4-Gk; Sat, 09 Jan 2016 02:36:55 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2157 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aHo4x-000679-95; Sat, 09 Jan 2016 02:36:52 -0500 Date: Sat, 09 Jan 2016 07:37:00 -0000 Message-Id: <83mvsfnqzw.fsf@gnu.org> From: Eli Zaretskii To: Josh Stone CC: gdb-patches@sourceware.org, philippe.waroquiers@skynet.be, sergiodj@redhat.com, palves@redhat.com, xdje42@gmail.com, scox@redhat.com In-reply-to: <1452308954-13679-1-git-send-email-jistone@redhat.com> (message from Josh Stone on Fri, 8 Jan 2016 19:09:14 -0800) Subject: Re: [PATCH v4] Implement 'catch syscall' for gdbserver Reply-to: Eli Zaretskii References: <1449196006-13759-2-git-send-email-jistone@redhat.com> <1452308954-13679-1-git-send-email-jistone@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00151.txt.bz2 > From: Josh Stone > Cc: philippe.waroquiers@skynet.be, sergiodj@redhat.com, palves@redhat.com, > eliz@gnu.org, xdje42@gmail.com, scox@redhat.com, > Josh Stone > 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 > Philippe Waroquiers > > * 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) : Comment typo. > > gdb/doc/ChangeLog: > > 2016-01-08 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. OK for the documentation parts. Thanks.