Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PUSHED] gdb: remove declaration of deprecated_target_wait_hook
@ 2026-05-15 15:30 Andrew Burgess
  0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2026-05-15 15:30 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

Remove the declaration of deprecated_target_wait_hook; the actual
definition and usage were removed 4 years ago in:

  commit fb85cece22a2cb3c0185e61cfc1323e9c5a6466e
  Date:   Sat Mar 12 13:41:47 2022 +0100

    Replace deprecated_target_wait_hook by observers

There should be no user-visible changes after this commit.
---
 gdb/defs.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gdb/defs.h b/gdb/defs.h
index 90abf0d3432..ea3d31a2426 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -344,9 +344,6 @@ extern void (*deprecated_readline_begin_hook) (const char *, ...)
 extern char *(*deprecated_readline_hook) (const char *);
 extern void (*deprecated_readline_end_hook) (void);
 extern void (*deprecated_context_hook) (int);
-extern ptid_t (*deprecated_target_wait_hook) (ptid_t ptid,
-					      struct target_waitstatus *status,
-					      int options);
 
 extern void (*deprecated_attach_hook) (void);
 extern void (*deprecated_detach_hook) (void);

base-commit: efb3128ef000238c3a88b83495500f6f4e6e4095
-- 
2.25.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-15 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-15 15:30 [PUSHED] gdb: remove declaration of deprecated_target_wait_hook Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox