diff options
author | Tom Tromey <tromey@redhat.com> | 2009-12-23 23:21:29 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2009-12-23 23:21:29 +0000 |
commit | 98c5b216c285de64674753964c70aa2f4b2af244 (patch) | |
tree | 60188657a8432e0509b7cf45045ab36200f76d27 /gdb/tracepoint.c | |
parent | 429374b88081fd7130e8690e22b58f8d8e283754 (diff) | |
download | gdb-98c5b216c285de64674753964c70aa2f4b2af244.zip gdb-98c5b216c285de64674753964c70aa2f4b2af244.tar.gz gdb-98c5b216c285de64674753964c70aa2f4b2af244.tar.bz2 |
2009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR gdb/11110
* tracepoint.h (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Declare extern.
* tracepoint.c (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Define.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 0d439ef..e37d0be 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -69,6 +69,10 @@ extern int remote_supports_cond_tracepoints (void); large. (400 - 31)/2 == 184 */ #define MAX_AGENT_EXPR_LEN 184 +/* A hook used to notify the UI of tracepoint operations. */ + +void (*deprecated_trace_find_hook) (char *arg, int from_tty); +void (*deprecated_trace_start_stop_hook) (int start, int from_tty); extern void (*deprecated_readline_begin_hook) (char *, ...); extern char *(*deprecated_readline_hook) (char *); |