New gdbarch functions: dtrace_parse_probe_argument, dtrace_probe_is_enabled, dtrace_e...
authorJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 17 Feb 2015 14:54:44 +0000 (15:54 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 17 Feb 2015 14:54:44 +0000 (15:54 +0100)
commit8b367e1771078f3cfc8c0fa2d5c5d5e9656c8fb9
tree608a09f943c243d6ec2a2dd0c2e3d9df352443cb
parent9aca2ff83e4299875343cb07add9c0ef7e5f3188
New gdbarch functions: dtrace_parse_probe_argument, dtrace_probe_is_enabled, dtrace_enable_probe, dtrace_disable_probe.

This patch adds several gdbarch functions (along with the corresponding
predicates): `dtrace_parse_probe_argument', `dtrace_probe_is_enabled',
`dtrace_enable_probe' and `dtrace_disable_probe'.  These functions will
be implemented by target-specific code, and called from the DTrace
probes implementation in order to calculate the value of probe
arguments, and manipulate is-enabled probes.

gdb/ChangeLog:

2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>

* gdbarch.sh (dtrace_parse_probe_argument): New.
(dtrace_probe_is_enabled): Likewise.
(dtrace_enable_probe): Likewise.
(dtrace_disable_probe): Likewise.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh