aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-03-14 17:00:37 -0600
committerTom Tromey <tom@tromey.com>2022-03-29 13:50:22 -0600
commitad8b9970d493c71d2c0085a13a57cbfc185dc087 (patch)
treeee145b9f5079d1d615b4a658f2c9d6dda4f4154d
parentebfc93611b641bae0ca3ecca2ba20c7d677968b9 (diff)
downloadgdb-ad8b9970d493c71d2c0085a13a57cbfc185dc087.zip
gdb-ad8b9970d493c71d2c0085a13a57cbfc185dc087.tar.gz
gdb-ad8b9970d493c71d2c0085a13a57cbfc185dc087.tar.bz2
Remove two unused hooks
I noticed that a couple of deprecated hooks aren't ever called, so they can't really be used by Insight. This patch removes them entirely. I checked the Insight sources, and these aren't mentioned there, either.
-rw-r--r--gdb/tracepoint.c5
-rw-r--r--gdb/tracepoint.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index a347745..b45763e 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -72,11 +72,6 @@
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);
-
/*
Tracepoint.c:
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h
index c57afc0..4aa8c05 100644
--- a/gdb/tracepoint.h
+++ b/gdb/tracepoint.h
@@ -314,11 +314,6 @@ extern void
parse_static_tracepoint_marker_definition (const char *line, const char **pp,
static_tracepoint_marker *marker);
-/* A hook used to notify the UI of tracepoint operations. */
-
-extern void (*deprecated_trace_find_hook) (char *arg, int from_tty);
-extern void (*deprecated_trace_start_stop_hook) (int start, int from_tty);
-
/* Returns the current traceframe number. */
extern int get_traceframe_number (void);