From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18637 invoked by alias); 17 Feb 2015 16:12:52 -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 18593 invoked by uid 89); 17 Feb 2015 16:12:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_40,LIKELY_SPAM_BODY,SPF_PASS,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=no version=3.3.2 X-HELO: userp1040.oracle.com Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 17 Feb 2015 16:12:48 +0000 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t1HGCkhV025798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 17 Feb 2015 16:12:46 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id t1HGCjqX006028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 Feb 2015 16:12:46 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t1HGCjF2010701 for ; Tue, 17 Feb 2015 16:12:45 GMT Received: from localhost.localdomain (/10.175.193.114) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 17 Feb 2015 08:12:39 -0800 From: "Jose E. Marchesi" To: gdb-patches@sourceware.org Subject: [COMMITTED V5 0/9] Add support for DTrace USDT probes to gdb Date: Tue, 17 Feb 2015 16:12:00 -0000 Message-Id: <1424189897-32457-1-git-send-email-jose.marchesi@oracle.com> X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00445.txt.bz2 This patch series was finally pushed to master in its form below. Thanks Sergio, Pedro, Eli for your comments and your patience :) [Changes from V4: - Wrong indentation of comment corrected in probe.c - Word capitalized in an entry in gdb/ChangeLog. - Use the year range `-' format in copyright notes. - Do not align assignments in enumeration initialization. - Do not align open parentheses. - Be explicit to the user on why a probe cannot be disabled if it does not have any enabler defined. - The addition and usage of the GDB_AC_TRANSFORM macro has been removed from the "Simple testsuite for DTrace USDT probes." patch.] Jose E. Marchesi (9): Adapt `info probes' to support printing probes of different types. Move `compute_probe_arg' and `compile_probe_arg' to probe.c New commands `enable probe' and `disable probe'. New gdbarch functions: dtrace_parse_probe_argument, dtrace_probe_is_enabled, dtrace_enable_probe, dtrace_disable_probe. New probe type: DTrace USDT probes. Support for DTrace USDT probes in x86_64 targets. Simple testsuite for DTrace USDT probes. Documentation for DTrace USDT probes. Announce the DTrace USDT probes support in NEWS. gdb/ChangeLog | 112 ++++ gdb/Makefile.in | 3 +- gdb/NEWS | 3 + gdb/amd64-linux-tdep.c | 148 +++++ gdb/breakpoint.c | 3 +- gdb/configure | 2 +- gdb/configure.ac | 2 +- gdb/doc/ChangeLog | 13 + gdb/doc/gdb.texinfo | 85 ++- gdb/dtrace-probe.c | 907 +++++++++++++++++++++++++++ gdb/gdbarch.c | 128 ++++ gdb/gdbarch.h | 36 ++ gdb/gdbarch.sh | 16 + gdb/probe.c | 338 +++++++++- gdb/probe.h | 18 + gdb/stap-probe.c | 121 +--- gdb/testsuite/ChangeLog | 17 + gdb/testsuite/configure | 51 ++ gdb/testsuite/configure.ac | 26 + gdb/testsuite/gdb.base/dtrace-probe.c | 38 ++ gdb/testsuite/gdb.base/dtrace-probe.d | 21 + gdb/testsuite/gdb.base/dtrace-probe.exp | 106 ++++ gdb/testsuite/gdb.base/stap-probe.exp | 2 +- gdb/testsuite/lib/dtrace.exp | 71 +++ gdb/testsuite/lib/pdtrace.in | 1033 +++++++++++++++++++++++++++++++ 25 files changed, 3143 insertions(+), 157 deletions(-) create mode 100644 gdb/dtrace-probe.c create mode 100644 gdb/testsuite/gdb.base/dtrace-probe.c create mode 100644 gdb/testsuite/gdb.base/dtrace-probe.d create mode 100644 gdb/testsuite/gdb.base/dtrace-probe.exp create mode 100644 gdb/testsuite/lib/dtrace.exp create mode 100755 gdb/testsuite/lib/pdtrace.in -- 1.7.10.4