This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMITTED V5 0/9] Add support for DTrace USDT probes to gdb
- From: "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 17 Feb 2015 17:18:08 +0100
- Subject: [COMMITTED V5 0/9] Add support for DTrace USDT probes to gdb
- Authentication-results: sourceware.org; auth=none
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