From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38911 invoked by alias); 11 Jan 2016 17:44:43 -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 38649 invoked by uid 89); 11 Jan 2016 17:44:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=philippe, H*F:D*be X-HELO: mailsec101.isp.belgacom.be Received: from mailsec101.isp.belgacom.be (HELO mailsec101.isp.belgacom.be) (195.238.20.97) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Jan 2016 17:44:41 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CtAgBB6ZNW/5DT81FegzqEIYV3sU+CEwENgWaGBQQEAgKBJjkUAQEBAQEBAYEKhDUBAQQjMyMQCAMOCgICJgICOR4GiEWvP5AYAQEIIxlohVWEf4dzgUkFlxONWY59jlEgAQFCghEcgV49hnkBAQE Received: from 144.211-243-81.adsl-dyn.isp.belgacom.be (HELO soleil) ([81.243.211.144]) by relay.skynet.be with ESMTP/TLS/AES128-GCM-SHA256; 11 Jan 2016 18:44:37 +0100 Message-ID: <1452534411.1664.9.camel@skynet.be> Subject: Re: [PATCH v4] Implement 'catch syscall' for gdbserver From: Philippe Waroquiers To: Josh Stone Cc: gdb-patches@sourceware.org, sergiodj@redhat.com, palves@redhat.com, eliz@gnu.org, xdje42@gmail.com, scox@redhat.com Date: Mon, 11 Jan 2016 17:44:00 -0000 In-Reply-To: <1452308954-13679-1-git-send-email-jistone@redhat.com> References: <1449196006-13759-2-git-send-email-jistone@redhat.com> <1452308954-13679-1-git-send-email-jistone@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00181.txt.bz2 On Fri, 2016-01-08 at 19:09 -0800, Josh Stone wrote: > 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. I did some basic tests of the v4 patch on x86, and also with a (patched) valgrind gdbserver. No problem encountered. So, if/when this patch is committed in gdb, I will also commit the catch syscall support in the valgrind gdbserver (which will provide catch syscall on all valgrind architectures i.e. x86/amd64/ppc32/ppc64/mips32/mips64/tilegx/s390x/arm/arm64). So, awaiting commit ... Philippe