public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Remove two unused hooks
@ 2022-03-29 20:01 Tom Tromey
  2022-03-29 22:05 ` Patrick Monnerat
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2022-03-29 20:01 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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.
---
 gdb/tracepoint.c | 5 -----
 gdb/tracepoint.h | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index a347745164c..b45763ec02b 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 c57afc08e6f..4aa8c054190 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);
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pushed] Remove two unused hooks
  2022-03-29 20:01 [pushed] Remove two unused hooks Tom Tromey
@ 2022-03-29 22:05 ` Patrick Monnerat
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Monnerat @ 2022-03-29 22:05 UTC (permalink / raw)
  To: gdb-patches


On 3/29/22 22:01, Tom Tromey wrote:
> 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.

Hi Tom,

Thanks for taking care of Insight :-)

Patrick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-29 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 20:01 [pushed] Remove two unused hooks Tom Tromey
2022-03-29 22:05 ` Patrick Monnerat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).