2009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
authorTom Tromey <tromey@redhat.com>
Wed, 23 Dec 2009 23:21:29 +0000 (23:21 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 23 Dec 2009 23:21:29 +0000 (23:21 +0000)
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.

gdb/ChangeLog
gdb/tracepoint.c
gdb/tracepoint.h

index 67e63019e70ee63d2ad39882725950d595b22564..a76248189913a465ab755e16132e988b13879fad 100644 (file)
@@ -1,3 +1,11 @@
+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.
+
 2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * breakpoint.c (bpstat_stop_status): Iterate using ALL_BREAKPOINTS and
index 0d439efd3f81d13a3731586e366cc3902f8565eb..e37d0bec6499c6bfdcdbe8336dc6e98e02524637 100644 (file)
@@ -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 *);
index f43f736f30dde3a715f4185ccdd20f241d1bea62..8bdd1f7e7e0835ce37ea83160b8c396b3f0fd723 100644 (file)
@@ -39,8 +39,8 @@ extern unsigned long trace_running_p;
 
 /* 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_trace_find_hook) (char *arg, int from_tty);
+extern void (*deprecated_trace_start_stop_hook) (int start, int from_tty);
 
 int get_traceframe_number (void);
 void free_actions (struct breakpoint *);